12-118 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library Series 2600 System SourceMeter® Instruments Reference Manual
waitcomplete function
This function waits for all overlapped commands to complete.
Function Waits for all overlapped commands to complete.
Usage waitcomplete([group])
group Identifies the number of the group to wait for
overlapped operations to complete.
Remarks • The master node is the only node that can specify a group number with the
waitcomplete command.
• If a TSP-Link group number is not provided, the local group number is used.
• If a 0 (zero) is used for the TSP-Link group number, this function waits for all nodes on the
TSP-Link network.
• Use this function to wait for a specific group to complete all overlapped operations.
NOTE Any node that is not assigned to a group (indicates the group
number is 0) is considered part of the master group.
Using this function without a group number waits for overlapped
operations to complete on the local group.
Example waitcomplete() Waits for all nodes in the local group.
waitcomplete(G) Waits for all nodes in group G.
waitcomplete(0) Waits for all nodes on the TSP-Link network.
userstring.get
Function Retrieves a user-defined string from non-volatile memory.
Usage value = userstring.get(name)
name Name of the user string.
value Returns the string value associated with name.
Remarks This function will retrieve from non-volatile memory the string that is associated with
the string name.
Also see userstring.add, userstring.catalog, userstring.delete
Example Retrieves the value for a user string from non-volatile memory:
value = userstring.get("assetnumber")
print(value)
Output: 236
waitcomplete