Main Content

start

Enables RF signal generator signal output and modulation output

Description

example

start(rf, CenterFrequency, OutputPower, LoopCount) enables signal output and modulation output for the RF signal generator rf. All three arguments are required.

Examples

collapse all

Use the start function on an RF signal generator object to start signal output and modulation output. It takes a double value for each of the three required arguments: CenterFrequency specified in Hz, OutputPower specified in dBm, and LoopCount, which represents the number of times the waveform should be repeated.

Create an rfsiggen object to communicate with an RF signal generator, using the VISA resource string and driver associated with your own instrument.

rf = rfsiggen('TCPIP0::172.28.22.99::inst0::INSTR','AgRfSigGen')

When you designate the Resource and Driver properties during object creation, it automatically connects to the instrument.

Assign the CenterFrequency, OutputPower, and LoopCount variables to use in the signal generation.

CenterFrequency = 4000000
OutputPower = 0
LoopCount = inf

Start the signal generation.

start(rf, CenterFrequency, OutputPower, LoopCount)

Input Arguments

collapse all

Center frequency for the waveform, specified as a double. This value, in Hz, should be the first argument after the object name.

Example: start(rf, CenterFrequency, OutputPower, LoopCount)

Data Types: double

Output power for the RF signal generation, specified as a double. This value, in dBm, should be the second argument after the object name.

Example: start(rf, CenterFrequency, OutputPower, LoopCount)

Data Types: double

Number of times to repeat waveform, specified as a double. This value should be the third argument after the object name.

Example: start(rf, CenterFrequency, OutputPower, LoopCount)

Data Types: double

Version History

Introduced in R2017b