HP manual Create an Instance of the Driver, Using Agilent.Agilent34401.Interop

Models: Drive

1 114
Download 114 pages 61.75 Kb
Page 31
Image 31

Create an Instance of the Driver

To allow your program to access the driver without specifying the full path, type the following line immediately below the other using statements:

using Agilent.Agilent34401.Interop;

Note: As soon as you type the A for Agilent, IntelliSense lists the valid inputs.

Congratulations! You may now write the program to control the simulated instrument.

Note: To view the functions and parameters available in the instrument driver, right- click the library in the References folder in Solution Explorer and select View in Object Browser.

Using IVI with Visual C# and Visual Basic 31

Page 31
Image 31
HP manual Create an Instance of the Driver, Using Agilent.Agilent34401.Interop