GX110, GX1120
Function Generator and Arbitrary Waveform Generator modes.
Sets the reference clock source.
GtWaveSetReferenceClockSource (nHandle, nSource, 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. |
nSource |
SHORT |
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 sets the reference clock source to internal:
GtWaveSetReferenceClockSource (nHandle, GTWAVE_CHANNEL_A, GTWAVE_REF_CLOCK_SOURCE_INTERNAL, &nStatus);
GtWaveSetMarkerToPxiTriggerBusLine, GtWaveRun, GtWaveStop, GtWaveTrig, GtWaveGetStatusRegister, GtWaveSetAmplitude, GtWaveSetOffset, GtWaveSetOperationMode, GtWaveSetOutputState, GtWaveGetReferenceClockSource, GtWaveGetErrorString