GX1120
Function Generator and Arbitrary Waveform Generator modes.
Returns the Marker to PXI trigger bus line assignment and the state.
GtWaveGetMarkerToPxiTriggerBusLine (nHandle, nChannel, pnLine, pbState, pnStatus)
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_LINE01. GTWAVE_PXI_TRIGGER_BUS_LINE12. GTWAVE_PXI_TRIGGER_BUS_LINE23. GTWAVE_PXI_TRIGGER_BUS_LINE34. GTWAVE_PXI_TRIGGER_BUS_LINE45. GTWAVE_PXI_TRIGGER_BUS_LINE56. GTWAVE_PXI_TRIGGER_BUS_LINE67. 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. |
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);
GtWaveSetMarkerToPxiTriggerBusLine, GtWaveSetPxiTriggerBusLine, GtWaveRun, GtWaveStop, GtWaveTrig, GtWaveGetStatusRegister, GtWaveSetAmplitude, GtWaveSetOffset, GtWaveSetOperationMode, GtWaveSetOutputState, GtWaveSetReferenceClockSource, GtWaveGetErrorString