Source:]digital:data, Source:]digital:function – Agilent Technologies 6631B User Manual

Page 59

Advertising
background image

Language Dictionary - 4

59

[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

Bit Configuration

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 Intput Lo Lo

5

1 0 1

GND Intput Lo Hi

6

1 1 0

GND Intput Hi Lo

7

1 1 1

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 4-3

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

Advertising
This manual is related to the following products: