Command reference
R&S
®
ZNA
1552
User Manual 1178.6462.02 ─ 20
DIAGnostic:HUMS:SAVE
This command saves the HUMS history as a
ZIP
file to your preferred path.
Example:
//Save HUMS history data
DIAG:HUMS:SAVE 'C:\HUMS\hums_2021.zip'
Usage:
Event
DIAGnostic:HUMS:SECurity?
This command returns the security information of the instrument. Depending on the set
data format, the queried data is either displayed in
XML
or
JSON
format. For more infor-
mation about setting the data format, see
Return values:
<SecurityInfo>
<block_data>
Security information of the connected instrument as block data
in a comma-separated list.
#blockdata{"antimalware":
{<name>,<enabled>,<upToDate>,<timestamp>},
"firewallEnabled"}
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 security information
DIAG:HUMS:SEC?
#3133{"antimalware":{"name":
"Windows Defender","enabled":false,"upToDate":
true,"timestamp":
"2018-02-08T10:09:22Z"},"firewallEnabled":true}
Usage:
Query only
HUMS and service date commands