Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set up the software for controlling the HPN3301 electronic load?

Trying to use LabWindows/CVI to control a HP3301 Electronic Load. I'm using the 'agn330x' driver from the NI site and can get the instrument to intialize to the 'rtm' mode so I know I'm talking to it but I'm not sure what statements are needed to set it up and what to actually send it to set the load.

I just need to set it up as a voltage load of 49 volts to start and then 33 volts for a second part of the test.

I can go to the driver and get its setup windows, then setup the values in this window, then copy the bottom programming line to my test program but am not sure what values to actually enter to get it work. GPIB address is "4".

Can someone help me determine what is needed?

If you have an answer, can you also send me a reply to wagnertd249@yahoo.com since I may not be at my actually work area when a reply comes through.

0 Kudos
Message 1 of 2
(3,315 Views)

I have taken a look at these drivers, there is an example included with the drivers that I have attached below.

 

The examples first sets up the E-Load to operate in constant current mode, then sets the device in constant voltage mode.

 

For your application, you could use agn330xa_ConfigureVoltageLevel() to set your initial 49 volts, then call the same function again to change the voltage level to 33 volts. Alternatively, you could set up an external trigger and use agn330xa_ConfigureTriggeredVoltageLevel() to set the triggered voltage level to 33 volts. I also attached the help files that include more information about the driver functions.

 

Regards

 

PS: This is where I downloaded the drivers.

---

Peter Flores
Applications Engineer
Download All
0 Kudos
Message 2 of 2
(3,298 Views)