Opc(); Print() - Keithley 2651A Reference Manual

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

Advertisement

Section 7: Command reference

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 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
waitcomplete()
Status Model

print()

This function generates a response message.
Type
TSP-Link accessible
Function
No
Usage
print(value1)
print(value1, value2)
print(value1, ..., valueN)
value1
value2
valueN
...
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.
7-144
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Affected by
(on page 7-374)
(on page E-1)
Affected by
The first argument to output
The second argument to output
The last argument to output
One or more values separated with commas
Where saved
Default value
Where saved
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents