09-14-2011 12:43 PM
Hello
I used application and vi reference functions and called vi remotely through vi server. Quite a useful tools. I found however that this requires at least Get Started Window Open on the remote computer otherwise it wont work.
That would make as far as I have understood any pc without development suite installed unable to respond to calling pc/vi?
Is it possible to call exe remotely?
Kind Regards
09-14-2011 05:34 PM
I'm sorry, but I don't understand the question. Are you trying to open VIs or an executable on another computer? And what do you mean by responding to the calling PC/VI? Respond how?
09-14-2011 06:05 PM
I used two laptops both on same network and called vis on one computer using vi on the other computer(calling pc, my terminalogy, lets call it client). In the client pc I used open application reference and open vi reference. I used the IP address of server computer and used invoke node to open front panel of a vi in host computer. At first it failed. Then I tried again with labview getting started window minimized on the server computer and it worked! So that makes me think that we need development suite on both computer.
So it would be nice to see an executable running on client running another executable on the server. Is it possible?
Kind Regards
09-19-2011 10:47 AM
Hi,
You have 2 LabVIEW executables( lets say exe1 and exe2) and you have 2 laptops (lets say laptop1 and laptop2). exe1 is on laptop1 and exe2 is on laptop2. exe1 can only communicate with exe2 with you have LabVIEW open on laptop2. Is my understanding of you problem correct?
Are you seeing the problem once you have built your code into and executable? There is good online article here. Why Do Two LabVIEW VIs Using VI Server Stop Communicate After I Build Them Into Executables?
Are you able to give more details about when it fails? Do you get any error messages?
Let me know how you get on.
Kind Regards
09-19-2011 10:57 AM
@AustinCann wrote:
I used two laptops both on same network and called vis on one computer using vi on the other computer(calling pc, my terminalogy, lets call it client). In the client pc I used open application reference and open vi reference. I used the IP address of server computer and used invoke node to open front panel of a vi in host computer. At first it failed. Then I tried again with labview getting started window minimized on the server computer and it worked! So that makes me think that we need development suite on both computer.
So it would be nice to see an executable running on client running another executable on the server. Is it possible?
Kind Regards
Yes it is possible. Been doing that since LV 5.1.
In modern version the exe on the target should be up and running and the VI in question should be marked as served and the access for VI Server configured to allow access to the target VI (on the server).
Also check the option in the build to use TCP/Ip for VI server calls.
Ben