Agilent Technologies L4400 Guitar User Manual


 
Operating and Programming 3
L4400 User’s Guide 59
L4400 Series Programming Examples
The L4400 series Product Reference CD- ROM (part number 34989- 13601)
contains progamming examples to familiarize you with the operation of
selected L4400 instruments. Once communication paths to the instruments
have been set (Chapter 2), the examples can be used as an introduction to the
sequence of commands necessary to program the functions available with
the instruments.
The examples on the CD-ROM include multiple development environments
and demonstrate instrument programming via drivers and direct
programming through the I/O libraries. The drivers and I/O libraries used
include:
IVI- C
IVI- COM
VISA
VISA COM
To install the examples on your computer, insert the Product Reference
CD- ROM and click ‘Install’ next to “L4400 Programming Examples.” Follow
the instructions as prompted.
Once installed, the examples are located in the following (default) path and
are grouped into development environment directories:
C:\Program Files\Agilent\L4400\Examples
To select a specific example, open the environment directory under
Examples” followed by the driver (IVI- COM, IVI- C) or IO library (VISA, VISA
COM) subdirectory.
The examples assume that you are familiar with the programming languages
demonstrated and the tools associated with the development environment.
Note that before you run a programming example, the program must be
edited to include the address string of your particular instrument. The
following sections provide instructions for editing the programs based on the
driver type and development environment.
Modifying IVI-COM Examples (.NET)
IVI- COM examples are available for the Microsoft C#.NET and Visual
Basic.NET development environments. To modify IVI-COM (C#) examples for
use with with your instrument, open the example in the \IVI- COM
subdirectory for your development environment by double- clicking the
example name with the .csproj extension.