Userstring.catalog() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
Example
userstring.add("assetnumber", "236")
userstring.add("product", "Widgets")
userstring.add("contact", "John Doe")
Also see

userstring.catalog()

userstring.delete()
userstring.get()
userstring.catalog()
This function creates an iterator for the user string catalog.
Type
TSP-Link accessible
Function
No
Usage
for name in userstring.catalog() do ... end
name
Details
The catalog provides access for userstring 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
for name in userstring.catalog() do
print(name .. " = " ..
userstring.get(name))
end
Also see
userstring.add()
userstring.delete()
userstring.get()
707B-901-01 Rev. A / August 2010
(on page 7-241)
(on page 7-242)
(on page 7-242)
Affected by
The name of the string; the key of the key-value pair
(on page 7-240)
(on page 7-242)
(on page 7-242)
Stores user-defined strings in nonvolatile
memory.
Where saved
Default value
Deletes all user strings in nonvolatile memory.
Prints all userstring key-value pairs.
Output:
product = Widgets
assetnumber = 236
contact = John Doe
The above output lists the user strings added in the
example for the userstring.add() function.
Notice the key-value pairs are not listed in the
order they were added.
Section 7: Command reference
7-241

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents