[SOURce:]DIGital:PIN<1-7>:FUNCtion <function>
[SOURce:]DIGital:PIN<1-7>:FUNCtion?
Sets the function of the pins. The functions are saved in non-volatile memory.
DIO General-purpose ground-referenced digital input/output function.
DINPut Digital input-only mode.
EXPRession<1-8> A user-defined expression drives the pin.
FAULt Pin 1 functions as an isolated fault output. Pin 2 is common for pin
1
INHibit Pin 3 functions as an inhibit input.
ONCouple Pins 4 -7 synchronize the output On state.
OFFCouple Pins 4 -7 synchronize the output Off state.
TINPut A trigger input function.
TOUTput A trigger output function
Parameter Typical Return
DIO | DINPut | EXPRession<1-8> | FAULt | INHibit
| ONCouple | OFFCouple TINPut | TOUTput
DIO, DINP, EXPR<n>, FAUL,
INH, ONC, OFFC, TINP, or TOUT
Sets pin 1 to FAULtmode: DIG:PIN1:FUNC FAUL
[SOURce:]DIGital:PIN<1-7>:POLarity POSitive|NEGative
[SOURce:]DIGital:PIN<1-7>:POLarity?
Sets the polarity of the pins.
POSitive means a logical true signal is a voltage high at the pin. For trigger inputs and outputs, positive
means a rising edge.
NEGative means a logical true signal is a voltage low at the pin. For trigger inputs and outputs,
negative means a falling edge.
Parameter Typical Return
POSitive|NEGative POS or NEG
Sets pin 1 to POSitive polarity: DIG:PIN1:POL POS
l The pin polarities are saved in non-volatile memory.
[SOURce:]DIGital:TOUTput:BUS[:ENABle] 0|OFF|1|ON
[SOURce:]DIGital:TOUTput:BUS[:ENABle]?
Enables or disables BUS triggers on digital port pins. This allows a BUS trigger to be sent to any digital
port pin that has been configured as a trigger output. A trigger out pulse is generated when the state is
on and a bus trigger is received. A BUS trigger is generated using the *TRG command.
6 SCPI Programming Reference
223 Keysight N6900/N7900 Series Operating and Service Guide