Language Dictionary - 4
[SOURce:]DIGital:DATA
This command sets and reads the dc source digital control port when that 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. The query returns the last programmed value in bits 0 and 1 and the value read at pin 3 in bit 2.
Program
Value
0
1
2
3
4
5
6
7
Bit Configuration
2 | 1 | 0 | |
0 | 0 | 0 | |
0 | 0 | 1 | |
0 | 1 | 0 | |
0 | 1 | 1 | |
1 | 0 | 0 | |
1 | 0 | 1 | |
1 | 1 | 0 | |
| 1 | 1 | 1 |
| Pin Setting |
| |
4 | 3 | 2 | 1 |
GND Output | Lo | Lo | |
GND Output | Lo | Hi | |
GND Output | Hi | Lo | |
GND Output | Hi | Hi | |
GND | Intput | Lo | Lo |
GND | Intput | Lo | Hi |
GND | Intput | Hi | Lo |
GND | Intput | 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> |
Related Commands | DIG:FUNC |
[SOURce:]DIGital:FUNCtion
This command configures the dc source 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> |
| Related Commands | DIG:DATA |
[SOURce:]VOLTage
This command sets the output voltage level of the dc source.
Command Syntax | [SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude]<NRf+> | |
Parameters | see Table |
|
Default Suffix | V (volts) |
|
*RST Value | 0 |
|
Examples | VOLT 2 | VOLTAGE:LEVEL 200 MV |
Query Syntax | [SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude]? | |
Returned Parameters | <NR3> |
|
Related Commands | VOLT:TRIG |
|
59