GxCntGetChannelAFrequencyRange

Purpose

Returns channel A frequency range (GC2220/GC2230/GTX2220/GTX2230 only).

Syntax

GxCntGetChannelAFrequencyRange (nHandle, pnRange, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a counter board.
pnRange
PSHORT
Channel A frequency range:
  • 0 = GXCNT_FREQUENCY_RANGE_NORMAL: Channel A frequency range is DC to 225MHz.
  • 1 = GXCNT_FREQUENCY_RANGE_HIGH: Channel A frequency range is 100MHz to 1.3GHz for the GC2220/GTX2220 or 2GHz for the GC2230/GTX2230.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

When in high frequency range the following channel’s settings are automatically set:

Example

The following example returns the channel A frequency mode:

 

SHORT nHandle, nRange, nStatus;

GxCntGetChannelAFrequencyRange (nHandle, &nRange, &nStatus)

 

See Also

GxCntSetChannelAFrequencyRange, GxCntGetErrorString