Write/Read
About Frequency

CenterFrequency Property


Description

Sets or returns the center frequency of the channel
or

Sets or returns the center frequency of the segment.

See the Measurement2 Interface to learn how this method differs from meas.Center.

VB Syntax

object.centerFrequency = value

Variable

(Type) - Description

object

A Channel (object)

or

A Segment (object)

value

(double) - Center frequency in Hertz. Choose any number between the minimum and maximum frequencies of the analyzer.

Return Type

Double

Default

Center of the frequency range

Examples

chan.centerFrequency = 4.5e9 'sets the center frequency of a linear sweep for the channel object -Write

centfreq = chan.centerFrequency 'Read

C++ Syntax

HRESULT get_CenterFrequency(double *pVal)
HRESULT put_CenterFrequency(double newVal)

Interface

IChannel

ISegment