Example Code

Calling LabVIEW created dll from Visual Basic6

Code and Documents

Attachment

A comprehensive example that illustrates how simple it is to pass a LabVIEW cluster with almost-anything-inside to a VB6 program by means of Variants.

The example also shows how to pass back-and-forth MultiDimensional arrays: of Numbers, of Strings and of Booleans,

as well as the traditional confusing-inaccurately-documented set of: 1D arrays of Numbers and single valued Numbers, Strings and Booleans.

(No need for any hardware related item)

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors