PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring PXI-6509 DIO Card output pin state

There are two PXI-6509 DIO card in our PXI system to control lots or relays, it is very difficult to know which one is on or off during debug. I'm think to build a tool to monitor all those pin output states, in this way we can know which relay is on or off and can easily find the mistakes in our code. But I get problem, because all the pins are output, I can't

change it to input to read the pin state.  Is someone get good idea to monitor the output pin state?

0 Kudos
Message 1 of 2
(2,874 Views)

Hi Samuel,

 

It's no problem at all.  Even though all of the channels on your PXI-6509 are used as outputs, you can still read the value of the lines in the task by just placing a DAQmx Read VI on your block diagram wherever you want to read the status of the digital lines. This will only read the value of the digital lines, without changing what is written to them.  This is assuming that you are using LabVIEW.

 

Regards,

Wallace F.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,863 Views)