Series 3700A System Switch/Multimeter Reference Manual
Example
node[3].setglobal("x", 5)
Also see
node[N].getglobal()
TSP advanced features
opc()
This function sets the operation complete status bit when all overlapped commands are completed.
Type
TSP-Link accessible
Function
No
Usage
opc()
Details
This function causes the operation complete bit in the Standard 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
opc()
waitcomplete()
print("1")
Also see
Status model
waitcomplete()
os.time()
This function generates a time value in UTC time.
Type
TSP-Link accessible
Function
Yes
Usage
utcTime = os.time()
utcTime = os.time(timespec)
utcTime
timespec
3700AS-901-01 Rev. D/June 2018
(on page 11-296)
(on page 10-58)
Affected by
(on page 9-33, on page C-1)
(on page 11-450)
Affected by
Time value in UTC time
The date and time (year, month, day, hour, and minute)
Sets the global variable x on node 3 to the value of 5.
Where saved
Output:
1
Where saved
Section 11: TSP command reference
Default value
Default value
11-297