GxCntSetChannelAFrequencyRange

Purpose

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

Syntax

GxCntSetChannelAFrequencyRange (nHandle, nRange, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a counter board.
nRange
SHORT
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 GTX2220 or 2GHz for the 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 sets channel A frequency range to high frequency:

 

SHORT nHandle, nStatus;

GxCntSetChannelAFrequencyRange (nHandle, GXCNT_FREQUENCY_RANGE_HIGH, &nStatus)

 

See Also

GxCntGetChannelAFrequencyRange, GxCntGetErrorString