Keithley 2651A Reference Manual page 302

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

Advertisement

Section 6: Instrument programming
To set the global variable on node N equal to 2.5:
node[N].execute("setpoint = 2.5")
The following code demonstrates how to run a test script defined on a remote node.
For this example, scriptVar is defined on the local node.
To run scriptVar on node N:
node[N].execute(scriptVar.source)
The programming example below demonstrates how to run a test script defined on a remote node.
For this example, scriptVar is defined on the remote node.
To run a script defined on the remote node:
node[N].execute("scriptVar()")
It is recommended that you copy large scripts to a remote node to improve system performance. See
Copying test scripts across the TSP-Link network
Coordinating overlapped operations in remote groups
Errors occur if you send a command to a node in a remote group running an overlapped operation. All
nodes in a group must be in the overlapped idle state before the master node can send a command
to the group.
Use the waitcomplete() command to:
Group leader and master node: To wait for all overlapped operations running in the local group
to complete
Master node only: To wait for all overlapped operations running on a remote group to complete
on the TSP-Link
Master node only: To wait for all groups to complete overlapped operations
For additional information, see
The following code is an example on how to send the waitcomplete() command from the master
node:
-- Waits for each node in group N to complete all overlapped operations.
waitcomplete(N)
-- Waits for all groups on the TSP-Link network to complete overlapped operations.
waitcomplete(0)
6-58
Model 2651A High Power System SourceMeter® Instrument Reference Manual
®
network
waitcomplete()
NOTE
NOTE
(on page 6-59) for more information.
(on page 7-374).
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents