Controlling GPIB Devices

From Physiki
Jump to: navigation, search

If you're here, I'm assuming you're a senior design student from the future who needs access to the work we did.

This page briefly discusses how to use the ProLogix GPIB-USB controller [1].

Contents

Windows

I don't have a Windows computer, but Prologx recommends EZGPIB [2].

You might be able to get PyVISA working under Windows, too. See the Linux section. Good luck.

Linux

Python VISA

Most people will recommend you use Python VISA. A VISA driver allows you to send and receive commands from the GPIB device. PyVISA is a Python ad-on that lets you talk to the VISA driver directly through Python.

Here's the sourceforge page for the PyVISA project. There should be a link there to the PyVISA manual as well [3].

Allow me to direct you to the Mesoscopic wiki for advice [4].

You will also need National Instrument's VISA driver [5].

If you can get this to work, great!

Home brewed solution

We couldn't get PyVISA and the NI driver both installed on the same system. The solution ended up being to write our own program to talk to the card over USB. You can use this code if you'd like; it's licensed under the GNU GPL. Included is the license and the main body of code. Be advised that you will also need the libusb library for the code to work, but we aren't going to distribute it. You can probably find it here [6].

File:GPIB Over USB.zip

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox