Value

SCPI Command :

DIAGnostic:HUMS:TAGS:VALue
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class ValueStruct[source]

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.

get() ValueStruct[source]
# DIAGnostic:HUMS:TAGS:VALue
value: ValueStruct = driver.diagnostic.hums.tags.value.get()

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.

Returns:

structure: for return value, see the help for ValueStruct structure arguments.

set(idn: float, key: str, value: str) None[source]
# DIAGnostic:HUMS:TAGS:VALue
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.