GX1110, GX1120
Function Generator mode only.
Sets the Frequency shift keying source.
GtWaveFuncSetFskSource (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 |
Frequency shift keying source:0. GTWAVE_FSK_SOURCE_INTERNAL: Frequency shift keying source is internal.1. GTWAVE_FSK_SOURCE_EXTERNAL Frequency shift keying source is external. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example sets the Frequency shift keying source to internal:
SHORT nSource;
GtWaveFuncGetFskSource (nHandle, GTWAVE_CHANNEL_A, &nSource, &nStatus);
GtWaveFuncSetFskFrequencies, GtWaveFuncSetFskRate, GtWaveFuncGetFskSource, GtWaveFuncSetFmState, GtWaveGetErrorString