
4.5-4 Daq API Command Reference 908794 Programmer’s Manual
daqGetChannelType
Format
daqGetChannelType(handle, chan, option, pChSubType)
Purpose
daqGetChannelType gets the channel type and sub type of the specified channel of the current device
Parameter Summary
Parameter Type Description
handle DaqHandleT Handle to the device for which the channel type and sub type is to be
obtained
chan DWORD Specifies which channel
option BOOL Selects an option card or main unit if applicable
pChSubType DaqChannelSubType * Pointer to a value that will contain the channel sub type
Parameter Values
handle: obtained from the daqOpen function
channel: from 0 to the maximum number of channels available on the system
option: 0 for the main unit or non-zero for an option card
pChSubType: Pointer to a value that will contain the channel sub type or NULL if the channel sub type is not desired
(see DaqAdcExpSubType of the daqGetHardwareInfo function)
Returns
The channel type of the specified channel of the current device (see DaqAdcExpType of the daqGetHardwareInfo
function)
Function Usage
This function gets the channel type and sub type of the current device.
Prototypes
C/C++
daqGetChannelType(DaqHandleT handle, DWORD chan, BOOL option, DaqAdcExpSubType *pChSubType);
Visual BASIC
VBdaqGetChannelType&(ByVal handle&, ByVal chan&, ByVal bOption&, ChSubType&)
Program References
None
Comentários a estes Manuais