CONFigure:DIGital:HANDshake

34980A

CONFigure:DIGital:HANDshake

Syntax

CONFigure:DIGital:HANDshake SYNChronous, [<thresh_voltage>, [<level_voltage>, [<polarity>,]]] (@<ch_list>)

Description

This command configures all of the handshaking parameters for the specified bank on the 34950A Digital I/O Module. Use the thresh_voltage parameter to set the input threshold voltage for the H2 handshake line and INTR line. Use the level_voltage parameter to set the logic "1" voltage level for the H0 and H1 handshake lines and INTR line. Use the polarity parameter to set the logic polarity of one or all of the three handshake lines (H0, H1, and H2) and INTR line.

Since handshaking is used for transfers involving the first channel on a bank only, this command must be directed to the first channel (i.e., channel 101 or 201 only), and extends to all channels involved in the channel width (see CONFigure:DIGital:WIDTh command).

This command sets the following handshaking parameters to their default values:

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<thresh_voltage>

 

Numeric

Desired threshold voltage between 0V and 5V, with 20 mV resolution.

MIN = 0V, MAX = 5V

0.8V (TTL)

<level_voltage>

Numeric

Desired voltage level between 1.66V and 5V, with 20 mV resolution.

MIN = 1.66V, MAX = 5V

5V

<polarity>

Discrete

{NORMal|INVerted}

NORMal (active high)

<ch_list>

Numeric

One or more digital input or output channels in the form (@sccc).
Select from s101 through s104, s201 through s204

This is a required parameter

 

Remarks

Examples

The following program segment configures the handshaking parameters for the module in slot 3 (Bank 1). The bank is configured for synchronous output transfers, with an input threshold voltage of 1.2V, an output voltage level of 2.4V, and normal logic polarity (active high).  

CONF:DIG:WIDTH WORD,(@3101)  !Width = 16 bits
CONF:DIG:DIR OUTP,(@3101)  !Direction = Output
CONF:DIG:HAND SYNC,1.2,2.4,NORM,(@3101)
 !Select synchronous transfer mode

The following program segment configures the handshaking parameters for the module in slot 3 (Bank 2). The bank is configured for synchronous input transfers, with a threshold voltage to 1.8V (the output voltage level and polarity parameters are omitted).

CONF:DIG:WIDTH WORD,(@3201)  !Width = 16 bits
CONF:DIG:DIR INP,(@3201)  !Direction = Input
CONF:DIG:HAND SYNC,1.8,(@3201)
 !Select synchronous transfer mode

See Also

CONFigure:DIGital:HANDshake:CTIMe

CONFigure:DIGital:HANDshake:DRIVe

CONFigure:DIGital:HANDshake:POLarity

CONFigure:DIGital:HANDshake:RATE

CONFigure:DIGital:HANDshake:STATe

CONFigure:DIGital:HANDshake:SYNChronous:STRobe[:SOURce]

CONFigure:DIGital:WIDTh

[SENSe:]DIGital:HANDshake:THReshold

[SENSe:]DIGital:MEMory:ENABle

SOURce:DIGital:HANDshake:LEVel

SOURce:DIGital:MEMory:ENABle