CONFigure:DIGital:HANDshake:CTIMe
Syntax
CONFigure:DIGital:HANDshake:CTIMe {<seconds>|MIN|MAX|DEF}, (@<ch_list>)
CONFigure:DIGital:HANDshake:CTIMe? [{MIN|MAX},] (@<ch_list>)
Description
This command sets the cycle time, which controls the pacing of handshaking operations on the 34950A Digital I/O Module. Based on the specified cycle time, the module derives the clock rate for the handshaking operation. The specified cycle time 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:RATE command, which controls the pacing of the handshaking operations by specifying a frequency in hertz. |
Used With:
34950A Digital I/O Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<seconds> |
Numeric |
100 ns to 100 ms. |
1 ms |
<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 cycle time is stored in volatile memory and will be set to 1 ms when power is turned off or after a Factory Reset (*RST command).
Return Format
The query command returns the cycle time in seconds in the form "+1.00000000E+00". Multiple responses are separated by commas.
Examples
The following program segment sets the cycle time to 500 ns 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:CTIME 500E-9,(@3101) !Set
timeout to 500 ns
The following query returns the cycle time selected on the module in slot 3.
CONF:DIG:HAND:CTIME? (@3101)
Typical Response: +5.00000000E-07
See Also
CONFigure:DIGital:HANDshake:DRIVe
CONFigure:DIGital:HANDshake:POLarity
CONFigure:DIGital:HANDshake:RATE
[SENSe:]DIGital:HANDshake:THReshold