NI GPIB-ENET/1000 not detected from pyVISA, library missing
See original GitHub issueGoodmorning, 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:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
It works now! Thank you so much
Happy you got it to work !