Userstring.delete() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
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()
userstring.delete()
This function deletes a user-defined string from nonvolatile memory.
Type
TSP-Link accessible
Function
Yes
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()
2651A-901-01 Rev. A / March 2011
(on page 7-372)
(on page 7-373)
(on page 7-374)
Affected by
The name (key) of the key-value pair of the userstring to delete
(on page 7-372)
(on page 7-372)
(on page 7-374)
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.
Where saved
Default value
Deletes the user-defined strings associated with the
"assetnumber", "product", and "contact" names.
Section 7: Command reference
7-373

Advertisement

Table of Contents
loading

Table of Contents