GETTING STARTED WITH MICROSOFT VISUAL BASIC FOR WINDOWS PROGRAMMING > GETTING STARTED >
Version ≥ 3.6 of the instruNet VB interface is compatible with Microsoft Visual BASIC ≥ 2010 running on a 32bit or 64bit Windows ≥ 7 operating system.
For compatibility details, click here.
Every instruNet Visual Basic program must include the .vb files in the "VB Common Source" directory.
To get started with Visual Studio, please do the following steps:
Install Visual BASIC onto your hard disk, load an example program, compile, and then run to verify that your BASIC is set up properly.
Your program can be compiled 32bit or 64bit (i.e. target CPU set to"x86" or "x64") with instruNet software ≥ v3.6. To compile both Debug and Release, 32bit and 64bit versions of the examples, select Batch Build in the Build menu.
For details, click here.
Duplicate the "Program Files (x86) \ instruNet \ Programming Interfaces \ Visual Basic" directory and place the copy somewhere in your Documents folder. We will work with the copy, which contains the following sub-directories:
VB Example1: example program #1 VB Scope: 1 to 16 channel oscilloscope/chart recorder VB Instrument: 2ch oscilloscope, XY recorder, Spectrum Analyzer VB Direct To Excel: digitize directly to Excel ≥ 2010 VB Common: Source common source code files
Run one of the example programs. If you have any errors, please use the source code to debug the system -- all source
code is provided. Some lines of code open the instruNet World window, and pass control to
instruNet World (until the user closes the instruNet World window to return back to the example program).
Run an example program to verify that the compiler, example files, driver, and computer are all working well together.
Read the example program source code and comments to get a feel for instruNet programming.
Modify the Example source code to meet your own needs.