GX1110, GX1120
Function Generator mode only.
Sets the FSK switching rate for Frequency shift keying modulation.
GtWaveFuncSetFskRate (nHandle, nChannel, dRate, 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. |
dRate |
DOUBLE |
Rate of switching between the two frequencies for frequency shift keying modulation.GX1120:The rate can be set between 0.01Hz to 100KHz.GX1120:The rate can be set between 0.01Hz to 1MHz. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example sets the FSK switching for frequency shift keying modulation to 100Hz:
GtWaveFuncSetFskRate (nHandle, GTWAVE_CHANNEL_A, 100, &nStatus);
GtWaveFuncSetFskFrequencies, GtWaveFuncGetFskRate, GtWaveFuncSetFmSource, GtWaveFuncSetFmState,GtWaveGetErrorString