CONFigure:DIGital:HANDshake:STATe
Syntax
CONFigure:DIGital:HANDshake:STATe <mode>, (@<ch_list>)
CONFigure:DIGital:HANDshake:STATe? (@<ch_list>)
Description
This command controls the behavior of the handshake lines on the specified bank on the 34950A Digital I/O Module. In the "high impedance" state (default), the output handshake lines (H0 and H1) are in a disconnected state. In the "OFF" state, the handshake lines are driven, but they don't change state when input or output operations occur. In the "ON" state, handshaking operations are enabled and are fully operational.
Since handshaking is used only for transfers involving the first channel on a bank, 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).
Used With:
34950A Digital I/O Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<mode> |
Discrete |
{HIMPedance|OFF|ON} |
HIMPedance |
<ch_list>
|
Numeric
|
The first channel on a bank in the form (@sccc).
|
This is a required parameter
|
Remarks
When buffered memory input/output operations are enabled (see [SENSe:]DIGital:MEMory:ENABle and SOURce:DIGital:MEMory:ENABle commands), the handshake line are automatically set to the "ON" state.
The handshake lines and the INTR (interrupt) lines on each bank share their drive mode, input threshold voltage, and output level settings. See the CONFigure:DIGital:HANDshake:DRIVe command to set the drive mode (active versus open collector). See the [SENSe:]DIGital:HANDshake:THReshold command to set the input threshold voltage. See the SOURce:DIGital:HANDshake:LEVel command to set the output voltage level.
The selected configuration is stored in volatile memory and will be set to "HIMP" when power is turned off or after a Factory Reset (*RST command).
Return Format
The query command returns "HIMP", "OFF", or "ON" for the specified channels. Multiple responses are separated by commas.
Examples
The following program segment enables the handshake lines on the module in slot 3.
CONF:DIG:WIDTH WORD,(@3101) !Width
= 16 bits
CONF:DIG:DIR OUTP,(@3101) !Direction
= Output
CONF:DIG:HAND:STAT ON,(@3101) !Select
enabled mode
The following query returns the handshake mode in use on the module in slot 3.
CONF:DIG:HAND:STAT? (@3101)
Typical Response: ON
See Also
CONFigure:DIGital:HANDshake:DRIVe
[SENSe:]DIGital:HANDshake:THReshold
SOURce:DIGital:HANDshake:LEVel