Hello,
It sounds like you are trying to use VI server to programmatically run a VI over the network. Although I am not sure exactly where you are getting stuck, you should definitely make sure you have configured your server side permissions by seeing Tools -> Options... in LabVIEW, and configuring the VI Server Configuration, TCP/IP Access, and Exported VIs sections. In particular, you'll want to enable TCP/IP in the Configuration page (along with a port number), then allow access to the set of IP addresses you want to allow access to your VI in the TCP/IP Access page, and finally make sure to allow access to your VI by adding in the Exported VIs page.
I hope this helps!
Best Regards,
JLS