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
.
Function | Description |
---|---|
drivers |
Return a list of available RF signal generator instrument drivers with their supported instrument models. Example: driverlist = drivers(myRFSigGen); where my |
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 |
download |
Download an arbitrary waveform to the RF signal generator. It accepts a complex
vector of doubles containing the 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:
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 |
reset |
Set the RF signal generator to factory default state. |