08-05-2010 10:42 PM
Beg your pardon for what?
Please put some effort in your posts. Ask a question. We can't read your mind.
08-06-2010 09:00 AM
08-06-2010 09:32 PM
08-07-2010 01:51 PM
08-07-2010 09:47 PM
Hello
Dennis
Block diagram Posted
08-07-2010 10:16 PM
That then becomes part of your design document and you can write your code.
08-09-2010 11:53 AM
It should be a simple matter to write this code. Very straight forward up to and including the Measure the Voltage & Current block. Then you start a loop, as indicated by an arrow coming in from blocks below (from the No block on the right). In the loop, you perform actions, then decide the next step depending upon the outcome of the action. This will require a case structure. Since there are several flow directions, a state machine would be best here. Perform the I(PS1)=2A step. Depending upon the outcome, the next state could be I(PS2)=2A, or Switch Off, or Check if over. Continue until the Check if work is over is a Yes. Then exit the loop.
When comparing the current, don't use the equal function. Rounding off errors for floating point types will almost never result in an exact equal. Use the In Range & Coerce function, and set upper and lower limits.
You need to learn how to code in Labview, and the best way is to do it yourself. Then come to us when you run into problems.