Using Simulation Software - Keysight E4428C ESG RF Programming Manual

Signal generators
Table of Contents

Advertisement

Creating and Downloading Waveform Files
Downloading Waveform Data
For advanced programming languages, this section closely examines the code algorithm for
downloading I/Q waveform data by breaking the programming examples into functional parts and
explaining the code in generic terms. This is done to help you understand the code algorithm in
downloading the interleaved I/Q data, so you can leverage the concept into your programming
environment. While not discussed in this section, you may also save the data to a binary file and use
one of the download utilities to download the waveform data (see "Using the Download Utilities" on
page 258).
If you do not need the level of detail this section provides, you can find complete programming
examples in "Programming Examples" on page 262. Prior to downloading the I/Q data, ensure that it
conforms to the data requirements shown on page 215. To learn about I/Q data for the signal
generator, see "Understanding Waveform Data" on page 215. For creating waveform data, see "Creating
Waveform Data" on page 243.
NOTE
To avoid overwriting the current waveform in volatile memory, before downloading files into
volatile memory (WFM1), change the file name or turn off the ARB. For more information, on
manually turning off the ARB, refer to the User's Guide.
To turn off the ARB remotely, send: :SOURce:RADio:ARB:STATe OFF.

Using Simulation Software

This procedure uses a complex data array created in MATLAB and uses the Keysight Waveform
Download Assistant to download the data. To obtain the Keysight Waveform Download Assistant, see
"Using the Download Utilities" on page 258.
There are two steps in the process of downloading an I/Q waveform:
1. Open a connection session.
2. Download the I/Q data.
1. Open a connection session with the signal generator.
The following code establishes a LAN connection with the signal generator, sends the IEEE SCPI
command *idn?, and if the connection fails, displays an error message.
Line
Code—Open a Connection Session
1
io = agt_newconnection('tcpip','IP address');
%io = agt_newconnection('gpib',<primary address>,<secondary address>);
2
[status,status_description,query_result] = agt_query(io,'*idn?');
3
if status == -1
4
display 'fail to connect to the signal generator';
5
end;
250
Keysight Signal Generators Programming Guide

Advertisement

Table of Contents
loading

Table of Contents