start
Enables RF signal generator signal output and modulation output
Description
start(rf,
enables signal output and modulation output for the RF signal generator
CenterFrequency
, OutputPower
, LoopCount
)rf
. All three arguments are required.
Examples
Start RF Signal Generator Signal and Modulation Output
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
CenterFrequency
— Center frequency for the waveform
double
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
OutputPower
— Output power for the RF signal generation
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
LoopCount
— Number of times to repeat waveform
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
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)