Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-144
2651A-901-01 Rev. A / March 2011
opc()
This function sets the operation complete status bit when all overlapped commands are completed.
Type
TSP-Link accessible
Affected by
Where saved
Default value
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 not
actively performing overlapped commands will set their bits immediately. All remaining nodes will set their own
bits as they complete their own overlapped commands.
Also see
(on page 7-374)
print()
This function generates a response message.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
print(value1)
print(value1, value2)
print(value1, ..., valueN)
value1
The first argument to output
value2
The second argument to output
valueN
The last argument to output
...
One or more values separated with commas
Details
TSP-enabled instruments do not have inherent query commands. Like any other scripting environment, the
print()
command and other related
print()
commands generate output. The
print()
command creates
one response message.
The output from multiple arguments are separated with a tab character.
Numbers are printed using the
format.asciiprecision
attribute. If you want use Lua formatting, print the
return value from the
tostring()
function.