LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass data back to calling VB from built LV App

First, let me say I know there are other options, but due to certain constraints I'd like to pass data back to Visual Basic from a built LabVIEW application (EXE).

 

Visual Basic is calling the LV app EXE and passing values through the command line.

 

Does anyone know a technique that would be able to return data to the calling VB application?  Maybe stdout?

 

Thanks!

0 Kudos
Message 1 of 3
(2,528 Views)

how about a custom made dll (which sits in LV application )that will pass the data back to VB?

 

Or you can even write the value to a file and read the same in VB later (offcorse i do not recommend this since unnecessary file operations are involved)

 

Guru

Regards
Guru (CLA)
0 Kudos
Message 2 of 3
(2,518 Views)

If you want to build a single file with a VB top level, I agree with Guru, create a shared library (DLL) that you can call from VB.

 

Check out the LabVIEW Help files on how to create Shared Libraries

 

0 Kudos
Message 3 of 3
(2,505 Views)