Visual Basic Programming Instructions (Version 4.0 to 6.0)

NI-488.2

Visual Basic Programming Instructions (Version 6.0)

With Visual Basic, you can access the traditional NI-488.2 calls as subroutines, using the BASIC keyword CALL followed by the traditional NI-488.2 call name, or you can access them using the il set of calls. With some of the NI-488.2 calls (for example, ibrd and Receive) the length of the string buffer is automatically calculated within the actual function or subroutine, which eliminates the need to pass in the length as an extra parameter.

To see the Visual Basic syntax for any function, refer to the help for that function, which you can access through the Index of this help file.

Before you run your Visual Basic application, include the files niglobal.bas and vbib-32.bas in your application project file.