Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-449
userstring.get()
This function retrieves a user-defined string from nonvolatile memory.
Usage
value = userstring.get("name")
The value of the user-defined string key-value pair
The name (key) of the user-defined string
Details
This function retrieves the string that is associated with name from nonvolatile memory.
Example
userstring.add("assetnumber", "236")
value = userstring.get("assetnumber")
print(value)
Create the user-defined string
assetnumber, set to a value of 236.
Read the value associated with the user-
defined string named assetnumber.
Store it in a variable called value, then print
the variable value.
Output:
236
Also see
userstring.add() (on page 11-447)
userstring.catalog() (on page 11-447)
userstring.delete() (on page 11-448)