LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

power supply ON/OFF

Solved!
Go to solution

Beg your pardon for what?

 

Please put some effort in your posts.  Ask a question.  We can't read your mind.

0 Kudos
Message 51 of 57
(1,860 Views)
Begging was before your thread. Today I can send the flowchart.
"Thanks with regards "
by
..........Gireesh..........
0 Kudos
Message 52 of 57
(1,849 Views)

20879i3787CE1F882C652E

 

"Thanks with regards "
by
..........Gireesh..........
0 Kudos
Message 53 of 57
(1,826 Views)

20911i2780D9921DBF4614

 

"Thanks with regards "
by
..........Gireesh..........
0 Kudos
Message 54 of 57
(1,814 Views)

Hello

 Dennis

 

Block diagram Posted

 

"Thanks with regards "
by
..........Gireesh..........
0 Kudos
Message 55 of 57
(1,799 Views)

That then becomes part of your design document and you can write your code.

Message 56 of 57
(1,794 Views)

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.

- tbob

Inventor of the WORM Global
Message 57 of 57
(1,766 Views)