Value#
SCPI Command :
- DIAGnostic:HUMS:TAGS:VALue
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get ( ) ValueStruct
- set ( idn: float, key: str, value: str ) None
# DIAGnostic:HUMS:TAGS:VALue # get: value: ValueStruct = driver.diagnostic.hums.tags.value.get() # set: driver.diagnostic.hums.tags.value.set(idn = 1.0, key = 'abc', value = 'abc')
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:
idn – 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 DIAGnostic:HUMS:TAGS:ALL?.
key – String containing key name of the queried tag.
value – String containing value of the queried tag.
- Returns:
structure: for return value, see the help for ValueStruct structure arguments.
- class ValueStruct
Response structure. Fields:
1 Idn: float: 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 DIAGnostic:HUMS:TAGS:ALL?.
2 Key: str: String containing key name of the queried tag.
3 Value: str: String containing value of the queried tag.