|
Size: 899
Comment:
|
Size: 1482
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 9: | Line 9: |
| 82357B can be used from Linux using the linux-gpib driver. This section will explain how to install the driver and use it from python and other languages. === Installation === ==== What you need ==== Linux kernel source (2.6.8 or above) python, python-dev fxload (from linux-hotplug project) lsusb (usbutils package) Depending on your distribution, you may have to mount usbfs to /proc/bus/usb. (In Fedora, it is automatically mounted) If needed, you may want to add the following line to /etc/fstab {{{ usbfs /proc/bus/usb usbfs defaults 0 0 }}} |
GPIB issues
This page will cover GPIB issues in the 40m lab. Test equipment with a GPIB interface (such as the SR785) may be scripted from a computer.
GPIB hardware we have
[http://www.home.agilent.com/USeng/nav/-536900528.426029/pd.html Agilent Technologies 82357B USB/GPIB Interface]
Using Agilent 82357B USB-GPIB interface from Linux
82357B can be used from Linux using the linux-gpib driver. This section will explain how to install the driver and use it from python and other languages.
Installation
What you need
Linux kernel source (2.6.8 or above) python, python-dev fxload (from linux-hotplug project) lsusb (usbutils package)
Depending on your distribution, you may have to mount usbfs to /proc/bus/usb. (In Fedora, it is automatically mounted) If needed, you may want to add the following line to /etc/fstab usbfs /proc/bus/usb usbfs defaults 0 0
Alternative way (GPIB scripting in Python)
Software needed:
[http://www.ni.com/visa/ National Instruments VISA driver] (?)
[http://sourceforge.net/projects/pyvisa/ Python GPIB library] ([http://superb-west.dl.sourceforge.net/sourceforge/pyvisa/PyVISA-1.1.linux-i686.tar.gz PyVISA-1.1.linux-i686.tar.gz])
[http://matplotlib.sourceforge.net/ Python MatPlotLib] ([http://superb-west.dl.sourceforge.net/sourceforge/matplotlib/matplotlib-0.90.0.tar.gz matplotlib-0.90.0.tar.gz])
- attachment:scripts.tar.gz
