Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

how to config the digital write-to-line so it would independent when more than one is being used

when one digital wirte-to-line is used in the labview vi, a good logic high(5v) can be read using a voltmeter,but when two or more digital write-to-lines are being using at the same time,the logic high seemed to have split voltages and thus having a bad logic high.how to make sure that in the labview program,that when many digital write-to-lines are used at the same time,all of them can abtain a good logic high (around 5v).

I need the solutions urgently.


grays
np
0 Kudos
Message 1 of 2
(3,757 Views)
Hello,

The probable reason you are seeing the behavior you are is due to a reconfiguration of the digital port. The Write to Digital Port VI is setup to configure the entire port, then write to one line (default settings). If you reconfigure the port it will reset all the lines, and then write your new value. You will want to use the iteration input on the Write to Digital Line so you can avoid the reconfiguration issue.

The first time the Write to Digital Line is executed in your code wire a 0 to the iteration (or leave it unwired). This will configure the port for write and write your first value. The next time you use the write to digital port VI wire an integer greater than 0. This will bypass the configuration step and simply write the new value to the
line. You can open the Write to Digital Line VI to see how the iteration input effects the execution and configuration of the digital ports.
0 Kudos
Message 2 of 2
(3,757 Views)