HP (Hewlett-Packard) Drive Network Card User Manual


 
Contents
7
Prepare the PAWS Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Add the WCEM Interface Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Connect to the IVI-COM Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Build the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Prepare the Run-Time System Environment . . . . . . . . . . . . . . . . . . . . . 82
Load and Run the Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Further Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Chapter 9 Using IVI with Visual Basic 6.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
The Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Example Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Download and Install the Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Create a New Project and Reference the Driver . . . . . . . . . . . . . . . . . . 85
Add a Button. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Create an Instance of the Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Initialize the Instrument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Configure the Instrument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Set the Trigger Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Display the Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Close the Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Tips. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Further Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Chapter 10 Using IVI with Agilent VEE Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
The Development Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Example Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Download and Install the Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Launch the Instrument Manager and Select the Driver . . . . . . . . . . . . . 93
Create an Instance of the Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Initialize the Instrument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Configure the Instrument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97