GPIB Operation ML24xxA Native Commands
ML2437A/38A OM/PM PN: 10585-00001 Rev. P 8-25
CFUPT (Preset cal factor table)
CFURD (Cal factor table binary read)
CFUSAV (Cal factor table save)
Syntax: CFUPT <s>,<table number>
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
automatically 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.
Syntax: CFURD<s>,<table number>
s: A or B
table number: 1 to number of tables supported by the sensor type
F for the factory default table
Remarks: This command outputs the cal factor table in binary mode in the
following form:
CFURD<space><length of binary data>,<binary data>
<length of binary data>: Total length of the binary data message, in
bytes, after the comma.
<binary data>: Made up of:
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
entries which are frequency/factor pairs of six bytes. The frequency is
held in 32768e-6LONG format and the cal factor in 1024INT format.
To convert these into real numbers the first four bytes of an entry are
read 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.
This message can be manipulated to program a different table using the
CFULD command.
Syntax: CFUSAV
Remarks: This command saves the cal factor table currently being edited to the
appropriate sensor. Processing may take a couple of seconds. Any
command that can select a new sensor and/or cal factor table for
changing, will not automatically save any previous changes made. It is
the users responsibility to issue a CFUSAV command.