GX110, GX1120
Function Generator mode only.
Returns the switching rate for the two frequency shift keying frequencies.
GtWaveFuncGetFskRate (nHandle, nChannel, pdRate, 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. |
pdRate |
PDOUBLE |
Rate of switching between the two frequencies of the 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 returns the switching rate for the two frequency shift keying frequencies:
DOUBLEdRate;
GtWaveFuncGetFskRate (nHandle, GTWAVE_CHANNEL_A, &dRate, &nStatus);
GtWaveFuncSetFskFrequencies, GtWaveFuncSetFskRate, GtWaveFuncSetFskSource, GtWaveFuncSetFmState,GtWaveGetErrorString