Models 707B and 708B Switching Matrix Reference Manual
Section 6: Instrument programming
707B-901-01 Rev. A / August 2010
6-51
Group leader overview
Each group has a dynamic group leader. The last node in a group running any operation initiated by
the master node is the group leader.
The following list describes the functionality of the group leader:
•
Runs operations initiated by the master node
•
Initiates remote operations on any node with the same group number
•
Cannot initiate remote operations on any node with a different group number
•
Can send the
waitcomplete
command without a parameter to wait for all nodes assigned to the
same group number
Assigning groups
Group numbers can range from 0 (zero) to 64. The default group number is 0. You can change the
group number at any time.
Use the following code to dynamically assign nodes to a group.
Note the following:
•
Each time the node powers off, the group number for that node changes to 0
•
Replace N with the node number
•
N represents the node number that runs the test scripts and the Lua code
•
Each time the node powers off, the group number for that node changes to 0
•
Replace G with the group number
-- Assigns the node to a group.
node[N].tsplink.group = G
Reassigning groups
Use the following code to change group assignment. You can add or remove a node to a group at
anytime.
-- Assigns the node to a different group.
node[N].tsplink.group = G