Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

"Buffered Pattern Output Vi", If I call DIO config and DIO write, how do I configure these so that they know to output to a single, specified line (ex., DIOAO) and how do I give to WRITE the appropriate array, each element of which is "1" or "O"?

In this example, the data are being written to ports. I want only to go to a single line(channel) such as DIOAO on the PCI-6534 board. The problem seems to be that DIO Config and DIO Write are set up to handle ports. I want to change this to individual lines. The array I want to pass WRITE is 19 elements long, each element a "1" or "0".
0 Kudos
Message 1 of 2
(3,470 Views)
Nate;

All VIs used to do pattern I/O on 653x boards handle ports only. If you need to change just one line of that port, you will need to keep the other bits of that port as 0s and just change the bit correspondent to that particular line you need to change.
Hope this helps.
Filipe Altoe
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,470 Views)