GtWaveFuncGetFskSource

Supported By

GX110, GX1120

Applies To

Function Generator mode only.

Purpose

Returns the Frequency shift keying source.

Syntax

GtWaveFuncGetFskSource (nHandle, nChannel, pnSource, 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.
pnSource
PSHORT
Frequency shift keying source:
0.        GTWAVE_FSK_SOURCE_INTERNAL: Frequency shift keying source is internal.
1.        GTWAVE_FSK_SOURCE_EXTERNAL Frequency shift keying source is external.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns the Frequency shift keying source:

 

SHORT  nSource;

GtWaveReset (nHandle, GTWAVE_CHANNEL_A, &nSource, &nStatus);

 

See Also

GtWaveFuncSetFskFrequencies, GtWaveFuncSetFskRate, GtWaveFuncSetFskSource, GtWaveFuncSetFskState ,GtWaveGetErrorString