Command reference
R&S
®
ZNA
1561User Manual 1178.6462.02 ─ 20
DIAGnostic:HUMS:UTILization:HISTory?
This command returns the utilization history of the instrument. Each utilization or activ-
ity is assigned a timestamp for when the utilization has been active. Together they form
a pair of values.
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 1551.
Timestamps follow the Unix time format.
Return values:
<HistoryResult> <block_data>
Returns utilization history of the connected instrument as block
data out of timestamps and activities in the following format:
#blockdata{"timestamps":
[<timestamp1>,<timestamp2>,...],"activity":
[<activity1>,<activity2>,...]}
Pair of values:
<timestamp1> + <activity1>, <timestamp2> +
<activity2>
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 utilization history
DIAG:HUMS:UTIL:HIST?
Returns for example:
#3440{"timestamps":
[1612259226,1612345626,1612432026,1612518426],"activity":
[0,0,66000,81000]}
Usage: Query only
DIAGnostic:HUMS:UTILization:HISTory:DELete:ALL
This command deletes the complete utilization history information from the instrument.
Alternatively, you can delete:
●
device history only with DIAG:HUMS:DEV:HIST:DEL:ALL
HUMS and service date commands