LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wait for a digital input to be on before running

How do you receive a on or off  digital input.  I do not know how to make a digital input into boolean so that it only runs the program when the input is ON.

Cheers,
Matt

0 Kudos
Message 1 of 3
(2,557 Views)
Here's a slightly modified version of the shipping example called Read Dig Chan. Instead of returning a Boolean array of the status of all lines in a port, it returns a Boolean of a single line.
0 Kudos
Message 2 of 3
(2,554 Views)
But your program will always be running, if nothing else, polling to see if the Digital line is high.  Maybe this was your intention from the beginning, but it is not clear, at least to me.

Paul
0 Kudos
Message 3 of 3
(2,549 Views)