Operating and Programming

3

Figure 3- 6 is an example of the window used during program execution to change the address string.

click to start program

enter address string

Figure 3-6. Changing the Address String (IVI-COM / Visual Basic.NET).

Visual Basic 6.0

To modify IVI- COM examples with Visual Basic 6.0, open the example by double- clicking the example name with the .vbp extension. When using Visual BASIC 6.0, you are prompted to enter/change the instrument’s address string after starting the program.

The Visual Basic 6.0 form is similar to that shown in Figure 3- 6.

Modifying IVI-C Examples

IVI- C examples are available for the Microsoft Visual C++ 6.0 environment. To modify IVI- C examples for use with with your instrument, open the example in the \IVI- C subdirectory of VC 60 by double- clicking the example name with the .vcproj extension. Once the development environment opens, select the example source code file (.cpp extension) of the same name.

L4400 User’s Guide

61

Page 71
Image 71
Agilent Technologies L4400 manual Modifying IVI-C Examples, Visual Basic