12-22-2009 11:28 AM
I'm trying to find a method in LabVIEW to verify that a DAQmx Task contains a particular type of task. For this particular application, I want to verify that a DAQmx Task is a Digital (Line) Output before executing it.
Regulating the IO Filtering of a DAQmx control is an option for me, but this code will be used by other programers and I would like to add this extra check w/ error handling in the event that the Task to does verify to be of the correct type.
Thank you for your input.
-Nic
Solved! Go to Solution.
12-22-2009 11:45 AM - edited 12-22-2009 11:49 AM
You could use the DAQmx Channel Property Node and read the ChanType property. If it's the Digital Out of a line, Digital Output
12-22-2009 11:46 AM - edited 12-22-2009 11:49 AM
Use the Channel Property-> Channel Type property node and it will tell you what type of task it is.
Cheers, Matt
12-22-2009 11:50 AM