amw253 Posted October 7, 2005 Report Share Posted October 7, 2005 I'm converting an existing application suite to LabVIEW - it needs to talk to existing systems so I cannot redesign from scratch. Essentially I'm writing a bunch of "small" modules that establish TCP/IP sessions to each other, as required. If two of these modules are simultaneously running under one LabVIEW runtime, this uses up two TCP connections under the one Windows application. I'm finding that I'm quickly running out of connections within the LabVIEW runtime - at about 20, it seems. I thought the limit was 1024, or some such large number. Please, what have I overlooked? Thanks in advance. Quote Link to comment
Mike Ashe Posted October 11, 2005 Report Share Posted October 11, 2005 Well, a hospital application I worked on had over a hundred connections during testing, so I know you shouldn't have a problem with 20. By any chance are you making a connection between each of the modules to all the others? In that case each module will have 19 connections and 20 modules .... 20x19=380 connections. Thats quite a few. Depending on how you designed your software you may be causing LabVIEW to run so slowly (or to be hanging if you have race or dependency conditions) that you lock up or slow down so much it appears you are locked. Have you tried 2 modules, then 3, then 4, etc... In that case, where do you start to have problems? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.