Commanding instruments via VXI-11 using Python

One option we suggest is to use Alex’s VXI-11 driver for instrument control from GitHub

https://github.com/python-ivi/python-vxi11

 

The vxi11 instrument folder needs to go into the python install location. 

Typically its C:\Users\username\AppData\Local\Programs\Python\Python36

 

To install the vxi11 folder needs to be extracted to above location, doesn’t require any of the other files within the ZIP.

 

Example code:

 

#Checks Connection/gets instrument info

import vxi11

instr =  vxi11.Instrument("192.168.0.1")

print(instr.ask("*IDN?"))

# returns 'Yokogawa, Instrument Model, Serial Number, Firmware Version'

Precision Making

Top