LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I call a canned visual basic program from LabVIEW 6.1 and 7.1

I have a Visual Basic program written by the temperature controller vendor. I wish to use it to control the enviornmental chambers. The plan is to to call this program from LabVIEW utalize it to control the enviornmental chambers and collect the data. When the program is complete return to LabVIEW and use it to utalize the data it gathers.

The problem I have is calling the program, can anyone help.
0 Kudos
Message 1 of 4
(2,720 Views)
If the program is compiled into an exe, you can use the SystemExec function to call it. Another method is to compile the VB code into a DLL, and use the Call Library Node function to call the VB code. It is probably easier to use the DLL if passing information back and forth.
- tbob

Inventor of the WORM Global
Message 2 of 4
(2,720 Views)

The document linked below should help in using DLLs in LabVIEW.

Using External Code in LabVIEW

0 Kudos
Message 3 of 4
(2,720 Views)
Since I can't recompile the file into a DLL your idea of using the SystemExec.exe file like a good idea. I will test it out as soon as I get done with a project that overtook this one.
0 Kudos
Message 4 of 4
(2,720 Views)