Sense Subsystems - Keithley 7001 Instruction Manual

High density switch system
Hide thumbs Also See for 7001:
Table of Contents

Advertisement

Sense Subsystems

5.14
The Sense subsystems are used to read digital input ports. The :SENSe1 Subsystem is used to read the built-in digital input lines.
The :SENSe2 and :SENSe3 Subsystems are used to read the inputs of digital cards installed in slots 1 and 2 respectively.
Table 5-9
SENSe command summary
Command
:SENSe[1]
:TTL[1]
:SENSe2
:DATA? <list>
:SENSe3
:DATA? <list>
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 mes-
sage.
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. At least one space is requred between a command word and the parameter.
Short-form
formats
Description
Programming
example
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
Description
Command path to read internal input line.
:DATA?
Read internal digital input line.
Command path:
Read specified input channels for slot 1.
Command path:
Read specified input channels for slot 2.
:SENSe[1] Subsystem
:TTL[1]:DATA?
:SENSe[1]:TTL[1]:DATA?
:sens: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 7001 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 707; ":sens:ttl:data?"
20
ENTER 707; A$
30
PRINT A$
40
END
Line 10 Read the input port.
Line 20 Addresses the 7001 to talk.
Line 30 Displays the status of the input port (0 or 1).
Read internal input port
IEEE-488 Reference
5-91

Advertisement

Table of Contents
loading

Table of Contents