Syntax Rules - Keithley 2651A Reference Manual

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

Advertisement

Section 7: Command reference
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
Case sensitivity:
Instrument
commands are case
sensitive.
For best results,
simply match the
case shown in the
command reference
descriptions.
7-2
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Details
Function and attribute
names should be in
lowercase characters.
Parameters can use a
combination of lowercase
and uppercase
characters.
Attribute constants use
uppercase characters
Examples
An example of the scriptVar.save()
function (where test8 is the name of the
script):
test8.save()
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
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents