HP (Hewlett-Packard) Drive Network Card User Manual


 
98
Chapter 10
Close the Session
Now that you have completed all of the driver operations, you should close the
driver session to free resources.
1 Double-click to add another operation. The Select an Operation dialog box
appears.
2 Select Close to release all resources associated with the simulated Agilent
34401. Click OK.
Display the Reading
1 To display the measurement, from the Main Menu select Display, and click
AlphaNumeric. Place the AlphaNumeric object on your workspace.
2 Connect a wire from the return output terminal on To/From myDmm to the input
terminal of the AlphaNumeric object.
3 Click F5 or the Right Arrow button on the toolbar to run the program. The
Display returns a simulated result.
Tips
Another Method to Display the Reading
You can display the measurement in another way as well. From the Main Menu,
select
select Data, Variable, and click Declare Variable.
Declare a global
variable named agilent34401Class
with a Type Object and Sub Type .NET.
Select Edit and
in the Specify Object Type dialog, select the following:
Agilent.Agilent34401.Interop
in the Assembly field
Agilent.Agilent34401.Interop
in the Namespace field
Agilent34401Class
in the Type field
Then delete the agilent34401Class output terminal. You can now share this IVI-
COM object with other To/From objects or formula objects in VEE. This will let you
use multiple objects for the same driver instance without creating all of your driver
commands in one object.