04-27-2011 01:15 AM
Hi,
Is there any fuction to get the total number of channel count configured for a particular task for PCI 6229?
For eg Task1 uses 5 digital input line. Is there any function to get the total number of lines configured for the Task1 when I pass the taskHandle of Task1.
Regards
NB
04-27-2011 01:45 AM
Hello Nagraj,
I think what you want to do is to use DAQmx Read property node Advanced -> Number of Channels. This property returns number of channels you have configured in your task.
I hope it will help 🙂
regards,
Martin
04-27-2011 02:03 AM
Hi Stefo,
I am using CVI for my application. I got the solution for my question.
int32 DAQmxGetTaskAttribute (TaskHandle taskHandle, int32 attribute, void *value, ...);
Using the above function we can obtain the task attributes.
Regards
NB