|
![]() ![]() ![]() |
|
Sequence
|
|
An integer between 1 and 116 specifying the number of the sequence. Values in the range of 100-116 correspond to hidden sequences.
|
|
Mode
|
|
An enumerated integer specifying the mode of the playback
|
|
SQ_STOP=0 - stops the playback of the sequence.
|
|
SQ_PLAY=1 - plays the sequence forward by automatically displaying consecutive frames.
|
|
SQ_PLAYBK=2 - plays the sequence backward
|
|
SQ_STEP=3 - Steps the sequence to the next frame. If the beginning of the sequence is
|
reached, the stepping will wrap around.
|
|
SQ_STEPBK=4 - Steps the sequence to the previous frame. If the beginning of the sequence
|
is reached, the stepping will wrap around.
|
|
Default value: SQ_PLAY
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements grabs a sequence from the video device and plays it with a two seconds interval between the frames:
|
|
grabSeq(1,64,50)
|
do
|
seqPlay(1,SQ_STOP)
|
wait(1000)
|
seqPlay(1,SQ_PLAY)
|
beep
|
wait(2000)
|
loop
|