12-11-2012 09:09 AM
IHey everyone,
I am trying to control a power supply( Agilent E3649A ) via LabVIEW via GPIB-USB. I have been able to download the drivers and control the voltage setting. However, I am trying to implement an alternating potential (i.e. 60 volts for 5 minutes, 30 volts for 2 mins, then 60 volts for 5 mins, and so on - essentially a square wave) over 1-3 hours. Anyone have suggestions? I am a new to labview and am running out of ideas.
Thanks,
Josh
12-11-2012 09:30 AM
However, I am trying to implement an alternating potential (i.e. 60 volts for 5 minutes, 30 volts for 2 mins, then 60 volts for 5 mins, and so on - essentially a square wave) over 1-3 hours.
That is your job. You need to write a LabVIEW program that can do this.
If you need training on LabVIEW, take some training. http://www.ni.com/academic/students/learnlabview/
12-11-2012 09:31 AM
state machines are very useful for tests like that. What kind of help are you looking for?
12-13-2012 12:26 PM
crossrulz - I am looking for a push in the right direction as far as writing the IV to do the job. I can control the output of the power supply but am not sure how to cycle the voltage between two values for a set period of time.
Any suggestions would be greatly appreciated.... thanks in advance!
12-14-2012 02:36 PM
12-16-2012 06:39 PM
As previously stated, I would use a state machine. Two states you will need are a Set Voltage and a Wait. Other states likely needed are Initialize and Close where you setup and shut down your instrument.