Jump to content

RT 7.x Bug: (default) Limit of 15 TCP Connections


Recommended Posts

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.