Contolling a labview executable from another labview executable 
Author Message
 Contolling a labview executable from another labview executable

I have to labview exectuables running how can I exit one exe from a
dialog box within the other exe?


Tue, 17 May 2005 18:51:05 GMT  
 Contolling a labview executable from another labview executable
Oliver,

First, here is the set up.
1. Make sure that TCP/IP option for VI Server Configuration is
checked. This will have to be done after tha application is built or
by copying the LabVIEW INI file and making the needed changes.
2. Each application that you create should listen on a different port
number. So, change one of the two executables to a different port
number. This will have to be done after tha application is built or by
copying the LabVIEW INI file and making the needed changes.
3. Place down an Open Application Reference function and place the new
port number as one input and 127.0.0.1 for the IP Address/Machine Name
input. If you do not have the 127.0.0.1 (localhost), then it tries to
connect to itself, not the other application.
4. Place down an Open VI Reference and connect it to the Open
Application Reference. Wire the name of the VI that you want to
connect to into the VI Path input.

From here, you can call any method or property that you can normally
in an executable. If you wish to call the Abort VI method, make sure
that the VI can be aborted (change the VI Settings in the Application
Builder).

Randy Hoskin
Application Engineer
National Instruments
http://www.ni.com/ask



Sat, 21 May 2005 01:26:57 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How can I call a LabVIEW executable from within another LabVIEW executable?

2. Linking an executable inside LabView

3. Error When Running LabVIEW Executable - drawmgr.cpp, line 2931

4. Launch and external visual basic program from a labview executable

5. How to start a LabVIEW executable programmatically.

6. LabView executable

7. LabVIEW executable using VISA functions

8. Launching executables from labview

9. LabVIEW Executable Application Installation on Windows 2000

10. labview executables

11. LabVIEW executable using VISA functions

12. Size of a executable program in Labview

 

 
Powered by phpBB® Forum Software