1. Introduction

We have met several issues which related with power on/off operation. The failure rate is extremely low which is not efficiency for manual operation. So we would like to setup an automatic testing environment. The GPIB(General Purpose Interface Bus) is the way to control the instrument. This article shows how to control the Agilent E3631A (Triple Output DC Power Supply).

Python Libraries For Agilent 82357b On Mac Free

2. GPIB Interface

Here is the Agilent 82357A USB/GPIB Interface in our hand. Following link shows the detailed information.http://www.keysight.com/en/pd-1000004416%3Aepsg%3Apro-pn-82357A/usb-gpib-interface?cc=US&lc=eng

3. Pyvisa installation

Pyvisa is a Python package for support of the 'Virtual Instrument Software Architecture' (VISA), in order to control measurement devices and test equipment via GPIB, RS232, Ethernet or USB.To install the pyvisa by using pip:$ pip install pyvisa

Detailed information can be found in https://github.com/hgrecco/pyvisa

82357b

4. NI driver installation

Pyvisa has been tested with NI-VISA 3.2, which needs us to install its driver.Download and install NIVISA541full.exe from following link http://www.ni.com/download/ni-visa-5.4.1/4626/en/

Jan 28, 2014  Hi, I am trying to get our 82357B GPIB-USB adapter to work in a virtual machine. I am using VirtualBox 4.2.16 (with the expansion pack but the problems w/o it are the same) on a ubuntu 12.04 host (3.11 kernel). Hi, I have an Agilent GPIB / USB adapter 82357B, and I'm experiencing some problems for detecting my instruments in the laboratory when I try to use the labview software for capturing the data from the measurement instruments. I installed the CD with the libraries the adapter has and through this software I can detect the instruments, however once that I open the Labview software from National.

5. Agilent driver installation.

The GPIB interface is Agilent product, which needs its driver installed.Download and install the latest IOLibSuite_17_0_19013.exe from following link.http://www.keysight.com/main/software.jspx?ckey=1184883&lc=chi&cc=CN&nid=-34027.536881832&id=1184883

Agilent 82357b Driver

6. Using HP Agilent 82357A/82357B GPIB in NI

http://digital.ni.com/public.nsf/allkb/F7C187DBF09EBE1186256F550065BD32In order to use the NI VISA drivers and both the HP Agilent and NI GPIB devices, you will need to enable:

  • NIVISATulip.dll
  • NI 488.2 from within the Agilent libraries

Complete the steps in the following document to enable NIVISATulip.dll:KnowledgeBase 20KG1C7Z: Can I Use Both National Instruments (GPIB) and Agilent/HP (HPIB) Controllers in the Same System? (http://digital.ni.com/public.nsf/websearch/3B3626D9C1F999218625694200791AD7?OpenDocument) Posture assessment failed unable to download csd library mac catalina park.

Complete the following steps to enable NI 488.2 from within Agilent Connection Expert 15.x and 16.x:

  • Select Tools»Agilent 488 from the pulldown menu.
  • Select the Agilent 488 Options tab.
  • Check Enable Agilent GPIB cards for 488 programs.

7. Agilent E3631A spec download

Agilent 82357b Manual

Download spec from http://www.keysight.com/main/techSupport.jspx?cc=CN&lc=chi&nid=-35721.384004.08&pid=836433&pageMode=OV

Agilent Technologies 82357b Driver

Here is part of the command list:

8. Pyvisa tutorial

From pyvisa official website, we can find the tutorial https://pyvisa.readthedocs.org/en/master/tutorial.html.

Here is the example code to control E3631A output.