Agilent Technologies E8267D PSG Instrukcja Obsługi Strona 42

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 100
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 41
38 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 46).
If you do not need the level of detail this section provides, you can find complete programming
examples in “Programming Examples” on page 50. Prior to downloading the I/Q data, ensure that it
conforms to the data requirements shown on page 3. To learn about I/Q data for the signal generator,
see Understanding Waveform Data on page 3. For creating waveform data, see “Creating Waveform
Data” on page 31.
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 46.
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 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 99 100

Komentarze do niniejszej Instrukcji

Brak uwag