GtWaveSetMarkerToPxiTriggerBusLine

Supported By

GX1120

Applies To

Function Generator and Arbitrary Waveform Generator modes.

Purpose

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

Syntax

GtWaveSetMarkerToPxiTriggerBusLine (nHandle, nChannel, nLine, bState, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX11X0 board.
nChannel
SHORT
Specified Channel number.
GX1120:
0 = GTWAVE_CHANNEL_A: Channel A.
 
nLine
SHORT
A PXI trigger bus line assigned to the marker. Only single line may be connected at any given time. PXI trigger bus line value 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
bState
BOOL
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 assigns the marker to PXI trigger bus line 1 and the state to enable:

 

GtWaveSetMarkerToPxiTriggerBusLine (nHandle, GTWAVE_CHANNEL_A, GTWAVE_PXI_TRIGGER_BUS_LINE1, TRUE, &nStatus);

 

See Also

GtWaveGetMarkerToPxiTriggerBusLine, GtWaveRun, GtWaveStop, GtWaveTrig, GtWaveGetStatusRegister, GtWaveSetAmplitude, GtWaveSetOffset, GtWaveSetOperationMode, GtWaveSetOutputState, GtWaveSetReferenceClockSource, GtWaveGetErrorString