LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I use VI server. How do I handle many requests from client?

I am building a system for the users(clients) to remotely control a robot that is connected to my computer(server). Connection between server and client is internet. My computer(server) runs VI server. I wonder how can I set the VI server (in my computer) to handle requests from different clients. Because I don't want my robot to get hang or mix up commands from different clients when it receives different commands from different clients. I want to set the VI server to put the client who comes after on a waiting list and that the VI server to communicate with only one client (who comes before) at a time. Or at least (in case putting other clients on a waiting list is not possible) to make the VI server communica
te to only one client and ignore request from another client (if there's any request from another client).
0 Kudos
Message 1 of 2
(2,455 Views)
I would suggest you create a queue system for your robot control. Have the VI server control (remotely) a queuing VI that will actually control your VI. This VI would store commands and distribute them to your robot controller. If you handle the commands from the remote clients fast enough, you should be able to queue them. As for how effective this would be, the only thing I can suggest is to benchmark it by having two other computers through continuous commands at it.

I hope this helps,

-labviewguru
Advanced Test Engineering
0 Kudos
Message 2 of 2
(2,455 Views)