Command reference
R&S
®
ZNB/ZNBT
1448User Manual 1173.9163.02 ─ 62
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
DIAGnostic:HUMS:SERVice?
Queries the service information 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 1447.
Return values:
<ServiceInfo> <block_data>
Service information of the connected instrument as block data in
a comma-separated list:
#blockdata{<lastdate>,<requiredservice>,<calibration>:
{<lastcalibration>,<nextDue>,<nextDueExpired>,
<recommendedCalibrationInterval>},<uptime>}
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
HUMS and service date commands