v1.3.1
Added:
- Keyword argument and attribute
raise_keithley_errors
: IfTrue
, the Keithley's error queue will be checked after each command and any Keithley errors will be raised as Python errors. This causes significant communication overhead but facilitates the debugging of faulty scripts since an invalid command will raise an error with a descriptive message instead of failing silently.
Fixed:
-
Thread safety of communications with Keithley.
Keithley2600Base
now uses its own lock instead of relying on PyVisa's thread safety. See pyvisa issue 262:By the way the thread safety simply means that VISA won't crash for order from different threads but there is no lock preventing out of order operations on a single resource. For that you need to use a lock manually.