LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Nested conditionnals

Hello,

I come here because I have an issue but this time I can't find a solution, here is my situation.
I have an NI USB 6008 to command a basic electrical system : I acquire a voltage and I want to generate a digital command when the voltage varies.
I have two steps : step1 and step2 with step1 < step 2. The command recharges a battery.
At the beginning, the command is FALSE and the voltage decreases.
I want that when voltage < step 1, the command will be TRUE and the voltage will increase until step 2.
When voltage > step 2, I want that the command be FALSE.
This things involve nested conditions and my solution do not work.
Do you know any solution for this kind of problem ?

Thank you very much.

0 Kudos
Message 1 of 2
(2,039 Views)

Post what you have done so far so we can identify where your problem is and how to fix it.

 

NOTE: When posting code it is generally a good idea to post in in an older version such as 2010. Not everyone is running the latest version of LabVIEW.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 2
(2,004 Views)