Has anybody got a Python calibration script for the DP832 (F/W 01.14) in combination with a DM3068 (F/W 01.10) that really works? I experimented with what I found here in this thread (I really appreciate what the contributors provided here even though it won't work for me) and I found out that my DM3068 won't reply to the "uptime:" inquiry so I simply commented the corresponding lines out . Moreover, my DM3068 requires more time for the self test than the timeout setting in LxiInstr.py, so I increased the setting to 25 seconds which did the trick.
Now the voltage calibration tests (Ch1 of the DP832 so far only) appear to be running okay, yet when I'm supposed to change the wiring for current measurement and confirm this, the calibration procedure terminates with the following message:
.
.
* DM3068 <<< '[30.0002061]'
* DP832 >>> 'CALibration:MEAS CH1,V,9,30.0002V,0'
* DP832 >>> 'SYST:ERR?'
* DP832 <<< '0,"No error"'
ADC-V 9 : Point: +30V - DMM: +30.000206V - Err:0.000687%
* DP832 >>> 'CALibration:Set CH1,V,10,32V,0'
* DP832 >>> 'SYST:ERR?'
* DP832 <<< '0,"No error"'
* DM3068 >>> 'READ?'
* DM3068 <<< '[32.0024431]'
* DP832 >>> 'CALibration:MEAS CH1,V,10,32.0024V,0'
* DP832 >>> 'SYST:ERR?'
* DP832 <<< '0,"No error"'
ADC-V 10 : Point: +32V - DMM: +32.002443V - Err:0.00763469%
* DP832 >>> 'OUTPUT CH1,OFF'
* DP832 >>> 'SYST:ERR?'
* DP832 <<< '0,"No error"'
Connect the DM3068 10A CURRENT inputs to DP832 channel 1
Press enter to continue
* DM3068 >>> 'CONF:CURR:DC 10A'
* DM3068 >>> 'SYST:ERR?'
* DM3068 <<< '0,"No error"'
* DM3068 >>> 'VOLT:DC:NPLC 100'
* DM3068 >>> 'SYST:ERR?'
* DM3068 <<< '0,"No error"'
* DP832 >>> 'OUTPUT CH1,ON'
* DP832 >>> 'SYST:ERR?'
* DP832 <<< '0,"No error"'
Shutting off PSU outputs
* DP832 >>> 'OUTPUT CH1,OFF'
* DP832 >>> 'OUTPUT CH2,OFF'
* DP832 >>> 'OUTPUT CH3,OFF'
ERROR: global name 'calib_single' is not defined
Calibration failed. Terminating.
d:\Incoming\Drivers\Rigol\DP800\DP832_Cal>
Since I'm really not into (Python...) programming, has anybody got the calibration running with a similar configuration or could point me to the right direction so I can get it to run through all modes / channels without errors?
Thanks,
Thomas