Model 6220/6221 Reference Manual Limit Test and Digital I/O 9-9
Return to Section 9 topics
For example, send these commands to force a digital I/O pattern of 0101 (5) by
remote:
SCPI commands — force digital I/O pattern
Digital I/O commands are listed in Table 9-3. Additional information for each com-
mand is provided in notes that follow the tables.
1. CALC3:FORC:STAT <b> ‘ Enable/disable I/O pattern force state
If true, then ignore all limit results from the limit commands (page 9-3) and
take the CALC3:FORC:PATT value described below and force it on the digital
output lines. When turned on with the FORCe:STATe, the FORCe:PATTern
supersedes any results from the compliance limit described in “Limit test,” on
page 9-2.
2. CALC3:FORC:PATT <NRf> ‘ Set I/O pattern
Pattern to be forced on the digital output connector. Note that the actual digital
output value assumes active high logic which cannot be changed, so sending
12 (binary 1100) will result in bits 0 and 1 low and bits 2 and 3 high. Digital I/O
port values are shown in Table 9-4.
CALC3:FORC:STAT ON ‘ Enable I/O pattern force.
CALC3:FORC:PATT 5 ‘ Set I/O to 5 (0101)
Table 9-3
Digital I/O commands
Command* Description Default
CALCulate3:FORCe:STATe <b> Enable/disable I/O pattern force state.
1
<b> = 1 or 0.
0
CALCulate3:FORCe:PATTern <NRf> Set I/O pattern.
2
<NRf> = 0 to 15
15
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com