User`s guide
80
Programming Your Instruments
Programming Overview
Using I/O Objects in
Other Visual Basic
Projects
All Visual Basic programs in this guide use the Agilent VISA-COM object.
To use the I/O object in another Visual Basic project, use these steps:
1
Set the Reference. Set the reference to include the libraries in the
Project/References menu:
# "VISA COM 1.0 Type Library", corresponds to VISACOM.tlb
# "Agilent VISA COM Resource Manager 1.0", corresponds
to AgtRM.DLL
# "VISA COM 488.2 Formatted I/O 1.0", corresponds to the
BasicFormattedIO.dll
2
Create Formatted I/O Reference. Create the formatted I/O reference
with a statement such as "Dim Fgen As VisaComLib.FormattedIO488"
3
Create the New Object. Use "Set Fgen = New
VisaComLib.FormattedIO488" to create the actual object.