GX1110, GX1120
Function Generator and Arbitrary Waveform Generator modes.
Returns the reference clock source.
GtWaveGetReferenceClockSource (nHandle, pnSource, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX11X0 board. |
nChannel |
SHORT |
Specified Channel number.GX1120:0 = GTWAVE_CHANNEL_A: Channel A.GX1120:0 = GTWAVE_CHANNEL_A: Channel A.1 = GTWAVE_CHANNEL_B: Channel B. |
pnSource |
PSHORT |
Reference clock source are:0. GTWAVE_REF_CLOCK_SOURCE_INTERNAL: Reference clock source is the internal 10MHz clock1. GTWAVE_REF_CLOCK_SOURCE_EXTERNAL: Reference clock source is the external clock2. GTWAVE_REF_CLOCK_SOURCE_PXI10MHZ Reference clock source is the PXI backplan 10MHz clock |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example returns the reference clock source:
SHORT nSource;
GtWaveGetReferenceClockSource (nHandle, GTWAVE_CHANNEL_A, &nSource, &nStatus);
GtWaveSetMarkerToPxiTriggerBusLine, GtWaveRun, GtWaveStop, GtWaveTrig, GtWaveGetStatusRegister, GtWaveSetAmplitude, GtWaveSetOffset, GtWaveSetOperationMode, GtWaveSetOutputState, GtWaveSetReferenceClockSource, GtWaveGetErrorString