GPIB OPERATION

ML24XXA NATIVE COMMANDS

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>,<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 auto- 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.

CFURD

Cal factor table binary read

SENSOR

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 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.

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. The C programming ex- ample 'Binary output decoding' on page 6-133shows how to extract the binary data.

ML2430A OM

6-25

 

 

Page 112
Image 112
Anritsu ML2430A operation manual Binary data, Cfupt, Cfurd