beautypg.com

Modifying visa and visa com examples – Agilent Technologies L4400 User Manual

Page 74

background image

62

L4400 User’s Guide

3

Operating and Programming

Locate “InitWithOptions” and change the address string as shown in
the example of Figure 3- 7.

change address string

example source code

Figure 3-7. Changing the Instrument Address String (IVI-C Programs).

Modifying VISA and VISA COM Examples

Agilent VISA examples are available with the Microsoft Visual C++ 6.0
and Visual Basic 6.0 environments. To modify VISA examples for use
with with your instrument, open the example in the \VISA subdirectory
of the development environment by double- clicking the example name
with the .dsp extension. Once the development environment opens, select
the example source code file (.c extension) of the same name.