GX110, GX1120
Function Generator mode only.
Returns the Frequency shift keying modulation frequencies.
GtWaveFuncGetFskFrequencies (nHandle, nChannel, pdHighFrequency, pdLowFrequency, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX1120 board. |
nChannel |
SHORT |
Specified Channel number.GX1120:0 = GTWAVE_CHANNEL_A: Channel A. |
pdHighFrequency |
PDOUBLE |
High Frequency shift keying modulation frequency.GX1120:Range from GTWAVE_GX1120_FSK_MIN_FREQUENCY (10.0E-6) to GTWAVE_GX1120_FSK_MAX_FREQUENCY (50.0E+6).GX1120:Range from GTWAVE_GX1120_FSK_MIN_FREQUENCY (1.0E-6) to GTWAVE_GX1120_FSK_MAX_FREQUENCY (100.0E+6) |
pdLowFrequency |
PDOUBLE |
Low Frequency shift keying modulation frequencyGX1120:Range from GTWAVE_GX1120_FSK_MIN_FREQUENCY (10.0E-6) to GTWAVE_GX1120_FSK_MAX_FREQUENCY (50.0E+6).GX1120:Range from GTWAVE_GX1120_FSK_MIN_FREQUENCY (1.0E-6) to GTWAVE_GX1120_FSK_MAX_FREQUENCY (100.0E+6) |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example returns the frequency shift keying modulation frequencies:
DOUBLEdHighFrequency, &dLowFrequency;
GtWaveFuncGetFskFrequencies (nHandle, GTWAVE_CHANNEL_A, &dHighFrequency, &dLowFrequency, &nStatus);
GtWaveFuncSetFskFrequencies, GtWaveFuncSetFskRate, GtWaveFuncSetFskSource, GtWaveFuncSetFskState,GtWaveGetErrorString