Jim Kring Posted June 16, 2004 Report Share Posted June 16, 2004 I built a LabVIEW RT App and found that I couldn't connect more than about 15 (TCP-IP) clients to the target machine. This includes MAX (Remote System Explorer), LabVIEW RT, FTP, Web Server, and any other TCP-IP clients. Fortunately there is a fix for this problem. Here is a response from NI Support: It turns out that the hidden setting in the ni-rt.ini file that we thought had a default value of 100, actually had a default value closer to 30. Depending on how many ports were being used at a given time (i.e. - MAX, webserver, VI Server), you'll have to subtract roughly 15 from that number to get the number of available ports for your other clients. Add the following line of code to your ni-rt.ini file:[TCP_STACK_CONFIG] Max_Sockets=50 With a setting of 50, you'll have approximately 35 connections. There may still be an upper bound on the number of ports you can have open. 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.