LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

communication between Labwindows and vb

I want to transfer data(an integar value) from Labwindows to visual basic.
Please tell me the ways to fulfill this requirement. 
0 Kudos
Message 1 of 3
(3,196 Views)
You could use a named pipe, shared memory, or some other IPC mechanism.  Bear in mind that VB doesn't have an unsigned integer type.

Or, you could build your CVI code as a DLL and call the DLL from VB.  You can add a type library to the DLL to enhance VB support.  When you have the type library, the CVI DLL can be loaded as a resource in the VB environment.  Then use an accessor method from VB to get your int value.

Menchar
0 Kudos
Message 2 of 3
(3,170 Views)

You might also wish to use the Shared Variable Library (if you have a more recent version of LabWindows), in which case you could include a LabWindows client DLL for use from your Visual Basic program.

http://zone.ni.com/devzone/cda/tut/p/id/5484

0 Kudos
Message 3 of 3
(3,082 Views)