From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between two Labview applications

Hi,

        I would like to know if there is any way to pass parameters between two Labview built Applications.

I have two Labview Applications : the first one should be able to pass a paramter( in this case it is a file path)  to the other application.

I am using LabVIEW 8.2. 

 

Please can somebody help me reslove this issue.

 

  

Thanks

Siddharth 

 

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

Siddarth,

 

you can use one of the following techniques:

- Shared Variables (Network Published)

- DataSocket

- TCP/UDP communication

- File I/O

- ActiveX (Use one application as server, only available in Windows)

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,517 Views)

Hi there

 

there are several ways to solve this, depending of what you wnt to do:

 

- You can pass data by shared configuration files (that's the easiest way) (preffered for simple, static data)

- You can use some server/client technologies, like UDP, TCP, DataSocket, Shared Variables (preferred for dynamic online data)

- You can use VI-Server to have access to control values of LV applications (preffered for remote control of applications)

 

if it is just a simple static path, i'd choss the first method.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 3
(2,515 Views)