GX110, GX1120
Function Generator and Arbitrary Waveform Generator modes.
Sets the AM modulation source.
GtWaveSetAmSource (nHandle, nChannel, 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 |
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 sets the AM modulation source to internal:
GtWaveSetAmSource (nHandle, GTWAVE_CHANNEL_A, GTWAVE_AM_SOURCE_INTERNAL, &nStatus);
GtWaveSetAmDepth, GtWaveSetAmFrequency, GtWaveGetAmSource, GtWaveSetAmState, GtWaveSetAmWaveform, GtWaveGetErrorString