The exception occurs at some time after the start command (few secs):
2022-05-09T09:50:20::diode_measurement.measurement::ERROR::K2470: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
Traceback (most recent call last):
File "diode_measurement\resource.py", line 56, in read
File "pyvisa\resources\messagebased.py", line 486, in read
File "pyvisa\resources\messagebased.py", line 442, in _read_raw
File "pyvisa_py\highlevel.py", line 519, in read
File "pyvisa\highlevel.py", line 251, in handle_return_value
pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "diode_measurement\driver\driver.py", line 12, in handle_exception
File "diode_measurement\driver\k2470.py", line 76, in _query
File "diode_measurement\resource.py", line 43, in query
File "diode_measurement\resource.py", line 60, in read
diode_measurement.resource.ResourceError: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "diode_measurement\measurement__init__.py", line 110, in run
File "diode_measurement\measurement__init__.py", line 328, in measure
File "diode_measurement\measurement\iv.py", line 54, in acquireReading
File "diode_measurement\measurement\iv.py", line 34, in acquireReadingData
File "diode_measurement\driver\k2470.py", line 64, in read_current
File "diode_measurement\driver\driver.py", line 14, in handle_exception
diode_measurement.driver.driver.DriverError: K2470: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
2022-05-09T09:50:24::diode_measurement.measurement::ERROR::K2470: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
Traceback (most recent call last):
File "diode_measurement\resource.py", line 56, in read
File "pyvisa\resources\messagebased.py", line 486, in read
File "pyvisa\resources\messagebased.py", line 442, in _read_raw
File "pyvisa_py\highlevel.py", line 519, in read
File "pyvisa\highlevel.py", line 251, in handle_return_value
pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "diode_measurement\driver\driver.py", line 12, in handle_exception
File "diode_measurement\driver\k2470.py", line 76, in _query
File "diode_measurement\resource.py", line 43, in query
File "diode_measurement\resource.py", line 60, in read
diode_measurement.resource.ResourceError: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "diode_measurement\measurement__init.py", line 118, in run
File "diode_measurement\measurement__init__.py", line 365, in finalize
File "diode_measurement\measurement\init__.py", line 354, in read_source_voltage
File "diode_measurement\driver\k2470.py", line 67, in read_voltage
File "diode_measurement\driver\driver.py", line 14, in handle_exception
diode_measurement.driver.driver.DriverError: K2470: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
Setup:
python -m comet.emulator.keithley.k2410 -p 11002
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "diode_measurement\driver\driver.py", line 12, in handle_exception File "diode_measurement\driver\k2470.py", line 76, in _query File "diode_measurement\resource.py", line 43, in query File "diode_measurement\resource.py", line 60, in read diode_measurement.resource.ResourceError: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "diode_measurement\measurement__init__.py", line 110, in run File "diode_measurement\measurement__init__.py", line 328, in measure File "diode_measurement\measurement\iv.py", line 54, in acquireReading File "diode_measurement\measurement\iv.py", line 34, in acquireReadingData File "diode_measurement\driver\k2470.py", line 64, in read_current File "diode_measurement\driver\driver.py", line 14, in handle_exception diode_measurement.driver.driver.DriverError: K2470: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed. 2022-05-09T09:50:24::diode_measurement.measurement::ERROR::K2470: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed. Traceback (most recent call last): File "diode_measurement\resource.py", line 56, in read File "pyvisa\resources\messagebased.py", line 486, in read File "pyvisa\resources\messagebased.py", line 442, in _read_raw File "pyvisa_py\highlevel.py", line 519, in read File "pyvisa\highlevel.py", line 251, in handle_return_value pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "diode_measurement\driver\driver.py", line 12, in handle_exception File "diode_measurement\driver\k2470.py", line 76, in _query File "diode_measurement\resource.py", line 43, in query File "diode_measurement\resource.py", line 60, in read diode_measurement.resource.ResourceError: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "diode_measurement\measurement__init.py", line 118, in run File "diode_measurement\measurement__init__.py", line 365, in finalize File "diode_measurement\measurement\init__.py", line 354, in read_source_voltage File "diode_measurement\driver\k2470.py", line 67, in read_voltage File "diode_measurement\driver\driver.py", line 14, in handle_exception diode_measurement.driver.driver.DriverError: K2470: TCPIP0::localhost::11002::SOCKET: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.