C3DFile.Create |
![]() ![]() |
nFile = C3DFile.Create( BYVAL strFileName AS STRING, BYVAL strDescription AS STRING, BYVAL strUnits AS STRING, BYVAL nFrames AS INTEGER, BYVAL nPoints AS INTEGER, BYVAL nFreq AS INTEGER, [BYVAL nAdChan AS INTEGER=0], [BYVAL nAdFreq AS INTEGER=0], [BYVAL nFirstFrame AS INTEGER=1] ) AS INTEGER
Create a new C3D file with specified properties. You can append " /Z" To initialize memory used to zero.
Example:
DIM nFile AS INTEGER
' Create file with 10 frames, 3 points, 100 Hz, 2 AD channels at 200 Hz
nFile = C3DFile.Create( "e:\123.c3d", "Kalle Ankas File", "bits", 10, 3, 100, 2, 200 )
IF nFile <> 0 THEN . . . ENDIF
|