getFrameDelay  
Top  Previous  Next

val = getFrameDelay ( integer Sequence, integer Frame )

Use this function to retrieve an interval between the frames in a sequence.

Parameters
 
Sequence  
 
An integer between 1 and 116 specifying the number of the sequence. Values in the range of 100-116 correspond to hidden sequences.  
 
Frame  
 
An optional positive integer specifying the number of the frame for which the delay will be returned.  
 
Return value

The interval between the specified frame and the next frame in the sequence, in millisecond.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

This set of statements grabs a sequence from the video device at a rate of 200 ms and then changes it to 20 ms.  
 
grabSeq(1, 20, 200)  
wait (500)  
setFrameDelay(1, 20)