Skip to content

Keithley24xx needs to set protection before range

Noah Grayson Zisser requested to merge nz_hv into devel

We saw that after the HV PS (Keithley 24XX) gets power-cycled physically (by pressing the power button off then on), the first measurement will always be wrong (regardless of PB#) and the HV PS will display ERROR CODE +824.

According to https://forum.tek.com/viewtopic.php?t=70&__cf_chl_jschl_tk__=pmd_1cfab2c70059901e901b65826377d5dc30ee54ce-1628634738-0-gqNtZGzNAiKjcnBszQq6, this error is caused when the range is set to a value greater than the value appropriate for the compliance level. In the Keithley24XX.cpp class, when the protection/compliance is set, the range gets set before the compliance, causing the PS to error. A simple flipping of operation order solves this issue.

Edited by Noah Grayson Zisser

Merge request reports