Up | AccessControl | Shutdown | Profile | Backup | Curves | Delay | LogMsg | Console | QAlarm | QAlarmReset | RefCmds | InitSaveImage | SaveImage | Script | Start | Statistics | Stop | WebBrowser

 

  

 
Delay
The Delay command stops Scorpion a given number of milliseconds.

Syntax:

Delay;value=<duration_ms>

Command response:

DelayResponse;<value=OK|Error;>Result=OK|Error;

Example:

Delay;value=100;    -  stops Scorpion for 100 ms

You can also substitute scale values with aliases or result :

Delay;value=ExScalar.Value  

Note:

Delay is only to be used fort short periods of time,  < 500 ms, since the command stops the whole program, not only the profile (mouse, IO, screen update, etc.) Delay can be useful in some cases, e.g. if a light is switched on by an io-signal and you want the light to stabilise before taking an image.

If a longer pause is needed, you should consider io-signalling used as sequence control.

 

 


Scorpion Vision Version XV  : Build 764 - Date: 20200529
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2020 Tordivel AS.