EasyManuals Logo

Keithley 2651A Reference Manual

Keithley 2651A
800 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #222 background imageLoading...
Page #222 background image
Section 5: Remote commands Model 2651A High Power System SourceMeter® Instrument Reference Manual
5-2 2651A-901-01 Rev. A / March 2011
Example 1
digio.writeport(15)
digio.writebit(3, 0)
reset()
digio.readport()
Sets digital I/O lines 1, 2, 3, and 4 high.
Sets line 3 to low (0).
Returns the instrument to its default settings.
Reads the digital I/O port.
Example 2
You can use the results of a function-based command directly or assign to variables to the results for
later access. The following code saves the value you enter from the front panel and prints it.
value = display.inputvalue("+0.00")
print(value)
If the operator enters 2.36 from the front panel,
the resulting output is:
2.36000e+00
Attributes
Attribute-based commands are commands that set the characteristics of an instrument feature or
operation. For example, some characteristics of TSP-enabled instruments are the model number
(localnode.model) and the number of errors in the error queue (errorqueue.count).
To set the characteristics, attribute-based commands define a value. For many attributes, the value is
in the form of a number or a predefined constant.
Example 1: Set an attribute using a number
format.data = 3
This attribute sets the format of data printed by
other commands. Setting this attribute to 3 sets
the print format to double precision floating
point format.
Example 2: Set an attribute using a constant
format.data = format.REAL64
Using the constant REAL64 instead of 3 also
sets the print format to double precision floating
point format.

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals