ML24xxA Native Commands GPIB Operation
8-56 PN: 10585-00001 Rev. P ML2437A/38A OM/PM
MODRNG (Autodial enable for range error)
MXGDB (Output Max Graph Binary Data)
MXGD (Output Max Graph Data)
Syntax: MODRNG <state>
value: TRUE or FALSE
Remarks: When set to TRUE, produces an SRQ and autodials the phone number
(set with MODPH) when a sensor range error occurs. See Section 5-10
for more information on modem operation.
Query: MODRNG?
Returned String: MODRNG <state>
Syntax: MXGDB
Remarks: Available in graph modes only. Outputs in binary form the max graph
data to the GPIB in the long integer form of 1024 bits per dB as a
definite length arbitrary block response data. The C programming
example 'Binary output decoding' shows how to extract the binary data.
The response form is as follows:
MXGDB <#><length><number_of_bytes><data_byte_1><data_byte_2>
...
<data_byte_n><\n>
<length> number of ASCII characters that make up the
number_of_bytes value
<number_of_bytes> number of bytes of data contained in rest of the
string
<data_byte_n> four of these values make up the long integer.
For example: FF FF D1 64 = –11932 As it is based on 1024 per dB, divide
by 1024 to get the dB value (–11.652).
Syntax: MXGD
Remarks: Available in graph modes only. Outputs in ASCII form the max graph
data.
The format is as follows:
MX
GD<number_of_elements>,<element_1>,<element_2>,<element_n>...<\
n>
The first number in the string is the number of elements to follow, and is
always 200 for the ML243xA.