GtWaveGetMarkerToPxiTriggerBusLine

Supported By

GX1120

Applies To

Function Generator and Arbitrary Waveform Generator modes.

Purpose

Returns the Marker to PXI trigger bus line assignment and the state.

Syntax

GtWaveGetMarkerToPxiTriggerBusLine (nHandle, nChannel, pnLine, pbState, pnStatus)

Parameters

Name

Type

Comments

nHandle
SHORT
Handle to a GX11X0 board.
nChannel
SHORT
Specified Channel number.
GX1120:
0 = GTWAVE_CHANNEL_A: Channel A.
pnLine
PSHORT
A PXI trigger bus line can be assigned to the marker. Only a single line may be connected at any given time. PXI trigger bus line values are:
0.        GTWAVE_PXI_TRIGGER_BUS_LINE0
1.        GTWAVE_PXI_TRIGGER_BUS_LINE1
2.        GTWAVE_PXI_TRIGGER_BUS_LINE2
3.        GTWAVE_PXI_TRIGGER_BUS_LINE3
4.        GTWAVE_PXI_TRIGGER_BUS_LINE4
5.        GTWAVE_PXI_TRIGGER_BUS_LINE5
6.        GTWAVE_PXI_TRIGGER_BUS_LINE6
7.        GTWAVE_PXI_TRIGGER_BUS_LINE7
pbState
PBOOL
Marker to PXI trigger bus line state:
0.        Disconnected.
1.        Connected.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns the marker to PXI trigger bus line assignment and the state:

 

SHORT nLine;

BOOL bState;

GtWaveGetMarkerToPxiTriggerBusLine (nHandle, GTWAVE_CHANNEL_A, &nLine, &bState, &nStatus);

 

See Also

GtWaveSetMarkerToPxiTriggerBusLine, GtWaveSetPxiTriggerBusLine, GtWaveRun, GtWaveStop, GtWaveTrig, GtWaveGetStatusRegister, GtWaveSetAmplitude, GtWaveSetOffset, GtWaveSetOperationMode, GtWaveSetOutputState, GtWaveSetReferenceClockSource, GtWaveGetErrorString