GX1120
Function Generator and Arbitrary Waveform Generator modes.
Sets the Marker to PXI trigger bus line assignment and the state.
GtWaveSetMarkerToPxiTriggerBusLine (nHandle, nChannel, nLine, bState, pnStatus)
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_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 |
bState |
BOOL |
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 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);
GtWaveGetMarkerToPxiTriggerBusLine, GtWaveRun, GtWaveStop, GtWaveTrig, GtWaveGetStatusRegister, GtWaveSetAmplitude, GtWaveSetOffset, GtWaveSetOperationMode, GtWaveSetOutputState, GtWaveSetReferenceClockSource, GtWaveGetErrorString