Value

SCPI Command :

DIAGnostic:HUMS:TAGS:VALue
class ValueCls[source]

Value commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class ValueStruct[source]

Response structure. Fields:

  • 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 [CMDLINKRESOLVED Diagnostic.Hums.Tags.All#get_ CMDLINKRESOLVED].

  • Key: str: String containing key name of the queried tag.

  • Value: str: String containing value of the queried tag.

get() ValueStruct[source]
# SCPI: 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.

return

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

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

param 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 method RsFsw.Diagnostic.Hums.Tags.All.get_.

param key

String containing key name of the queried tag.

param value

String containing value of the queried tag.