LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Limited clients using UDP....?

Are you limited on the number of clients that can communicate with a host program, using UDP in combination with TCP?
 
I am attempting to connect to 12 client UUT's using 1 NIC and a hub. When I initiate COM, I am only able to communicate with 6 of the 12.  My colleague says I need to run a separate VI on a separate PC w/ a separate hub, to communicate with the other 6 UUT's.
 
Does this sound correct?
 
Is there any way to communicate with all twelve using one vi?
 
The vi I am using is attached below....
 
 
0 Kudos
Message 1 of 3
(2,284 Views)
The array of clusters you are using in Sequence Frame 1 only has 6 elements in , and thus only 6 IP addresses.  Coincidence?
 
You don't need second PC.  If your current switch/hub has 13 or more ports on it, you dont need a second one of those either.  From the PC's point of view, there is practically no limit to the number of devices/IP addresses you can talk to.  Whether you actually have the time/processing power to talk to all of them is another matter.  Generally speaking 12 devices is no where near that limit.  I've done up to 32 and still had responses back from all 32 within a couple hundred ms.
 
Good luck.
0 Kudos
Message 2 of 3
(2,269 Views)
Well, looking at your VI, there are a few thing that seem to limit the size to six. For example the two arrays of cluster diagram constants in frame 1 of the big sequence!
 
While you are at it, replace ALL your local variables (especially the TCP and status arrays) with shift registers. Stacks and stacks of sequences makes a program very hard to read and debug. Consider a state machine architecture instead. Also remember that you don't have to wire the N with the size of the array if you autoindex that same array. N will be determined automatically.

Message Edited by altenbach on 03-03-2006 12:32 PM

Message 3 of 3
(2,268 Views)