VISA Programming Examples
These programming examples are implemented using MS Developer
Studio. Regardless of the programming environment you use, keep the
following in mind:
• The resultant application is a "console application"
• Make sure the include path spans visa.h and visatype.h
• Make sure the library path setting includes visa32.lib
• Assure that the PATH environment variable allows loading
visa32.dll.
The programming examples do not cover the full command set for the
instruments. They are intended only as an introduction, how to program
the instrument using VISA library calls.
The VISA calls used, are explained in detail in the VISA User's Guide.
N OT E
Never use VISA calls and the Agilent 816x VXIplug&play Instrument
Driver in the same program.
134
Agilent 8163A Lightwave Multimeter, Agilent 8164A Lightwave Measurement System,
& Agilent 8166A Lightwave Multichannel System, Third Edition