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.
|