cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

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
Mensagem 1 de 4
2.799Exibições
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
Mensagem 2 de 4
2.799Exibições

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

Using External Code in LabVIEW

0 Kudos
Mensagem 3 de 4
2.799Exibições
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
Mensagem 4 de 4
2.799Exibições