Interactive Technologies CueServer 2 User Manual page 268

Table of Contents

Advertisement

Interactive Technologies, Inc.
Using the Wait Stop command
To use the Wait Stop command, the id of the pending commands must be stored in a variable.
For instance, if the following command is executed on the command line:
Button 1 On; Wait 5; Button 2 On
Button 1 will turn on immediately, then 5 seconds later Button 2 will turn on. A more detailed look at what is
happening reveals that the first Button command executes immediately, then the Wait command executes.
When CueScript encounters a Wait command, the remainder of the command line is placed in a queue and
assigned an id. Then, CueScript stops processing commands, returning the id of the pending commands.
To cancel the queued commands, the Wait Stop command can be used. The Wait Stop command requires
the id of the queued commands to stop. In order to save this special id for use with the Wait Stop
command, the id can be placed in a variable. See the following example:
"myID" = (Button 1 On; Wait 5; Button 2 On)
The commands from the first example are placed in parenthesis. The parenthesis cause the enclosed
commands to execute as a single expression. The result of that expression is stored in the variable myID.
If after a short delay (for example, 3 seconds later) it is desired to cancel the execution of the "Button 2 On"
command that is in the queue to be executed, the following command can be executed:
Wait Stop 'myID'
Examples
Channel 1 At FL; Wait 5; At 0
Sets Channel 1 to FL, then waits 5 seconds, then sets Channel 1 to 0.
Cue 1 Go; Wait 2.5; Clear
Executes Cue 1, then waits 2.5 seconds, then clears the playback fader.
Wait Clear
Clears all currently waiting commands.
CueServer 2 User's Manual - 18.5.18
Page 266 of 429

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CueServer 2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Interactive Technologies CueServer 2

Table of Contents