DioGetPxiStarTriggerMode

Applies To

GX5280, GX5290, GX5290e, GX5295, File

Purpose

Returns the board PXI Star Trigger input mode.

Syntax

DioGetPxiStarTriggerMode (nMasterHandle, pnMode, pnStatus)

Parameters

Name
Type
Comments
nMasterHandle
SHORT
Master board or File board handle.
pnMode
PSHORT
PXI Star Trigger mode:
0. DIO_PXI_STAR_TRIGGER_DISABLED: the DIO star trigger input is disabled.
1. DIO_PXI_STAR_TRIGGER_TO_PAUSE: the star trigger input will pause the board.
2. DIO_PXI_STAR_TRIGGER_TO_TRIGGER: the DIO star trigger input will trigger the board.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

When the DIO PXI Star Trigger is set to either trigger or pause the board the input signal can be programmed to respond to low level or rising edge. See for details DioSetupSignalEdgeOrLevelMode.

Example

The following example returns the PXI Star Trigger mode:

 

SHORT nMode;

DioGetPxiStarTriggerMode (nMasterHandle, &nMode, &nStatus);

 

See Also

DioSetupPxiStarTriggerMode, DioSetupSignalEdgeOrLevelMode, DioSetupPxiTriggerBusLineMode, DioGetErrorString