Re: How to Install GPIB driver NI-488.2 on Ubuntu 8.04

I then installed pyvisa, and when I tried to import it says:

"OSError: /usr/local/vxipnp/linux/bin/ cannot open shared object file: No such file or directory"

Unfortunately pyvisa depends on NI-VISA (which will provide that shared object file).  If you aren't already aware VISA is essentially a bus abstraction layer that allows you to communicate over a variety of buses using essentially the same API.  NI-VISA supports each of these buses with plugins called "passports".  NI-VISA does have a GPIB passport, but it depends on the NI-488.2 driver not the open source driver.

The good news is that you don't need to use VISA or pyvisa to use your device.  The open source driver provides a C API and provides a Python interface.  I haven't used the Python interface so it may not be quite as easy to use as pyvisa but at least you will be able to use your device.



Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos