> How can I programatically control a stand-alone LabVIEW
> application(exe) from another VI. I tried wiring "localhost" to the
> machine name(in open application reference node) and specifying the
> path of the exe to the (open VI refernce). I can't, it throws error.
The main thing you need to do is configure the Built app so that it has
the VI Server on and is listening on a known and distinct port.
Depending on what menus are available in your EXE, you might be able to
use the tools>>options dialog to set these things, otherwise, you can
copy from your LabVIEW.ini and modify slightly.
Ultimately, you want an EXENAME.ini file, with EXENAME being substituted
for your EXE's name. If your ini has a section header in []'s, change
that to the EXE
also. Then place the VI Server tokens to turn the TCP
connection on, to set a port, to allow or disallow different types of
access, and to allow/disallow different machine IP/DNS patterns. Again,
this stuff is more easily copied from the LV ini file and modify the
port number.
Now when you try to open the connection, use the localhost and use the
new port number.
Greg McKaskle