04-19-2006 09:13 AM
04-20-2006 12:50 PM
Try using DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data)DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data). This will return one of the following types:
DAQmx_Val_AI | 10100 | Analog input channel. |
DAQmx_Val_AO | 10102 | Analog output channel. |
DAQmx_Val_DI | 10151 | Digital input channel. |
DAQmx_Val_DO | 10153 | Digital output channel. |
DAQmx_Val_CI | 10131 | Counter input channel. |
DAQmx_Val_CO | 10132 | Counter output channel. |
Let me know if this works.
Regards,
L. Allen
04-21-2006 08:15 AM
Thanks L. Allen.
That was exactly what I was looking for. In my searches of the DAQmx help file I completely missed that one.
I appreciate your help.
MFrazer