Userstring.delete() - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Section 11: TSP command reference
Details
The catalog provides access for user-defined string pairs, allowing you to manipulate all the key-value
pairs in nonvolatile memory. The entries are enumerated in no particular order.
Example 1
for name in userstring.catalog() do
userstring.delete(name)
end
Example 2
userstring.add("assetnumber", "236")
userstring.add("product", "Widgets")
userstring.add("contact", "John Doe")
for name in userstring.catalog() do
print(name .. " = " ..
userstring.get(name))
end
Also see
userstring.add()

userstring.delete()

userstring.get()
userstring.delete()
This function deletes a user-defined string from nonvolatile memory.
Type
TSP-Link accessible
Function
No
Usage
userstring.delete("name")
name
Details
This function deletes the string that is associated with name from nonvolatile memory.
Example
userstring.delete("assetnumber")
userstring.delete("product")
userstring.delete("contact")
Also see
userstring.add()
userstring.catalog()
userstring.get()
11-448
(on page 11-447)
(on page 11-448)
(on page 11-449)
Affected by
The name (key) of the key-value pair of the user-defined string to delete
(on page 11-447)
(on page 11-447)
(on page 11-449)
Series 3700A System Switch/Multimeter Reference Manual
Deletes all user-defined strings in nonvolatile
memory.
Prints all userstring key-value pairs.
Output:
product = Widgets
assetnumber = 236
contact = John Doe
Notice the key-value pairs are not listed in
the order they were added.
Where saved
Default value
Deletes the user-defined strings associated
with the assetnumber, product, and
contact names.
3700AS-901-01 Rev. D/June 2018

Advertisement

Table of Contents
loading

Table of Contents