PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a channel for a PXI-6509

Solved!
Go to solution

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.

0 Kudos
Message 1 of 3
(3,550 Views)
Solution
Accepted by topic author schelgr

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

Matt Surridge

National Instruments
Message 2 of 3
(3,539 Views)

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.

0 Kudos
Message 3 of 3
(3,534 Views)