python_keysight_automation

Expanding on the Keysight automation, there’s a few differences when interfacing with older HP gear. They tend to not have USB available and USB may not have even existed. This type of equipment tends to use GPIB (IEEE-488). Luckily, you can buy some USB to GPIB cables from Agilent/Keysight. You can tend to find these on eBay for about $75 USD.

usb-gpib-schnittstelle-82357b

The biggest impact this will have will be how you initialize the device. You can discover the address the same way with the newer USB instruments with Keysight Connection Expert or the Keysight Command Expert programs. For this device, it’ll have the GPIB address below.

34401A_Connection_Expert

Acquiring and Plotting

For this example we’ll collect data for five seconds, save it to a CSV, and then plot the data. Doing some basic timing tests it looks like we have an acquisition rate of about 10 samples/sec when you account for the overhead of talking over GPIB, printing the results in the prompt, and saving the data to a CSV.

This results in the plot below while slowing adjusting a power supply attached to the meter.

201015190313_figure

One thought on “Automating the HP 34401A

Leave a Reply

Your email address will not be published. Required fields are marked *