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.