Skip to content

Revert Keithley22XX and Keithley24XX to use :READ? for measuring stuff.

Karol Krizka requested to merge keithley-measure into devel

Use :READ? instead of :MEAS:CURR? / :MEAS:VOLT? for measuring current/voltage of the Keithley power supplies. This reverts to the behaviour before the transition to IPowerSupply.

The difference between the two, according to the 2410 manual, is that the :MEAS? also turns-on the power supply if not already on. This seems a bit dangerous.

Also add a Keithley24XX::isOn function that returns true if the Keithley is turned on. It is used to protect :READ? statements, which hang if the power supply is off.

Edited by Karol Krizka

Merge request reports