Series 2600 System SourceMeters Reference Manual
Instrument Control Library 12-135
Return to
2600S-901-01 Rev. A / May 2006
userstring.catalog
Function
Creates an iterator for the user string catalog.
Usage
for name in userstring.catalog() do ... end
Remarks
Accessing the catalog for user string names allows the user to print or delete all string
name values in non-volatile memory. The entries will be enumerated in no particular
order.
Also see
Example
Deletes all user strings in non-volatile memory:
for name in userstring.catalog() do
userstring.delete(name)
end
Prints all user string name value pairs in non-volatile memory:
for name in userstring.catalog() do
print(name .. " = " .. userstring.get(name))
end
Output:
department = Widgets
assetnumber = 236
contact = John Doe
The above output lists the user strings added in the “Example” for the
function. Notice that they are not listed in the order that they were added.
userstring.delete
Function
Deletes a user-defined string from non-volatile memory.
Usage
userstring.delete(name)
name
Name of the user string.
Remarks
This function will delete from non-volatile memory the string that is associated with the
string
name
.
Also see
Example
Deletes user-defined strings from non-volatile memory:
userstring.delete("assetnumber")
userstring.delete("department")
userstring.delete("contact")
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......