Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
DMM7510-901-01 Rev. B / May 2015
8-367
Example 1
for name in userstring.catalog() do
userstring.delete(name)
end
Deletes all user-defined strings in nonvolatile
memory.
Example 2
for name in userstring.catalog() do
print(name .. " = " ..
userstring.get(name))
end
Prints all
userstring
key-value pairs.
Output:
product = Widgets
assetnumber = 236
contact = John Doe
The above output lists the user-defined strings
added in the example for the
userstring.add()
function. Notice the key-value pairs are not listed in
the order they were added.
Also see
(on page 8-366)
(on page 8-367)
(on page 8-368)
userstring.delete()
This function deletes a user-defined string from nonvolatile memory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
userstring.delete(
name
)
name
The name (key) of the key-value pair of the user-defined string 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 8-366)
(on page 8-366)
(on page 8-368)