LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple independent instances of an vi/exe

I have an exe that uses local files to extract and display data on what I will call computer 1.

 

I am interested in mapping a second,third, or more computers to computer 1 and running the same exe and operate in such a way that each instance can run(extract/display data) independently. 

 

I have done some searching and it looks like I may be able to open a vi reference to the vi/exe on computer 1 from computer 2/3/4.  

 

Is this the best way to do what i am interested in?

 

0 Kudos
Message 1 of 4
(2,365 Views)

So you do not want to run the same exe on the same computer, but you want multiple computers to access a shared piece of data? Does the program only read the data or can it change the data?

 

Also are you trying to do this with a program you are unwilling or unable to modify?

=====================
LabVIEW 2012


0 Kudos
Message 2 of 4
(2,360 Views)

The program I currently have communicates via TCP/IP from computer 2 to 1. It sends an SQL statement to computer 1. Computer 1 opens and sorts the data locally. Once the data is gathered, it is send back to computer 2. The issue came up when there are multiple instances of the VI running from multiple computers communication to one loop listening for SQL statements on computer 1. I thought about changing the architecture to a multi client/server setup, but the idea i posted seems like it would be a better solution. 

 

I am interested in removing all the TCP/IP and doing simple file open/read/close functions from remote computers that reference the VI on computer 1 and create their own independent clone of the VI. 

 

Does that help?

 

 

 

0 Kudos
Message 3 of 4
(2,352 Views)

Hello Fernando0901,

 

Have you thought about using shared variables?

 

Regards,

 

Jeff L.

0 Kudos
Message 4 of 4
(2,314 Views)