LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with continuous output voltage.

I have a relay that goes on and off depending on a case. This relay goes on when the condition is true and let the signal go to the output which sends 5 volts to my voltmeter. However, when the condition is false the relay sends a zero signal to the output which I want to send a 0volts signal to my voltmeter.
The problem is that the output is sending the 5 volts when the case is true or false. It doesn’t stop sending this voltage out.
What can I do to solve this?
0 Kudos
Message 1 of 3
(2,593 Views)
Try this:

Right-click on your comparison operator and select "Comparison mode...Compare aggregates".

You will get a single boolean output as expected by the downstream nodes (case structure and relay).
0 Kudos
Message 2 of 3
(2,582 Views)
Hi gplaza:

I believe the problem is that when you send a false to the case structure you are also sending a false to the enable input of the Relay Express VI. Try instead to wire a true constant to this Enable input.

Let me know how it goes.

Emilie S.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(2,557 Views)