LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you use boolean values to switch between cases?

Hi all,
I am constructing a VI is working as a maximum power point tracker.  So far I measure current and voltage, multiply them together and use a shift register to compare them to the next consecutive value.  In the meantime the program generates a voltage (onto a transistor) that modifies the resistance in the circuit.  So, if the second power value is higher than the first, i want the program to continue increasing (or decreasing) the voltage output.  If, on the other hand, it is lower, I want the signal generation to go in the opposite direction.    I have experimented with case structures but can't seem to get a "false value" to switch the signal generation.  Can anyone help me?  THANKS!!!
Alison
ps. I've attached what I have so far in case it will help.
0 Kudos
Message 1 of 2
(2,459 Views)
Duplicate post.
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 2 of 2
(2,438 Views)