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:
Handshake Drive = ACTive (see CONFigure:DIGital:HANDshake:DRIVe command)
Handshake Line State = ON (see CONFigure:DIGital:HANDshake:STATe command)
Handshake Cycle Time = 1 ms (see CONFigure:DIGital:HANDshake:CTIMe command)
Handshake Rate = 1 kHz (see CONFigure:DIGital:HANDshake:RATE command)
Synchronous Clock Source = INTernal (see CONFigure:DIGital:HANDshake:SYNChronous:STRobe[:SOURce] command)
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).
|
This is a required parameter
|
Remarks
Handshaking can be used with buffered or unbuffered memory operations (see [SENSe:]DIGital:MEMory:ENABle and SOURce:DIGital:MEMory:ENABle commands).
To set the threshold voltage independently, you can use the [SENSe:]DIGital:HANDshake:THReshold command.
To set the logic "1" voltage level independently, you can use the SOURce:DIGital:HANDshake:LEVel command.
To set the logic polarity independently, you can use the CONFigure:DIGital:HANDshake:POLarity command.
The *RST command will clear the scan list and set all measurement parameters to their factory settings. The Instrument Preset (SYSTem:PRESet command) will not clear the scan list; however, this command will clear reading memory.
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]
[SENSe:]DIGital:HANDshake:THReshold
SOURce:DIGital:HANDshake:LEVel