02-02-2012 11:45 AM
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?
02-02-2012 12:02 PM
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?
02-02-2012 12:18 PM
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?
02-06-2012 05:56 PM
Hello Fernando0901,
Have you thought about using shared variables?
Regards,
Jeff L.