Command reference
R&S
®
ZNA
1681User Manual 1178.6462.02 ─ 29
#
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 service information
DIAG:HUMS:SERV?
Returns for example:
#3196{"last":"2021-01-19T23:00:00Z","required":
2,"calibration":{"last":
"2021-01-19T23:00:00Z","nextDue":
"2022-01-19T23:00:00Z","nextDueExpired":
false,"recommendedCalibrationInterval":
"P1Y"},"uptime":0}
Usage: Query only
DIAGnostic:HUMS:STATe <State>
Turns the HUMS service and data collection on and off.
Parameters:
<State> ON | OFF | 1 | 0
*RST: ON
Example: //Turn on HUMS service
DIAG:HUMS:STAT ON
Manual operation: See "State (Device Utilization)/Status" on page 871
DIAGnostic:HUMS:STORage?
Queries the storage information of 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:
<StorageInfo> <block_data>
Returns storage information for each storage device of the con-
nected instrument as block data.
#blockdata[{storagedevice1},
{storagedevice2},...]
Binary block data with the following syntax:
#<Digits><Length><Binarydata>
HUMS and service date commands