Write/Read
About SA Application

SourceCWFrequency Property


Description

Set and read the source CW frequency.

VB Syntax

sa.SourceCWFrequency (source) = value

Variable

(Type) - Description

sa

A SpectrumAnalyzer (object)

source

(String) Source name enclosed in quotes. Use SourcePortNames to read a list of available source port names. See also Remotely Specifying a Source Port.

value

(Double) CW frequency in Hz. Choose a value within the frequency range of the analyzer.

Return Type

Double

Default

Center frequency of the analyzer.

Examples

sa.SourceCWFrequency("Port 1") = 1e9  'Write

value = sa.SourceCWFrequency("Port 1") 'Read

See an example program.

C++ Syntax

HRESULT put_SourceCWFrequency(BSTR sourcename, double frequency);

HRESULT get_SourceCWFrequency(BSTR sourcename, double* frequency);

Interface

ISpectrumAnalyzer