Function ConvertSignalFormat

TMSi Data Acquisition SDK

 
TMS International BV

ConvertSignalFormat

PSIGNAL_FORMAT ConvertSignalFormat (
IN HANDLE Handle,
IN PSIGNAL_FORMAT pSignalFormat,
IN unsigned int ChannelNumber,
IN OUT int *Size,
IN OUT int *Format,
IN OUT int *Type,
IN OUT int *SubType,
IN OUT float *UnitGain,
IN OUT float *UnitOffSet,
IN OUT int *UnitId,
IN OUT int *UnitExponent,
IN OUT char Name[SIGNAL_NAME] );

Parameters

Handle
   
Handle of the library.

pSignalFormat
    pointer to an existing array of SIGNAL_FORMAT structures, retrieved by a previous call to GetSignalFormat.

 ChannelNumber
    Number of the channel you want the information from.

Other parameters
    See SIGNAL_FORMAT for a description of the parameters

Return Value

If successful this function returns TRUE. If unsuccessful (i.e wrong Handle, null pSignalFormat pointer) this function returns FALSE.

Comments

This function was created to help LabView understand the SignalFormat structure.  See SIGNAL_FORMAT for a description of the returned structures. 

Also see

SIGNAL_FORMAT