LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Relay switch

Solved!
Go to solution
DUT is monitoring. Power is given through relay. System checking the current it is taking, at that time relay is on. If current increases to a certain level relay should off. And at the same time when the program stopped relay also change its state from no to off. Can I use a conditional loop?
"Thanks with regards "
by
..........Gireesh..........
0 Kudos
Message 1 of 7
(3,558 Views)

If you have a conditional loop on your palette, use it. No one else has such an object so we can't help you.

 

Use full sentences and explain with some detail on what exact problem you are having with your program. Attach your program.

Message 2 of 7
(3,542 Views)
Solution
Accepted by topic author gireesh

Your explanation is a bit rough.  But I'll try to help:

 

Use a While Loop with a stop button.  Inside the loop put your current monitoring code.  Compare the current to some limit using Greater Than function.  Wire the boolean output to a case structure.  If True, put code to turn the relay off.  If False, do nothing.  After the loop, put code to turn the relay off.  But you must have a wire coming from the while loop to the code to turn the relay off.  You can wire the stop button out of the loop to a flat sequence structure, and put the code to turn off the relay inside the sequence.

- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 7
(3,518 Views)
Hello Tbob, You done a great job. Dennis, your way of approaching should change. Your job is to help others. So please commenting like this. May be mistake is mine.
"Thanks with regards "
by
..........Gireesh..........
0 Kudos
Message 4 of 7
(3,502 Views)

My "job" has nothing to do with answering questios here. I am. like most members, a volunteer here and I think it is the responsibility of posters to provide clear and concise descriptions of the problem they are having just as it the responsibility of those giving an answer to be clear and precise. The majority of us are and scientists and engineers and that comes with the job description. There should be little need for guessing or repeatedly asking for more details or images of or the actual code.

Message 5 of 7
(3,491 Views)

As Dennis says, our "job" has nothing to do with these forums and we all volunteer our time.

 

Your "job" as a poster is to make sure we don't waste time trying to solve badly-worded problems.  It's called common courtesy.

 

Shane.

0 Kudos
Message 6 of 7
(3,477 Views)

Gireesh:

 

I'm glad I was able to help.  But please don't criticize anyone here.    Its not Dennis's fault that you did not give an accurate description of your problem.  I just happend to guess and got lucky.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 7 of 7
(3,454 Views)