question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NI GPIB-ENET/1000 not detected from pyVISA, library missing

See original GitHub issue

Goodmorning, I’m trying to comunicate with a Kehytley 2410 trough a NI GPIB-ENET/1000 that I can correctly ping. I have also installed the NI-VISA. I have a centos7 Linux machine.

Output of pyvisa-info

/usr/local/lib/python3.6/site-packages/gpib_ctypes/gpib/gpib.py:54: UserWarning: GPIB library not found. Please manually load it using _load_lib(filename). All GPIB functions will raise OSError until the library is manually loaded. warnings.warn(message) Machine Details: Platform ID: Linux-3.10.0-1127.el7.x86_64-x86_64-with-centos-7.8.2003-Core Processor: x86_64

Python: Implementation: CPython Executable: /usr/bin/python3 Version: 3.6.8 Compiler: GCC 4.8.5 20150623 (Red Hat 4.8.5-39) Bits: 64bit Build: Apr 2 2020 13:34:55 (#default) Unicode: UCS4

PyVISA Version: 1.10.1 Backends: ni: Version: 1.10.1 (bundled with PyVISA) #1: /usr/lib/x86_64-linux-gnu/libvisa.so.19.2.0: found by: auto bitness: 64 Vendor: National Instruments Impl. Version: 19923456 Spec. Version: 5244928 py: Version: 0.4.0 ASRL INSTR: Please install PySerial (>=3.0) to use this resource type. No module named ‘serial’ USB INSTR: Please install PyUSB to use this resource type. No module named ‘usb’ USB RAW: Please install PyUSB to use this resource type. No module named ‘usb’ TCPIP INSTR: Available TCPIP SOCKET: Available `

As shown above I don’t have the GPIB library so I suppose it is why I can’t see any GPIB when i do: rm = pyvisa.ResourceManager() rm.list_resources() but I don’t understand how to solve it. I have already tried to re-install both NI-VISA and pyvisa. Thank you.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
MassimilianoAntonellocommented, May 25, 2020

It works now! Thank you so much

0reactions
MatthieuDartiailhcommented, May 25, 2020

Happy you got it to work !

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyVisa Binary Library Not Found - Stack Overflow
I am running from Git Bash with Windows 10 and using pip to install packages. I installed Ni-VISA from their website and the...
Read more >
Communicating with your instrument - PyVISA - Read the Docs
In some cases, PyVISA is not able to find the library for you resulting in an OSError . To fix it, find the...
Read more >
Agilent 34461A controlled with Labview
I have a Fluke Tis45 thermal imager that is not being recognized by NI MAX when connected via USB. The NI VISA driver...
Read more >
Python (PyVISA) "no module named 'visa' " - NI Community
So far I have installed Python 3.6.5, PyVISA 1.9.0 and NI-VISA 18.0, as well as the IDE ... DX Setup Parameters: Not found...
Read more >
Notes: VISA Layer Compatibility with PyVISA & Virtual Machines
For example, PyVISA-py does not yet support GPIB devices or HiSLIP. ... are National Instruments NI-VISA, Keysight I/O Libraries for Linux, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found