This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Quick-Control RF Signal Generator Functions

The rfsiggen function uses the following functions, in addition to standard Instrument Control Toolbox™ functions such as connect and disconnect.

FunctionDescription
drivers

Return a list of available RF signal generator instrument drivers with their supported instrument models.

Example:

driverlist = drivers(myRFSigGen);

where my myRFSigGen is the name of the rfsiggen object.

resources

Retrieve a list of available instrument resources. It returns a list of available VISA resource strings when using an IVI-C RF signal generator.

Example:

res = resources(myRFSigGen);

where my myRFSigGen is the name of the rfsiggen object.

download

Download an arbitrary waveform to the RF signal generator. It accepts a complex vector of doubles containing the IQData and a double defining the SampleRate of the signal.

Example:

rf = rfsiggen('TCPIP0::172.28.22.99::inst0::INSTR','AgRfSigGen')
    IQData = (-0.98:0.02:1) + 1i*(-0.98:0.02:1);
    SampleRate = 800000;
    download(rf, IQData, SampleRate)
start

Enable the RF signal generator 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.

Example:

rf = rfsiggen('TCPIP0::172.28.22.99::inst0::INSTR','AgRfSigGen')
    CenterFrequency = 4000000
    OutputPower = 0
    LoopCount = inf
    start(rf, CenterFrequency, OutputPower, LoopCount)
stop

Stop the RF signal generator signal output and modulation output.

stop(rf);

where rf is the name of the rfsiggen object.

reset

Set the RF signal generator to factory default state.

Related Topics