Command reference
R&S
®
ZNA
1678User Manual 1178.6462.02 ─ 29
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
Deletes the complete device history information of the connected instrument.
Example:
//Delete complete device history
DIAG:HUMS:DEV:HIST:DEL:ALL
Usage: Event
DIAGnostic:HUMS:DEVice:HISTory:EVENt:ADD <Severity>, <Message>[, <Detail>]
Adds an event to the event history.
Note that the event ID, time stamp and event source are automatically created when
you add the event.
Setting parameters:
<Severity> INFO | WARNing | ERRor
Severity of the event.
<Message> Short description of the event.
<Detail> More comprehensive description of the event.
Example: //Add an event ot the event history
DIAG:HUMS:DEV:HIST:EVEN:ADD
INFO,"InfoEvent","An event that has occurred on
the instrument"
Usage: Setting only
DIAGnostic:HUMS:EQUipment?
Queries the equipment information (device footprint) 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:
<EquipmentInfo> <block_data>
Device footprint of the connected instrument as block data in a
comma-separated list.
HUMS and service date commands