Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-242
707B-901-01 Rev. A / August 2010
userstring.delete()
This function deletes a user-defined string from nonvolatile memory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
userstring.delete(name)
name
The name (key) of the key-value pair of the
userstring
to delete
Details
This function deletes the string that is associated with
name
from nonvolatile memory.
Example
userstring.delete("assetnumber")
userstring.delete("product")
userstring.delete("contact")
Deletes the user-defined strings associated with the
"assetnumber"
,
"product"
, and
"contact"
names.
Also see
(on page 7-240)
(on page 7-241)
userstring.get()
This function retrieves a user-defined string from nonvolatile memory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
value = userstring.get(name)
value
The value of the
userstring
key-value pair
name
The name (key) of the
userstring
Details
This function retrieves the string that is associated with
name
from nonvolatile memory.
Example
value = userstring.get("assetnumber")
print(value)
Output: 236
Also see
(on page 7-240)