Command reference
R&S
®
ZNA
1558
User Manual 1178.6462.02 ─ 20
7.4.3
Device tags commands
..................................................................................... 1558
..................................................................................1558
.................................................................................. 1559
DIAGnostic:HUMS:TAGS:DELete:ALL
............................................................................1559
DIAGnostic:HUMS:TAGS:ALL?
This command returns all key-value tags that you have assigend to 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
Return values:
<ID>
ID number of the defined tag.
<Key>
String containing key name of the defined tag.
<Value>
String containing value of the defined tag.
Example:
//Return all tags
DIAG:HUMS:TAGS:ALL?
1,"location","building_11",2,"time zone","CET"
Usage:
Query only
Manual operation:
See
"Add / Delete (Trash) / Delete All"
DIAGnostic:HUMS:TAGS[:VALue]
<ID>, <Key>, <Value>
DIAGnostic:HUMS:TAGS[:VALue]?
<ID>
This command adds or modifies a key-value pair (device tag).
The query returns the key-value pair for a given ID or an empty string if the ID is
unknown.
Parameters:
<Key>
String containing key name of the queried tag.
<Value>
String containing value of the queried tag.
Parameters for setting and query:
<ID>
0 - 31
ID number of the tag you want to modify or query.
To identify the ID number, query all device tags from the system
first. For more information, read here
Example:
//Add or modify a tag (tag 1)
DIAG:HUMS:TAGS 1,'location','building_11'
Manual operation:
See
"Add / Delete (Trash) / Delete All"
HUMS and service date commands