Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-292
2470-901-01 Rev. A /
May
2019
Example
userstring.add("assetnumber", "236")
value = userstring.get("assetnumber")
print(value)
Create the user-defined string
assetnumber
, set to a value of
236
.
Read the value associated with the
user-defined string named
assetnumber
.
Store it in a variable called
value
, then print
the variable
value
.
Output:
236
Also see
(on page 14-289)
(on page 14-290)
(on page 14-291)
waitcomplete()
This function waits for all previously started overlapped commands to complete.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
waitcomplete()
waitcomplete(
group
)
group
Specifies which TSP-Link group on which to wait
Details
There are two types of instrument commands:
•
Overlapped commands:
Commands that allow the execution of subsequent commands while
instrument operations of the overlapped command are still in progress.
•
Sequential commands:
Commands whose operations must finish before the next command is
executed.
The
waitcomplete()
command suspends the execution of commands until the instrument
operations of all previous overlapped commands are finished. This command is not needed for
sequential commands.
A group number may only be specified when this node is the master node.
If no
group
is specified, the local group is used.
If zero (0) is specified for the
group
, this function waits for all nodes in the system.
Any nodes that are not assigned to a group (group number is 0) are part of the master node's group.