Model 6487 Reference Manual Limit Tests and Digital I/O 8-15
For example, to set output lines 3 and 1 HI (0101 bit pattern), set the output value to
5(4+1).
Perform the following steps to set the digital output pattern from the front panel:
1. Press CONFIG and then LIMIT to access the limits menu.
2. Press the cursor keys until “LIMIT:PASS” is displayed.
3. Press ENTER. The present digital output pattern value will be displayed.
4. Use the cursor and RANGE keys to display the desired output pattern value (0 to
15), and press ENTER.
5. Press EXIT to return to the normal display state.
SCPI programming — digital output pattern
Programming example
The following command sequence sets output lines 4 and 2 HI and output lines 3 and
1LO.
SOUR2:TTL 10 ' Set output lines 4 and 2 HI.
SOUR2:TTL? ' Request output pattern value.
Table 8-2
SCPI commands — digital outputs
Command Description Default
:SOURce2 SOURce2 Subsystem:
:TTL <NRf> | <NDN> Specify 4-bit digital output pattern (see “Parameter Values” below).
15
:TTL? Query the digital output pattern. The value returned is in the
decimal format.
Parameter Values (see Note):
<NRf> = 0 to 15 Decimal format
<NDN> = #Bxxxx Binary format (each x = 1 or 0)
= #Hx Hexadecimal format (x = 0 to F)
= #Qxx Octal format (x = 0 to 17)
Note: The <NDN> parameter type can be used to set the output pattern using non-decimal values. Convert the decimal value to its
binary, hexadecimal, or octal equivalent and include the appropriate header (#B, #H, or #Q). For example, to set output lines 4
and 2 HI using the binary format, send SOURce2:TTL #B1010.