LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case Structure Voltage Initiation

I am trying to initiate a case structure that will read true when a 5 volt digital signal is recieved at  port. I have written the code correctly as far as I can tell, but when I run the vi, the vi does not pick up the signal. Am I missing anything? File Attached. 
0 Kudos
Message 1 of 6
(2,881 Views)
sub vi attachment
0 Kudos
Message 2 of 6
(2,877 Views)

Why did you start a new thread for an existing question. In the future, try to avoid that.

When you use the test panel in MAX, what do you read? Is the digital input static? If not, you'll need a while loop to keep reading the state.

0 Kudos
Message 3 of 6
(2,874 Views)
I started a new thread because I didn't get any answers back on the original thread(and on many other threads). I'm not sure what you mean by static. I am assuming that you mean the voltage would remain on and is not a single pulse. If that is the case then yes the voltage is static. It would remain on for the duriation of the test, and shut off when the test is complete. I also checked and made sure the voltage was being read in max properly.
0 Kudos
Message 4 of 6
(2,868 Views)

What you have to understand is the the majority of people responding to questions are not NI employees and questions get answered when we have time to do so and you have to show a little patience.

As far as your program, it looks correct but I can't verify it as I don't have any DAQ hardware right now. Try running the shipping example called Read Dig Chan. The task is set up a little differently than yours but you should be able to read the logic state of whatever's hooked up.

0 Kudos
Message 5 of 6
(2,866 Views)
Thanks Dennis.
0 Kudos
Message 6 of 6
(2,861 Views)