LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi server

 

Hello

 

I want to have an opinion about my idea. I want to stream data form my pxi controller (server) to multiple clients

want it to be most efficient in terms of data rate and data integrity. I have tried TCP/IP but it does not support Multicast

I have tried UDP but when I have switch(Foundry Network Switch) in between my server and clients then bytes I can send from my server are only 1446 which is a disgusting data rate for my applications. also i have introduce delays in packet sending.Now I came across VI server is it possible to stream and save data to my clients using vi server. What kind of problems I can face.Is it possible to stream data to 5-10 clients simultaneously. what do u think about data Socket is it going to solve what i want to achive. i have labview 8.6.1 

 

Any other idea in this regard will be appreciated

 

Regards

0 Kudos
Message 1 of 3
(2,359 Views)

Don't understand why you think you need multicast for TCP/IP. The server would write to a specific port and the clients connect to that port at the servers address. I think your approach is backwards.

 

I don't think VI Server is the correct way and if the switch is truly limiting the transfer rate, then you have a major problem since datasocket, shared variables, etc., all use either TCP/IP or UDP.

 

Try the shipping examples for TCP/IP (i.e. Multiple Connections - Server) and Shared Variables (i.e. Shared Variable Client - Server). The defaults have them set to run both client and server on the same pc so you can get a baseline. Then move the client functions to other pc's on the same network and test that.

 

0 Kudos
Message 2 of 3
(2,346 Views)


 Hello
 
I have been benchmarking with VI server my observations on 1Gb Ethernet port I can stream data up to 40MB.i am running a VI on My server and 4 clients are accessing the VI.The Network utilization between My Server and Switch is 40% and network utilization between my Clients and switch is 10% each. Which comes upto be 40% if I add the throughput of 4 clients.Now I need a little more concept on this VI-server.What Happen actually

1-when any of my 4 clients open a vi-reference to the server Vi  Does it run on server for every client or it runs on 

  client.

2-If it runs on server then Does it sends 4 Packets to all clients(one packet to one client)

3- Or it serially adds the clients(First come First serve basis)If this is the case then there should be no Congestion 

    between Server and switch isn't it so?

 

Regards

 

0 Kudos
Message 3 of 3
(2,321 Views)