Running java examples, Running matlab examples, Running perl examples – Agilent Technologies N5183A MXG User Manual
Page 71
![background image](/manuals/34672/71/background.png)
Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
61
Programming Examples
Using the Programming Interface Examples
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
•
“Creating I/Q Data—Little Endian Order” on page 262
•
“Downloading I/Q Data” on page 265
HP Basic Examples
•
“Interface Check using HP Basic and GPIB” on page 66
•
“Local Lockout Using HP Basic and GPIB” on page 69
•
“Queries Using HP Basic and GPIB” on page 72
•
“Queries Using HP Basic and RS- 232” on page 134
•
“Using 8757D Pass- Thru Commands (PSG with Option 007 Only)” on page 98
Running Java Examples
The Java program
“Sockets LAN Programming Using Java” on page 128
, 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
.
Running MATLAB Examples
For information regarding programming examples and files required to create and play waveform
files, refer to
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
and
“Configuring the VXI- 11 for LAN (ESG/PSG/E8663B)” on
Running Perl Examples
The Perl example
“Sockets LAN Programming Using PERL” on page 130
, uses PERL script to control
the signal generator over the sockets LAN interface.