Source Subsystem - Keithley 2001 Operator's Manual

Multimeter
Hide thumbs Also See for 2001:
Table of Contents

Advertisement

IEEE-488 Reference
Format
Description
Programming example
4.20

:SOURce subsystem

q~ÄäÉ=QJOT
SOURce command summary
Command
:SOURce
:TTL[1][:LEVel] <b>
:TTL[1][:LEVel]?
:TTL2[:LEVel] <b>
:TTL2[:LEVel]?
:TTL3[:LEVel] <b>
:TTL3[:LEVel]?
:TTL4[:LEVel] <b>
:TTL4[:LEVel]?
Notes:
1. Brackets ([ ]) are used to denote optional character sets. These optional characters do not have to be included in the program message.
Do not use brackets ([ ]) in the program message.
2. Angle brackets (< >) are used to indicate parameter type. Do not use angle brackets (< >) in the program message.
3. Upper case characters indicate the short-form version for each command word.
4. If a LIMITS control is enabled (LOLIM1 or 2, HILIM1 or 2 — High, Low, or Pass), this command does not check or change the out-
put status. Refer to
4-162
:TTL[1]:DATA?
:SENSe2:TTL[1]:DATA?
:sens2:ttl:data?
This command is used to read the single line of the digital input port. After sending this com-
mand and addressing the Model 2001 to talk, a value indicating the status of the port will be sent
to the computer.
A value of "1" indicates that the input port is high (ON), and a value of "0" indicates that the
port is low (OFF).
10 OUTPUT 716; ":sens2:ttl:data?"
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10
Read the input port.
Line 20
Addresses the Model 2001 to talk.
Line 30
Displays the status of the input port (0 or 1).
This subsystem is used to set the logic level (true or false) of each digital output line. The com-
mands for this subsystem are summarized in
Description
Set digital output line #1 true (1 or ON) or false (0 or OFF).
Query digital output line 1.
Set digital output line #2 true (1 or ON) or false (0 or OFF).
Query digital output line 2.
Set digital output line #3 true (1 or ON) or false (0 or OFF).
Query digital output line 3.
Set digital output line #4 true (1 or ON) or false (0 or OFF).
Query digital output line 4.
paragraph 3.12.5
for information on limits.
[:LEVel] <b>
:SOURce:TTL[1]:[LEVel] <b>
:SOURce:TTL2:[LEVel] <b>
Read input port
Table
4-27.
Control digital output line #1
Control digital output line #2
2001-900-01 Rev. K / August 2010

Advertisement

Table of Contents
loading

Table of Contents