14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-98 2470-901-01 Rev. A / May 2019
Details
From a remote node, use this function to assign the given value to a global variable.
Do not use this command to create or set the value of a global variable from the local node (set the
global variable directly instead). This command should only be used from a remote master when
controlling this instrument over a TSP-Link
®
.
Example
node[3].setglobal("x", 5)
Sets the global variable
on node 3 to the value of 5.
Also see
node[N].getglobal() (on page 14-97)
opc()
This function sets the operation complete (OPC) bit after all pending commands, including overlapped commands,
have been executed.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
opc()
Details
This function causes the operation complete bit in the Status Event Status Register to be set when all
previously started local overlapped commands are complete.
Note that each node independently sets its operation complete bits in its own status model. Any
nodes that are not actively performing overlapped commands set their bits immediately. All remaining
nodes set their own bits as they complete their own overlapped commands.
Example
waitcomplete()
1
Also see
*OPC (on page A-6)
Status model (on page B-1)
waitcomplete() (on page 14-292)