![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750315.webp)
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-2
2657A-901-01 Rev. B/December 2012
For example, to use SMU A to take voltage measurements and store them in buffer
vbuffername
,
you would send:
smua.trigger.measure.v(vbuffername)
Syntax rules
The following table lists syntax requirements to build well-formed instrument control commands.
Syntax rules for instrument commands
Syntax rule
Details
Examples
Case sensitivity:
Instrument
commands are case
sensitive.
For best results,
simply match the
case shown in the
command reference
descriptions.
Function and attribute
names should be in
lowercase characters.
An example of the
scriptVar.save()
function (where
test8
is the name of the
script):
test8.save()
Parameters can use a
combination of lowercase
and uppercase
characters.
Attribute constants use
uppercase characters
In the command below, which sets the format of
data transmitted from the instrument to
double-precision floating point,
format.REAL64
is the attribute constant and
format.data
is the attribute command:
format.data = format.REAL64
White space:
Not
required in a
function.
Functions can be sent
with or without white
spaces.
The following functions, which set digital I/O line
3 low, are equivalent:
digio.writebit(3,0)
digio.writebit (3, 0)
Function
parameters:
All
functions are
required to have a
set of parentheses ()
immediately
following the
function.
You can specify the
function parameters by
placing them between
the parentheses. Note
that the parentheses are
required even when
there are no parameters
specified.
The following function specifies all overlapped
commands in the nodes in group G must
complete before commands from other groups
can execute:
waitcomplete(G)
The command below reads the value of the
local time zone (no parameters are needed):
timezone = localnode.gettimezone()
Multiple
parameters:
Must
be separated by
commas (,).
Some commands require
multiple parameters,
which must be separated
by commas (
,
).
This command sets the beeper to emit a
double-beep at 2400 Hz, with a beep sequence
of 0.5 seconds on, 0.25 seconds off, and then
0.5 seconds on:
beeper.beep(0.5, 2400)
delay(0.250)
beeper.beep(0.5, 2400)
Содержание 2657A
Страница 3: ......