5-91
5.14
Sense Subsystems
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
Description
:SENSe[1]
:TTL[1]
:DATA?
Command path to read internal input line.
Read internal digital input line.
:SENSe2
:DATA? <list>
Command path:
Read specified input channels for slot 1.
:SENSe3
:DATA? <list>
Command path:
Read specified input channels for slot 2.
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.
:SENSe[1] Subsystem
:TTL[1]:DATA?
:SENSe[1]:TTL[1]:DATA?
Read internal input port
: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).
Short-form
formats
Description
Programming
example
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
Содержание 7001
Страница 183: ...IEEE 488 Reference 5 64 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 185: ...IEEE 488 Reference 5 66 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 239: ...IEEE 488 Reference 5 120 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 284: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 285: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 286: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 287: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 288: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 293: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 294: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 295: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 296: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 298: ...Replaceable Parts 8 6 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 299: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 300: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 301: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 303: ...Replaceable Parts 8 8 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 304: ......
Страница 305: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 307: ...Replaceable Parts 8 10 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 308: ......
Страница 309: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 311: ...Replaceable Parts 8 12 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 312: ......
Страница 313: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 315: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...