07-31-2010 06:11 AM
I need to switch OFF the output of the power supply through program. If it is Agilet E3631E, using instrument driver and I programmed it and it is working fine. For the automation, the Power supply output should OFF when the the current beyonds the set limit.
Solved! Go to Solution.
07-31-2010 06:37 AM
Hi giresh,
it would be better if you can upload the vi, pictures are not giving a clear idea about the sub VIs you have used.
regards,
Shanaka
07-31-2010 08:47 AM
07-31-2010 09:03 AM
You should not be doing this in software. Let me repeat. You should not be doing this in software. Let me repeat. You should not be doing this in software. You are talking about protecting something and you do not want to fry that in case there's excessive current draw. Use the driver VI that sets the overcurrent protection and enable it so that the power supply will automatically turn off the output in case of excessive current draw.
07-31-2010 09:37 AM
07-31-2010 12:27 PM
That power supply does have a current limiting capabililty. If the current is exceeded when operating in constant voltage mode then the power supply will switch to constant current mode and drop the voltage. You want to make sure this is enabled. The point here is that you want the power supply to automatically respond to an overcurrent condition since it will respond way faster than you could with software. In your code you would just monitor the voltage to see if there's a drop. Once a drop occurs then you can turn off the power supply's output.
07-31-2010 02:00 PM
How? that only i would like to know! voltage or current whatever?
but how it will switch OFF?
that idea only I need!!!!!!!!!!!
in Agilent E3631 doesn't have this support means, voltage will come down but it will take the full current. without any voltage the full current doesn't do anything, that i know.!
but it is better to control current flow. otherwise we can do onething to monitor the full current when it is taking that(VOLTAGE OR CURRENT) equal to THE OPUTPUT(one boolean) and switch it OFF. BUT I AM ASKING HOW TO SWITCH IT OFF. WHATEVER YOU CAN TAKE VOLTAGE OR CURRENT BUT THE POWER SUPPLY SHOULD OFF. HOW TO MAKE A PROGRAM FOR THIS?
i KNOW YOU HAVE AN IDEA,BUT PLEASE EXPLAIN WHAT IS IN YOUR MIND?
07-31-2010 04:57 PM
Don't SHOUT and refrain from the multiple !. Calm down and carefully read the answer again. ALL of the information you need is there. Look at the manual and the functions in the driver to see how to programatically turn off the supply. You already know how to turn it on to some voltage. Even if there is not an On/Off command, you can set it to 0 volts. Modifying the program to act on the voltage and current reading requires nothing more than a couple of In Range functions, an OR function, and an instrument Writr.
07-31-2010 08:46 PM
" (Ha ha ha..............
I am not angry. I am just asking only in a friendly mind. capital letters used for mentioning the exact need and the thoughts that all. I am really sorry that it hurt someone.)"
Sub:
If we write a program for Agilent for automatic ON/OFF, the feedback should be connected to the OUTPUT ON/OFF switch or command. Same switch or command is used for ON also.Then it will show as broken wires means wire: is a member of cycle. My actual problem was that only. It is not related to whatever we are monitoring means current or voltage drop. Normally nobody will monitor voltage drop because at the moment of voltage drop full current will pass through the circuit.it is better to monitor the current change. in some circuits maximum current flow for a mS time also very dangerous.
07-31-2010 08:58 PM
If you have a broken wire that says it is a part of a cycle, you basically have a LabVIEW syntax error. You can't feed a wire backwards to an earlier part of the dataflow. That is LabVIEW 101.
Post the latest version of yor VI so we can see what you are doing now and can suggest a correction.