Agilent Technologies E8257D PSG Instrukcja Użytkownika Strona 84

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 83
72 Agilent N516xA, N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Programming Examples
Using the Programming Interface Examples
NOTE If you want to use VISA functions such as viWrite, then you must add the visa32.bas module
to your Visual Basic project.
The signal generator’s VXI- 11 SCPI service must be on before you can run the Download Visual Basic
6.0 programming example.
NOTE To communicate with the signal generator over the LAN interface you must enable the
VXI- 11 SCPI service. For more information, refer to “Configuring the VXI–11 for LAN
(Agilent MXG)” on page 30 and “Configuring the VXI–11 for LAN (ESG/PSG/E8663B)” on
page 31.
You can start a new Standard EXE project and add the required references. Once the required
references are included, you can copy the example programs into your project and add a command
button to Form1 that will call the program.
The example Visual Basic 6.0 programs are available on the signal generator Documentation CD- ROM,
enabling you to cut and paste the examples into your project.
Visual Basic Examples
The Visual Basic examples enable the use of waveform files and are located in Chapter 5.
“Creating I/Q Data—Little Endian Order” on page 275
“Downloading I/Q Data” on page 277
HP Basic Examples
“Interface Check using HP Basic and GPIB” on page 78
“Local Lockout Using HP Basic and GPIB” on page 81
Queries Using HP Basic and GPIB on page 84
“Queries Using HP Basic and RS- 232” on page 145
Using 8757D Pass-Thru Commands (PSG with Option 007 Only) on page 109
Running Java Examples
The Java program “Sockets LAN Programming Using Java” on page 139, connects to the signal
generator via sockets LAN. This program requires Java version 1.1 or later be installed on your PC.
For more information on sockets LAN programming with Java, refer to “Sockets LAN Programming
Using Java” on page 139.
Running MATLAB Examples
For information regarding programming examples and files required to create and play waveform
files, refer to Chapter 5.
Przeglądanie stron 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 379 380

Komentarze do niniejszej Instrukcji

Brak uwag