LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running exe by using open application and open vi reference functions

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

 

0 Kudos
Message 1 of 5
(4,601 Views)

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?

0 Kudos
Message 2 of 5
(4,590 Views)

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

 

0 Kudos
Message 3 of 5
(4,587 Views)

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

 

Lewis Gear CLA
LabVIEW UAV

0 Kudos
Message 4 of 5
(4,524 Views)

@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

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(4,522 Views)