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.

download

Downloads arbitrary waveform to RF signal generator

Syntax

download(rf, IQData, SampleRate)

Description

example

download(rf, IQData, SampleRate) downloads an arbitrary waveform to the RF signal generator, rf. It accepts a complex vector of doubles containing the IQData and a double defining the SampleRate of the signal.

Examples

collapse all

You can download a waveform to your rfsiggen object and assign the IQData and SampleRate to use.

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 IQData and SampleRate variables to use in the download.

IQData = (-0.98:0.02:1) + 1i*(-0.98:0.02:1);
SampleRate = 800000;

Perform the download.

download(rf, IQData, SampleRate)

Input Arguments

collapse all

IQ data to use in the download, specified as a vector of doubles. This example downloads the data to the RF Signal Generator object rf using the specified IQ data and sample rate.

Example: download(rf, IQData, SampleRate)

Data Types: double
Complex Number Support: Yes

Sample rate of the signal, specified as a double. This example downloads the data to the RF signal generator object rf using the specified IQ data and sample rate.

Example: download(rf, IQData, SampleRate)

Data Types: double

Was this topic helpful?