C3DFile.GetAnalogNo

Previous  Next

 

nChanNo = C3DFile.GetAnalogNo( BYVAL nFile       AS INTEGER,

                               BYVAL strChanName AS STRING ) AS INTEGER

 


 

Returns the number (index) of the specified Analog Channel Name.  The number is always 1 based.  First channel number always starts on 1.

 

Example:

 

' Rename Analog Channel "CHAN1" to "Right Shoulder EMG"

 

DIM nChanNo AS INTEGER

 

nChanNo = C3DFile.GetAnalogNo( nFile, "CHAN1" )

C3DFile.SetAnalogName( nFile, nChanNo, "Right Shoulder EMG" )