I am trying to execute an example program DigPulse.c using DAQmx/VisualC++. The hardware used is USB-6009. The following error appears:
DAQmx error: I/O type of the physical channels does not match the I/O tyep required for the virtual channel you are creating
Physical Channel Name: Dev1/ctr0
Virtual Channel Name: Dev1/ctr0
I/O Type Required for Virtual Channel : DAQmx_Val_CO
Task Name: _unnamedTask<0>
Status Code: -200430
Could someone please help me in resolving this problem?
Thanks,
ST