User manual

18-98 SCPI Command Reference 2400 Series SourceMeter
®
User’s Manual
SOURce2
The following commands are used to set the logic level of the digital output lines and
control the pulse width of limit test output patterns that are sent to component han-
dlers. Limit tests are configured and controlled from the CALCulate2 Subsystem. For
details on limit testing, see Section 12, “Limit Testing.”
NOTE All the SOURce2 commands are invalid for the Model 2401 and will cause
undefined header errors.
Setting digital output
[:LEVel] <NRf> | <NDN>
:SOURce2:TTL:[LEVel] [:DEFault] <NRf> | <NDN> Set digital output pattern
:SOURce2:TTL:[LEVel]:ACTual? Query actual output pattern
Parameters <NRf> | <NDN> = 0 to 7, 3-bit Specify digital output value
0 to 15, 4-bit
Query :TTL? Query default digital output value
:ACTual? Query actual digital output value
Description This command is used to set the logic levels of the output lines of the
Digital I/O port. When set high, the specified output line will be at
approximately +5V. When set low, the output line will be at 0V.
Use the following table to determine the parameter value for the
desired decimal digital output pattern:
OUT 4 OUT 3 OUT 2 OUT 1
Decimal
value*
L
L
L
L
L
L
L
L
H
H
H
H
H
H
H
H
L
L
L
L
H
H
H
H
L
L
L
L
H
H
H
H
L
L
H
H
L
L
H
H
L
L
H
H
L
L
H
H
L
H
L
H
L
H
L
H
L
H
L
H
L
H
L
H
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
L = Low (Gnd), H = High (>+3V)
* 0-7 in 3-bit mode, 0 to 65535 with 2499-DIGIO option.