Language Dictionar y - 8
119
[SOURce:]DIGital:DATA
This command programs the digital control port when the port is configured for Digital I/O operation.
The port has three signal pins and a digital ground pin. Pins 1 and 2 are output pins controlled by bits 0
and 1. Pin 3 is controlled by bit 2, and can be programmed to serve either as an input or an output. It
normally serves as an output. Bit 2 must be programmed high to use pin 3 as an input. Pin 4 is the digital
ground. Refer to the following chart for list of the programmable pin settings. The query returns the last
programmed value in bits 0 and 1, and the value read at pin 3 in bit 2.
Program
Value Bit Configura tion
2 1 0 Pin Setting
4 3 2 1
0 0 0 0 GND Output Lo Lo
1 0 0 1 GND Output Lo Hi
2 0 1 0 GND Output Hi Lo
3 0 1 1 GND Output Hi Hi
4 1 0 0 GND Input Lo Lo
5 1 0 1 GND Input Lo Hi
6 1 1 0 GND Input Hi Lo
7 1 1 1 GND Input Hi Hi
Command Syntax [SOURce:]DIGital:DATA[:VALue] <NRf>
Parameters 0 to 7
*RST Value 0
Examples DIG:DATA 7
Query Syntax [SOURce:]DIGital:DATA?
Returned Parameters <NR1>
[SOURce:]DIGital:FUNCtion
Configures the digital control port. The configuration setting is saved in non-volatile memory.
RIDFi Configures the port for Remote Inhibit/Discrete Fault Interrupt operation
DIGio Configures the port for Digital input/output operation (see DIG:DATA)
Command Syntax [SOURce:]DIGital:FUNCtion <CRD>
Parameters RIDFi | DIGio
Examples DIG:FUNC DIG
Query Syntax [SOURce:]DIGital:FUNC?
Returned Parameters <CRD>
[SOURce:]VOLTage
This command sets the output voltage level of the dc source.
Command Syntax [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]<NRf+>
Parameters see Table 8-3
Default Suffix V (volts)
*RST Value 0
Examples VOLT 2.5 !set output voltage to 2.5V
Query Syntax [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]?
Returned Parameters <NR3>
Related Commands VOLT:TRIG