I wrote a calibration utility to ease the calibration process of the HDG2000. Not only the way it has to be done with the HDG UI is a real PITA but on top of that if you stop at one point, you have to start over from the beginning.
This tool has been developed with Excel 2010 VBA. That was an easy way of displaying and saving calibration data. It uses the VISA driver layer installed with Agilent Connection Expert that you can download for free (I am using v16.0). So you have to change the HDG USB driver with the one provided by Agilent.
The device used for “calibration” is a Rigol DS1104Z but I guess it could also work with other series. Both the HDG and the DSO must have the same IVI drivers.
The first step is to be able to see your HDG and your DSO with Agilent Connection Expert. You can even give them aliases which would be more convenient than VISA addresses:
When you open the Calibration tools in Excel, the first thing you want to do is to enter the HDG and DSO VISA aliases (or names) and test the connection. This will also return the number of calibration steps your HDG has (that depends on the model and the software version of your HDG):
Then if the connection is OK, you can launch for example a full calibration of a channel (You have to enter first the DSO channel you are connected to and of course the HDG channel you want to calibrate):
Then you may want to connect the second HDG channel and do the same...
You can also check the calibration of a channel:
If you want more precision for the DC values, you can also enter the 12 DC values manually (Sorry I don't have a SCPI compliant DMM so I did not make it automatic
). You enter the calibration step number you want to measure, activate it, measure the value with your DMM, enter the value in Excel.. and proceed with the next one.
When you are done with your values, you can launch a partial calibration using directly those values from Excel (Don't forget to update the yellow parameters before):
You can also complete automatically the calibration of the remaining AC values by launching a partial calibration:
And finally you can run a partial calibration check with the DSO for example:
You will find this informations in the VBA part but here are the SCPI calibration commands the HDG recognizes:
' =============================================================
' List of SCPI Calibration commands extracted from HDG Software
' =============================================================
' CALibration:SOURce -> CH1 or CH2 as parameter, no return
' CALibration:COUNt? -> Seems to return the last calibration step +1 i.e 92 for sw 1.00.3 with HDG2102C model
' CALibration:SETup -> Nr of calibration Step to activate as parameter, returns 0 for unknown Step, 1 for DC value, 2 for AC value
' CALibration:VALue -> Measured calibration value as parameter, no return
' CALibration? -> Validate the last value sent for calibration, return 0 (pass) or 1 (failed)
' CALibration:SETup? -> ? , no return
' CALibration:STORe -> Store calibration values to file, no return
' CALibration:MEASure? -> Returns Calibration Voltage and Frequency. Ex: "1.250000, 68000000.000000"
Another command which is usefull is "DISPlay:REFResh". The one they should have used in TTSource ... If you turn off the screensaver, you will be able to follow the output of the HDG during the calibration check process (Can't be used during the calibration process).
That's it. I hope it will work for you.
When I have a SCPI compliant bench DMM, I will add the automatic calibration from it for DC values.
Thank you for your feedback!