Command reference
R&S
®
ZNA
1676User Manual 1178.6462.02 ─ 29
DIAGnostic:HUMS[:ALL]?
Queries the REST endpoints for the HUMS application in a single query. This allows
you to read all HUMS data stored on the instrument via REST API.
The data can be displayed either in JSON or XML format. For more information about
setting the format, see DIAGnostic:HUMS:FORMat on page 1679.
Return values:
<Endpoints> <block_data>
String returns REST endpoints as block data in a comma-sepa-
rated list.
Binary block data with the following syntax:
#<Digits><Length><Binarydata>
#
Indicates the start of the binary block
<Digits>
Decimal value
Gives the number of decimal digits used for the <Length>
value
<Length>
Decimal value
Number of bytes the follow in the <Binary data> part
<Binary data>
Binary data in ASCII format
Example:
//Return complete HUMS data
DIAG:HUMS?
Usage: Query only
DIAGnostic:HUMS:BIOS?
Queries the BIOS information from the instrument. Depending on the set data format,
the queried data is either displayed in XML or JSON format. For more information about
setting the data format, see DIAGnostic:HUMS:FORMat on page 1679.
Return values:
<BIOSInfo> <block_data>
BIOS information of the connected instrument as block data in a
comma-separated list.
#<manufacturer>,<serialNumber>,<version>,
<releaseDate>,<caption>,<isPresent>
Binary block data with the following syntax:
#<Digits><Length><Binarydata>
#
Indicates the start of the binary block
<Digits>
Decimal value
Gives the number of decimal digits used for the <Length>
value
HUMS and service date commands