_clear_cache in Keithley controller init defeats cache principle
Initial issue: #3545 (closed)
Recent change makes _clear_cache
to be called from __init__
, causing trouble because initialization can done
several times (if cache is clear => device gets re-initialized on reading for example) or in case of Keithleys
shared in multiple sessions, depending on when the constructor is called it can trigger a re-init in the
other session and read values can be incorrect (because Keithley settings are reset in this case).
Edited by Matias Guijarro