Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to digital lines without setting the others

I have a 96 pin digital IO card(PXI6508) which I use to read and write from. I have read about the problem of using the easy VI to config and write to the lines. I am facing similar problems too. From the search articles there were numerous suggestions to use the Advanced Digital I/O. Isn't there a simpler way to read/write from each line without resetting the other lines. I mean other than we writing our own VI which uses the DIO_Port_Config and DIO_Port_Write. Pls help make life easier.

Rgds
Kumar
0 Kudos
Message 1 of 2
(3,230 Views)
I've always found that a single DIO Port Config at the beginning of the program and just using DIO Port Write with a line mask works great. That doesn't reset the port later on and I have the flexibility to write to more than one line. If you want something as simple as Write to Digital Line where you just specify the line state and a single line, DIO Port Write can be easily modified by eliminating the DIP Port Config and the while loop as shown in the attached picture.
0 Kudos
Message 2 of 2
(3,225 Views)