Command reference
R&S
®
ZNA
1550
User Manual 1178.6462.02 ─ 20
DIAGnostic:HUMS:DEVice:HISTory?
This command returns the device history information of the connected 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
Return values:
<HistoryInfo>
<block_data>
Device history information of the connected instrument as block
data in a comma-separated list:
#blockdata[{event1},{event2},{event3}...]
With the following parameters:
<eventID>,<eventTimestamp>,<eventMessage>,
<eventDetails>,<eventSeverity>
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 device history
DIAG:HUMS:DEV:HIST?
Returns for example:
#44715[{"eventId":32,"eventTimestamp":
"2021-02-02T17:25:39Z","eventMessage":
"Deviation from Self Alignment Temperature",
"eventDetails":
"Deviations resolved","eventSeverity":0}
Usage:
Query only
DIAGnostic:HUMS:DEVice:HISTory:DELete:ALL
This command deletes the complete device history information of the connected instru-
ment.
Example:
//Delete complete device history
DIAG:HUMS:DEV:HIST:DEL:ALL
Usage:
Event
HUMS and service date commands