06-24-2011 04:58 PM
Hi. I have some experience with Labview but I am struggling with structures and feedback. I have an instrument that sets a load voltage and measures power. This will be connected to a solar cell which has a peak power point (see the plot in the picture). I need a simple program that will make the instrument oscillate around the peak power point. It needs to set the voltage, measure power, add an increment to the voltage, measure power, then either add or subtract voltage depending on whether the power has increased or decreased from the previous measurement. I have attached a diagram. V start and delta V will be given and fixed. I just don't know how to implement it with Labview code. Thank you for any help!
Solved! Go to Solution.
06-24-2011 05:26 PM
It's nice to see you put pen to paper before you started coding. The description you gave screams to me State Machine. This structure should suit your needs. There are ton's of examples but I would start with a simple one.
Try to code one up and post questions when you get stuck.
Hope this helps.
06-24-2011 06:11 PM
Hello
here a simulated loop of a simple peak search
it use shift register to memorize previous data
th time delay free the processor and also simulate the communication transfert with instrument
regards
Tinnitus
06-27-2011 11:30 AM
thank you very much, both of you