Remote Control Commands
R&S
®
SMW200A
872User Manual 1175.6632.02 ─ 30
DIAGnostic:HUMS:DELete:ALL
This command deletes the complete HUMS data. This includes device history, device
tags, SCPI connections, utilization history and utilizations.
Example: //Delete HUMS data
DIAG:HUMS:DEL:ALL
Usage: Event
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 DIAGnostic:HUMS:
FORMat on page 873.
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
Manual operation: See "Export History" on page 794
HUMS Remote Control Commands