beautypg.com

Gpib operation ml24xxa native commands – Anritsu ML2430A User Manual

Page 150

background image

–10.234 becomes 10479, converted to hexadecimal FFFFD711. See the
programming examples for more detail.

OFFTYP

Offset type to use

SENSOR

Syntax:

OFFTYP ,

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?

Returned

String:

OFFTYP ,

OFFVAL

Sensor Offset Value

SENSOR

Syntax:

OFFVAL

s:

A or B

Remarks:

Returns the Offset value being applied to the specified sensor.

Related

Commands:

OFFTBL, OFFTYP

OGBD

Output Graph Binary Data

DATA OUTPUT

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' on page 6-133
shows how to extract the binary data. The response form is as follows :
OGBD <#>
...<\n>
number of ASCII characters that make up the number_of_bytes
value
number of bytes of data contained in rest of the string
four of these values makes up the long integer.

ML2430A OM

6-63

GPIB OPERATION

ML24XXA NATIVE COMMANDS