Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

start

Enables RF signal generator signal output and modulation output

Syntax

start(rf, CenterFrequency, OutputPower, LoopCount)

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 dB, 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 dB, 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

Introduced in R2017b

Was this topic helpful?