Hello,
I spent some time to try to understand the calibration process for that device and I made some progress. It appears that the device uses 16 different types of calibration, some containing factors for multiple frequencies (slot 14). It is possible not all of them are in use though.
The commands are:
:SOURce<n>:CAL:SETVALUE:[cal_slot]:[P2]:[P3]:[P4]
:SOURce<n>:CAL:MEASVALUE:[cal_slot]:[P2]:[P3]:[P4]:SOURce<n>:CAL:STORE:[cal_slot/"FILE"]:[P2]If a cal_slot is provided, P2="DEF"/"ALL"/"NO_ALL"/"SAVE"
If "FILE" is provided P2="CDV"/"CDF"
:SOURce<n>:CAL:RECALL:[P1]P1="ALL"/"NO_CAL"/cal_slot
Note: NO_CAL option is equivalent to calling :SOURce<n>:CAL:STORE with NO_ALL option (which clears calibration data)
:SOURce<n>:CAL:HIGH:[P1]P1 is optional and can be set to "HIFCHECK". This command does alter FRAM content.
:SOURce<n>:CAL:RANGNUM:[cal_slot]:[P2]:[P3]I did not really check what this function does but it may display some message on the UI as it seems to call Qt libraries.
The probable sequence for calibration is to issue a SETVALUE, send a MEASVALUE with a reference measurement provided, and then a STORE.
Calibration slots are one of the following:
- 0 - FREQ?
- 1 - B/K Calibration
- 2,3 - B/K Calibration
- 4 - B/K Calibration + AC Offset
- 5,6,7 - B/K Calibration
- 8,9 - B/K Calibration Low Freq
- 10,11 - B/K Calibration High Freq
- 12 - Offset Calibration
- 13 - Not used
- 14 - B/K Calibration Inner Freq
- 15 - Not used
For SETVALUE:
[P2]
cal_slot=4,10,11 -> Open24DbAttenuation is set to 0 if P2=1 and set to 1 if P2=2
cal_slot=12 -> Not used
[P3]
cal_slot=5/6/7 -> If P3=1, AcAmplFirstPointCal = 1 is set
cal_slot=14 -> P3-1 corresponds to the InnerSlotID
[P4]
cal_slot=0 -> P4 corresponds to the PWM Width
others -> P4 is most likely the set/measured value
My advice is to backup your calibration info + calibration data before playing with this. I will not investigate further for the moment as I do not have the device.
Here are the inputs used in the calibration test function:
5:1:1:2010000
5:1:2:3500000
5:1:3:4500000
5:1:4:5900000
5:2:1:6100000
5:2:2:10000000
5:2:3:12500000
5:2:4:15000000
8:1:1:1000000
8:1:2:431000
8:1:3:331000
8:2:1:1000000
8:2:2:431000
8:2:3:331000
(maybe it can give some hints on which kind value to use)
Disclaimer: I am not responsible for any malfunction caused by the previous commands.