Agilent Technologies E8257D PSG Instrukcja Użytkownika Strona 246

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 245
234 Agilent N516xA, N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
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 242).
If you do not need the level of detail this section provides, you can find complete programming
examples in “Programming Examples” on page 246. Prior to downloading the I/Q data, ensure that it
conforms to the data requirements shown on page 199. To learn about I/Q data for the signal
generator, see “Understanding Waveform Data” on page 199. For creating waveform data, see
“Creating Waveform Data” on page 227.
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 Agilent Waveform
Download Assistant to download the data. To obtain the Agilent Waveform Download Assistant, see
“Using the Download Utilities” on page 242.
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
2
3
4
5
io = agt_newconnection('tcpip','IP address');
%io = agt_newconnection('gpib',<primary address>,<secondary address>);
[status,status_description,query_result] = agt_query(io,'*idn?');
if status == -1
display ‘fail to connect to the signal generator’;
end;
Przeglądanie stron 245
1 2 ... 241 242 243 244 245 246 247 248 249 250 251 ... 379 380

Komentarze do niniejszej Instrukcji

Brak uwag