Using the intrepidcs API in Visual Basic - intrepidcs API
Setup - Example

To use the intrepidcs API in Visual Basic add the "bas_neoVI.vb" module into the VB project (figure 1) by right clicking on the Solution and selecting Add Existing Item from the Add menu.  Open the bas_neoVI.vb. Then, call the methods as defined in the WIN32 API Functions and Types Section of this document.


Figure 1 - Add Module Command From the VB.NET Menu.

Example
A Visual Basic Dot Net 2010 example (Figure 1) is included to show how the API all works together. The main project files are as follows: 1) the project file:  IcsNeoDotNet.sln 2) the form file : Form1.vb, and 3) the neoVI module : bas_neoVI.vb. All project files are included in the following file: VBnet2010.zip.  This project will open in Visual Studio 2010, 2012, 2013, 2015, and 2017.

The example shows how to open and close communication to the driver, send messages and read messages on the networks.


Figure 2 - The Visual Basic Dot Net 2010 Example.

IntrepidCS API Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc.  (www.intrepidcs.com)

Last Updated : Wednesday, February 06, 2019