07-27-2011 05:59 PM
I am working on a program to control the PXI-6509. The one area that I am having problems with is creating the channel by calling the function DAQmxCreateDOChan. I get no errors when first calling DAQmxCreateTask, but get an error when trying to create the channel. How exactly do you create the name for the channel? In MAX, I named the device "DIO", not sure if that matters. Any help would be greatly appreciated.
Solved! Go to Solution.
07-28-2011 11:32 AM
Hi schelgr,
Have you had a look at the DAQmx examples in the example finder found in the help > find examples. In the Hardware Input and Output > DAQmx there is many examples that should be able to help you with this query.
Regards
07-28-2011 12:44 PM
Thank you for the reply. I did find out that I needed to create the tasks within MAX. Once I did that, then I was able to create the channel as shown in the examples.