3Operating 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.

62

L4400 User’s Guide

Page 72
Image 72
Agilent Technologies L4400 Modifying Visa and Visa COM Examples, Changing the Instrument Address String IVI-C Programs