Visual basic 6.0, Modifying ivi-c examples – Agilent Technologies L4400 User Manual

Page 73

Advertising
background image

Operating and Programming

3

L4400 User’s Guide

61

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

enter address string

click to start program

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.

Advertising