GtWaveFuncSetFskRate

Supported By

GX1110, GX1120

Applies To

Function Generator mode only.

Purpose

Sets the FSK switching rate for Frequency shift keying modulation.

Syntax

GtWaveFuncSetFskRate (nHandle, nChannel, dRate, 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.
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.

Example

The following example sets the FSK switching for frequency shift keying modulation to 100Hz:

 

GtWaveFuncSetFskRate (nHandle, GTWAVE_CHANNEL_A, 100, &nStatus);

 

See Also

GtWaveFuncSetFskFrequencies, GtWaveFuncGetFskRate, GtWaveFuncSetFmSource, GtWaveFuncSetFmState,GtWaveGetErrorString