I have installed all the gpib driver from sourceforge.net and it works fine with the ibtest but when I use pyvisa library I have the following issue:
rm = pyvisa.ResourceManager()
print (rm.list_resources())
libgpib: invalid descriptor
libgpib: invalid descriptor
libgpib: invalid descriptor
('GPIB0::15::INSTR',) // BUT I CAN STILL READ the list_resources
pyvisa info gives:
Machine Details:
Platform ID: Linux-4.19.94-ti-r50-armv7l-with-debian-10.8 //beaglebone Black
Processor:
Python:
Implementation: CPython
Executable: /usr/bin/python3
Version: 3.7.3
Compiler: GCC 8.3.0
Bits: 32bit
Build: Jul 25 2020 13:03:44 (#default)
Unicode: UCS4
PyVISA Version: 1.11.3
Backends:
ivi:
Version: 1.11.3 (bundled with PyVISA)
Binary library: Not found
py:
Version: 0.5.1
ASRL INSTR: Available via PySerial (3.4)
USB INSTR: Available via PyUSB (1.0.2). Backend: libusb1
USB RAW: Available via PyUSB (1.0.2). Backend: libusb1
TCPIP INSTR: Available
TCPIP SOCKET: Available
GPIB INSTR: Available via Linux GPIB (b'4.3.4-rc2 r[1955]')
GPIB INTFC: Available via Linux GPIB (b'4.3.4-rc2 r[1955]')
sim:
Version: 0.4.0
Spec version: 1.1
Do you how I get rid of this issue?
Thanks for your help.
This looks harmless. It looks like it is just trying to use each of the
gpib device files in turn to see which ones have been configured with a
board. I suppose an improvement could be for linux gpib to provide
information about the board configurations via sysfs.