4- 136 Keysight B2961A/B2962A SCPI Command Reference, Edition 6
Subsystem Commands
SOURce Subsystem
mode returns NORM or FAST. Response data type is CRD.
Example :CURR:TRAN:SPE FAST
:SOUR2:VOLT:TRAN:SPE?
[:SOURce]:DIGital:DATA
Sets the output data to the GPIO pins (digital control port) and read data from the
GPIO pins.
Syntax [:SOURce]:DIGital:DATA data
[:SOURce]:DIGital:DATA?
Parameter data Output data. value (0 to 16383)(default is 0). Parameter data
type is NR1.
Query response data <newline>
data returns the data read from the GPIO pins. Response data type is NR1 or NDN
selected by the
:FORMat:DIGital command.
Example :DIG:DATA 2900
:SOUR:DIG:DATA?
[:SOURce]:DIGital:EXTernal:FUNCtion
Assigns the input/output function to the specified GPIO pin.
Syntax [:SOURce]:DIGital:EXTernal[n][:FUNCtion] function
[:SOURce]:DIGital:EXTernal[n][:FUNCtion]?
Parameter function Function. DINPut (default for the EXT1 to EXT13 pins)|DIO|
HVOL (default for the EXT14 pin)|TINPut|TOUT. Parameter
data type is CPD.
function=DINP assigns the digital input.
function=DIO assigns the digital I/O.
function=HVOL assigns the high voltage status output. Only for the EXT14 pin.
function=TINP assigns the trigger input.