Gpib operation ml24xxa native commands – Anritsu ML2430A User Manual
Page 112

binary data:
Same data as that recieved by CFURD
Remarks:
Loads binary data into the cal factor table. This command will automatically
save the data to the sensor.
CFUPT
Preset cal factor table
SENSOR
Syntax:
CFUPT s: A or B table number: 1 to number of tables supported by the sensor type Remarks: Presets the cal factor table to the factory settings. The preset table is auto- CFURD Cal factor table binary read SENSOR Syntax: CFURD s: A or B table number: 1 to number of tables supported by the sensor type Remarks: This command outputs the cal factor table in binary mode in the following CFURD To convert these into real numbers the first four bytes of an entry are read ML2430A OM 6-25 GPIB OPERATION ML24XXA NATIVE COMMANDS,
matically saved to the sensor. For a universal sensor, separate cal factor
tables exist for option 1 (when fitted) and normal operation. This function
will preset the table relating to the currently selected mode.,
F for the factory default table
form:
after the comma.
a. 8 bytes; 7 for the identity, plus a NULL terminator
b. 2 bytes representing the number of table pair entries
c. The cal factor table data in binary form. The binary data is output in en-
tries which are frequency/factor pairs of six bytes. The frequency is held in
32768e-6LONG format and the cal factor in 1024INT format.
into a LONG variable, cast to a float and then divided by 32768e-6 to give
a frequency. The last two bytes are then read into the low bytes of a
LONG then cast to a float and divided by 1024. The C programming ex-
ample 'Binary output decoding' on page 6-133 shows how to extract the
binary data.