Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-2 2651A-901-01 Rev. A / March 2011
Example 3:
smuX.trigger.measure.Y(rbuffer)
Where:
X is refers to the SMU channel (use a for SMU A).
Y is the measurement type that you specify (v, i, r, or p).
rbuffer is the reading buffer object where the readings will be stored.
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