I am trying to make a new project in VB to communicate via GPIB. When i use the examples giving by agilent everything works fine. i would like to know how to start a GPIB project from scratch.
To develop VISA applications in Microsoft Visual Basic, you first need to add the Visual Basic (VB) declaration file in your VB project as a Module. This file contains the VISA function definitions and constant declarations needed to make VISA calls from Visual Basic.
To add this module to your project in VB 6, from the menu, select Project->Add Module, select the 'Existing' tab, and browse to the directory containing the VB Declaration file, select visa32.bas, and press 'Open'.
To develop VISA applications in Microsoft Visual Basic, you first need to add the Visual Basic (VB) declaration file in your VB project as a Module. This file contains the VISA function definitions and constant declarations needed to make VISA calls from Visual Basic.
To add this module to your project in VB 6, from the menu, select Project->Add Module, select the 'Existing' tab, and browse to the directory containing the VB Declaration file, select visa32.bas, and press 'Open'.
There are some VB6 examples for Agilent Spectrum Analyzers posted here: www.agilent.com/find/sa_programming
Regards -