GtWaveFuncGetFskRate

Supported By

GX110, GX1120

Applies To

Function Generator mode only.

Purpose

Returns the switching rate for the two frequency shift keying frequencies.

Syntax

GtWaveFuncGetFskRate (nHandle, nChannel, pdRate, pnStatus)

Parameters

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.

Example

The following example returns the switching rate for the  two  frequency shift keying frequencies:

 

DOUBLEdRate;

GtWaveFuncGetFskRate (nHandle, GTWAVE_CHANNEL_A, &dRate, &nStatus);

 

See Also

GtWaveFuncSetFskFrequencies, GtWaveFuncSetFskRate, GtWaveFuncSetFskSource, GtWaveFuncSetFmState,GtWaveGetErrorString