GX1110, GX1120
Function Generator and Arbitrary Waveform Generator modes.
Returns the AM modulation source.
GtWaveGetAmSource (nHandle, nChannel, 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 |
AM modulation source are:0. GTWAVE_AM_SOURCE_INTERNAL: AM modulation source internal.1. GTWAVE_AM_SOURCE_EXTERNAL: AM modulation source external. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example returns the AM modulation source:
SHORT nSource;
GtWaveGetAmSource (nHandle, GTWAVE_CHANNEL_A, &nSource, &nStatus);
GtWaveSetAmDepth, GtWaveSetAmFrequency, GtWaveSetAmSource, GtWaveSetAmState, GtWaveSetAmWaveform, GtWaveGetErrorString