C3DFile.GetFirstFrame

Previous  Next

 

nFrameRate = C3DFile.GetFirstFrame( BYVAL nFile AS INTEGER ) AS INTEGER

 


 

Returns the frame number of the first frame.  This is normally 1 but may be different if only a section of a recording is being saved.  This will ensure that the first frame has the correct time stamp.

 

Example:

 

PRINT "First Frame   : ";C3DFile.GetFirstFrame( nFile ),

PRINT "Time Offset   : ";C3DFile.GetFirstFrame( nFile )*(1/C3DFile.GetFrameRate( nFile ));" s",

PRINT "Frame Rate    : ";C3DFile.GetFrameRate( nFile );" Hz",

PRINT "Analog Rate   : ";C3DFile.GetAnalogRate( nFile );" Hz",