DioGetAuxiliaryToTimingOutput

Applies To

GX5295, File

Purpose

Returns the specified Auxiliary channel connections to the timing output signals.

Syntax

DioGetAuxiliaryToTimingOutput (nHandle, nAuxChannel, pdwOutputSignal, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board or File board handle.
nAuxChannel
SHORT
Specified Auxiliary Pin Electornics channel in the DIO board, channel can be as follows:
1000 DIO_AUX_CHANNEL_0: Auxiliary Pin Electronics channel 0.
1001 DIO_AUX_CHANNEL_1: Auxiliary Pin Electronics channel 1.
1002 DIO_AUX_CHANNEL_2: Auxiliary Pin Electronics channel 2.
1003 DIO_AUX_CHANNEL_3: Auxiliary Pin Electronics channel 3.
pdwOutputSignal
PDWORD
The Auxiliary channel can be connected to configured to any of the following timing signals:
  • DIO_AUX_TO_EXTERNAL_OUT_DISABLED = 0x0: Disconnect all specified Auxiliary channel to external output signals, default state after calling DioReset API.
  • DIO_AUX_TO_CLOCK_OUT = 0x1: Auxiliary channel is connected to User Output Clock (OClk) pin number 22 on the Timing connector (J3).
  • DIO_AUX_TO_STROBE_OUT = 0x2: Auxiliary channel is connected to Strobe Output (OStb) pin number 24 on the Timing connector (J3).
  • DIO_AUX_TO_RUN_OUT = 0x4: Auxiliary channel is connected to Output Run Indication (ORun) pin number 18 on the Timing connector (J3).
  • DIO_AUX_TO_ARM_OUT = 0x8: Auxiliary channel is connected to Output Arm Indication (OArm) pin number 17 on the Timing connector (J3).
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Using the auxiliary channels capabilities of programmed output levels and skew delays the user can better conditioning those signals to meet his UUT requirements.

Example

The following example returns Auxiliary channel 0 connections to the timing output signal:

 

DWORD dwOutputSignal;

DioGetAuxiliaryToTimingOutput (nHandle, DIO_AUX_CHANNEL_0, &dwOutputSignal, &nStatus);

 

See Also

DioSetupAuxiliaryToTimingInput, DioSetupAuxiliaryToTimingOutput, DioGetErrorString