imgSessionTriggerRoute

NI IMAQ Function

imgSessionTriggerRoute

Usage

rval imgSessionTriggerRoute(SESSION_ID sid, uInt32 srcTrig, uInt32 dstTrig);

Purpose

Drives the destination trigger line with the signal on the source trigger line.

Note  This function is obsolete. The replacement function is imgSessionTriggerRoute2, which incorporates the functionality of imgSessionTriggerRoute but also returns additional information.

Parameters

Name Type Direction
sid SESSION_ID input
srcTrig uInt32 input
dstTrig uInt32 input

Parameter Discussion

sid: valid SESSION_ID.

srcTrig: source trigger line. srcTrig can be one of the following constants:

IMG_EXT_TRIG0IMG_EXT_TRIG1
IMG_EXT_TRIG2IMG_EXT_TRIG3
IMG_EXT_RTSI0IMG_EXT_RTSI1
IMG_EXT_RTSI2IMG_EXT_RTSI3
IMG_EXT_RTSI4IMG_EXT_RTSI5
IMG_EXT_RTSI6 

dstTrig: destination trigger line. dstTrig can be one of the following constants:

IMG_EXT_TRIG0IMG_EXT_TRIG1
IMG_EXT_TRIG2IMG_EXT_TRIG3
IMG_EXT_RTSI0IMG_EXT_RTSI1
IMG_EXT_RTSI2IMG_EXT_RTSI3
IMG_EXT_RTSI4IMG_EXT_RTSI5
IMG_EXT_RTSI6 

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.

For more information, refer to the Obsolete functions topic.