IEEE-488 Reference
3-116
3.19 :SOURce subsystem
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 Table 3-11.
[:LEVel] <b>
:SOURce:TTL[1]:[LEVel] <b>
Control digital output line #1
:SOURce:TTL2:[LEVel] <b>
Control digital output line #2
:SOURce:TTL3:[LEVel] <b>
Control digital output line #3
:SOURce:TTL4:[LEVel] <b>
Control digital output line #4
<b> = 1 or ON
Set output line true
0 or OFF
Set output line false
[:LEVel]?
Query logic level of specified line
These commands are used to set the logic levels for the digital output port. The actual level (high
or low) of a digital output line depends on its programmed polarity (see Output subsystem). If
the polarity of a line is active-high, then that line is high when it is set to be true (1 or ON), and
low when it is set to be false (0 or OFF). Conversely, if polarity is active-low, the line is low
when it is set to be true, and high when it is set to be false.
NOTE
If a LIMITS control is enabled (LOLIM1 or 2, HILIM1 or 2—High, Low, or
Pass), this command does not check or change the output status. Refer to para-
graph 2.12.5 for information on limits.
PRINT #1, "output 16; :sour:ttl on; ttl?"
' Set line #1 true
PRINT #1, "enter 16"
' Get response from 2002
Parameters
Query
Description
Program fragment
Summary of Contents for 2002
Page 123: ...Front Panel Operation 2 106...
Page 145: ...IEEE 488 Reference 3 22...
Page 167: ...IEEE 488 Reference 3 44...
Page 284: ...A Specifications A 1...
Page 362: ......
Page 364: ...This page left blank intentionally...
Page 365: ......