GPIB Operation ML24xxA Native Commands
ML2437A/38A OM/PM PN: 10585-00001 Rev. P 8-63
OFFTYP (Offset type to use)
OFFVAL (Sensor Offset Value)
OGBD (Output Graph Binary Data)
Syntax: OFFTYP <s>,<type>
s: A or B
type: OFF, FIXED, TABLE
Remarks: Selects the type of offset to use.
OFF = No offset to be used.
FIXED = Use the fixed value (OFFFIX) specified.
TABLE = Use the Offset table (OFFTBL) specified.
Query: OFFTYP? <s>
Returned String: OFFTYP <s>,<type>
Syntax: OFFVAL <s>
s: A or B
Remarks: Returns the Offset value being applied to the specified sensor.
Related
commands:
OFFTBL, OFFTYP
Syntax: OGBD
Remarks: Output the next complete set of 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:
OGBD <#><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 makes 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).