DioGetSkewDelay

Applies To

GX5055, GX5295, File

Purpose

Returns the channel skew delay.

Syntax

DioGetSkewDelay (nHandle, nChannel, nSource, nEdge, pdDelay, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Master board handle, Board handle or File board handle.
nChannel
SHORT
If Board Handle was passed:
Channel number in the DIO board, each board has 32 I/O channels, I/O channels number range is 0-31.
GX5295: Each DIO board has 4 Auxiliary channels number range is 0-3.
If Master Board Handle was supposed:
Channel number in the DIO domain, each DIO board adds 32 I/O channels, I/O channels number range is 0-991 (1 master and 30 slaves).
Gx5295: Each DIO board adds 4 Auxiliary channels, Auxiliary channels number range is 0-123 (1 master and 30 slaves).
nSource
SHORT
Delay source can be as follows:
0 DIO_SKEW_DELAY_OUTPUT_DATA: add delay to the output driver data in reference to the DIO clock.
1 DIO_SKEW_DELAY_OUTPUT_DATA_ENABLE: add delay to the output driver data enable in reference to the DIO clock. Delaying the output data enable adds an additional delay output driver data in reference to the DIO clock.
2 DIO_SKEW_DELAY_INPUT_LOW_THRESHOLD: apply the delay to the input low voltage threshold comparator.
3 DIO_SKEW_DELAY_INPUT_HIGH_THRESHOLD: apply the delay to the input high voltage threshold comparator.
nEdge
SHORT
Delay edge can be as follows:
0. DIO_RISING_EDGE: signal rising edge.
1. DIO_FALLING_EDGE: signal falling edge.
pdDelay
PDOUBLE
GX5055 Output Rising Edge:
Output skew delay can be set from 0 ns to +9.6875 ns with 312.5 ps resolution.
GX5055 Input falling edge:
Skew delay can be set from -2.5 ns to +2.1875 ns with 312.5 ps resolution.
GX5295 Output Rising Edge:
Output skew delay can be set from 0 ns to + 4.6875 ns with 19.53 ps resolution.
The propagation delay circuitry adds timing delay to the rising edge and the falling edge in equal amounts. Propagation delay adjustment is typically used for aligning the timing of multiple channels inside a tester.
GX5295 Output Falling Edge:
Output falling edge skew delay can be set from -2.5 ns to +2.1875 ns with 19.53 ps resolution.
The falling edge delay circuitry adds or subtracts timing delay to or from the falling edge while having no effect on the rising edge. Propagation delay adjustment is typically used for removing any pulse width distortion inside a tester.
GX5295 Input Rising Edge:
Input skew delay can be set from 0 ns to + 4.6875 ns with 19.53 ps resolution.
The propagation delay circuitry adds timing delay to the rising edge and the falling edge in equal amounts. Propagation delay adjustment is typically used for aligning the timing of multiple channels inside a tester.
GX5295 Input Falling Edge:
Input falling edge skew delay can be set from -156.25 ps to +146.5 ps with 9.76 ps resolution.
The falling edge delay circuitry adds or subtracts timing delay to or from the falling edge while having no effect on the rising edge. Propagation delay adjustment is typically used for removing any pulse width distortion inside a tester.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Output skew delays:

Each channel output has timing capability with the following characteristics:

     Separate and independent delay circuitry for the driver output data and the driver output data enable.

     Separate and independent delay circuitry for each channel.

     Propagation delay adjust (both rising and edge Tpd are delayed equally).

Input skew delays:

Each channel’s input high and low voltage threshold comparators have timing capability with the following characteristics:

     Separate and independent delay circuitry for the high and low voltage threshold comparators.

     Separate and independent delay circuitry each channel.

     Propagation delay adjust (both rising and edge Tpd are delayed equally).

Channels output rising and falling edge skew delays can be read back and set dynamically at any time even while the DIO is running mode.

Example

The following example sets channel 0 delay edge skew of the output data to 2.0ns:

 

DOUBLE dDelay;

DioGetSkewDelay (nHandle, 0, DIO_OUTPUT_SKEW_DELAY_DATA, DIO_RISING_EDGE, &dDelay, &nStatus);

 

See Also

DioSetupSkewDelay, DioSetupInputLoadCommutatingVoltage, DioSetupInputLoadResistance, DioSetupInputThresholdVoltages, DioGetErrorString