CONFigure:DIGital:HANDshake:RATE
Syntax
CONFigure:DIGital:HANDshake:RATE {<frequency>|MIN|MAX|DEF}, (@<ch_list>)
CONFigure:DIGital:HANDshake:RATE? [{MIN|MAX},] (@<ch_list>)
Description
This command sets the handshake rate, which controls the pacing of handshaking operations on the 34950A Digital I/O Module. Based on the specified rate, the module derives the clock rate for the handshaking operation. The specified rate can be used with buffered or unbuffered memory operations (see [SENSe:]DIGital:MEMory:ENABle and SOURce:DIGital:MEMory:ENABle commands).
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 is the reciprocal of the CONFigure:DIGital:HANDshake:CTIMe command, which controls the pacing of the handshaking operations by specifying a time in seconds. |
Used With:
34950A Digital I/O Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<frequency> |
Numeric |
10 Hz to 10 MHz. |
1 kHz |
<ch_list>
|
Numeric
|
The first channel on a bank in the form (@sccc).
|
This is a required parameter
|
Remarks
For more information on the available handshake modes, with their corresponding timing diagrams, see the Agilent 34980A User's Guide.
-
The behavior of the three handshake lines depends on whether buffered memory input/output operations are enabled (see [SENSe:]DIGital:MEMory:ENABle and SOURce:DIGital:MEMory:ENABle commands).
H0 Line
H1 Line
H2 Line
Unbuffered Transfers
I/O Direction (output)
Strobe (output)
Not Used (Hi-Z)
Buffered Transfers
Start/Stop (output)
Strobe (output)
Input Strobe (input)
The handshake rate is stored in volatile memory and will be set to 1 kHz when power is turned off or after a Factory Reset (*RST command).
Return Format
The query command returns the handshake rate in hertz in the form "+1.00000000E+00". Multiple responses are separated by commas.
Examples
The following program segment sets the handshake rate to 5 KHz on the module in slot 3.
CONF:DIG:WIDTH WORD,(@3101) !Width
= 16 bits
CONF:DIG:DIR OUTP,(@3101) !Direction
= Output
CONF:DIG:HAND:MODE SYNC,(@3101) !Select
synchronous transfer mode
CONF:DIG:HAND:RATE 5E3,(@3101) !Set
timeout to 5 kHz
The following query returns the handshake rate selected on the module in slot 3.
CONF:DIG:HAND:RATE? (@3101)
Typical Response: +5.00000000E+03
See Also
CONFigure:DIGital:HANDshake:CTIMe
CONFigure:DIGital:HANDshake:DRIVe
CONFigure:DIGital:HANDshake:POLarity
[SENSe:]DIGital:HANDshake:THReshold