LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote VI won't load when called with VI Server

When I call a VI on a remote machine I get an error if the VI is not already in memory.

If I manually open the VI on the remote machine and then try Open VI Reference with the valid AppRefnum I get a valid VI Refnum, but if the VI is closed I get an Error 7.

Similarily if I completely close LabView on the remote machine I get an Error 63 from Open Application Reference.

Using VI Server across a network, how do I Open VIs not in memory and how can I open the LabView Application?

Attached is the code I'm working with. I changed the machine address for distrubution.

Brian Wells
Research Assistant III
Space Research Institute
Auburn University, AL 36830
0 Kudos
Message 1 of 2
(2,581 Views)
Normal VI server operations will allow the launch of VIs not in memory. I have even seen the launch on a remote computer a VI that is stored locally. LabVIEW must be running on both computers and shutting one copy of LabVIEW down in the middle of an operation will generally result in an error.

There is no easy way to launch LabVIEW remotely. Below is a link that describes how to do this:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/26803621d5e6ba4486256b100068b52f?OpenDocument

You might want to search youself at :
http://search.ni.com/?col=alldocs&layout=TechResources&ql=a
I searched for labview remote launch .

You might want to change your VI to get a really simple example running correctly then add the complexity of
the loop.
0 Kudos
Message 2 of 2
(2,581 Views)