-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed. #391
Comments
Im tried to connect with the PSU E3634A but not receive any answer root@PCBINT:/usr/local/lib/python2.7/dist-packages# sudo python
|
First off, you’re using a very old version of pyvisa on an old and unsupported version of python. Next, have you checked if the instrument shows up when you list instruments? You’re running from root so device permissions shouldn’t be a problem. |
Yes, this is the list_resource
|
I’d suggest switching to a modern version of python & pyvisa, and trying again with |
Gimme some minutes to install python3 and add the pkgs |
Now i tried with python3
root@PCBINT:/usr# pyvisa-info Python: PyVISA Version: 1.13.0 Backends: root@PCBINT:/usr# |
First, I suggest you confirm the serial configuration you use (baud rate, parity and data bits) from the manual the defaults should match pyvisa defaults but it is better to check. Second, the manual state on page 131:
Does sending this command first or manually setting the device in remote mode helps ? |
I already config the PSU to use in remote mode https://www.keysight.com/us/en/assets/9018-01164/user-manuals/9018-01164.pdf?success=true |
Instrument details
Output of
pyvisa-info
root@PCBINT:/usr/local/lib/python2.7/dist-packages# pyvisa-info
Machine Details:
Platform ID: Linux-5.15.0-79-generic-x86_64-with-Ubuntu-20.04-focal
Processor: x86_64
Python:
Implementation: CPython
Executable: /usr/bin/python2
Version: 2.7.18
Compiler: GCC 9.4.0
Bits: 64bit
Build: Jul 1 2022 12:27:04 (#default)
Unicode: UCS4
PyVISA Version: 1.10.1
Backends:
ni:
Version: 1.10.1 (bundled with PyVISA)
Binary library: Not found
py:
Version: 0.4.1
ASRL INSTR: Available via PySerial (3.5)
TCPIP INSTR: Available
USB RAW:
Please install PyUSB to use this resource type.
No module named usb
USB INSTR:
Please install PyUSB to use this resource type.
No module named usb
GPIB INSTR:
Please install linux-gpib (Linux) or gpib-ctypes (Windows, Linux) to use this resource type. Note that installing gpib-ctypes will give you access to a broader range of funcionality.
No module named gpib
TCPIP SOCKET: Available
The text was updated successfully, but these errors were encountered: