11-02-2008 08:36 PM
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?
11-03-2008 02:09 PM
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.