LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code 11

Hi,
 When I was trying to open TCP/IP connection for port number 1002, I am getting error code 11, that is "Too many files open", No capability.
Can anyone help to solve this error pleasee
Thanks,
Poornima
0 Kudos
Message 1 of 4
(2,758 Views)
Hi Poornima,

This might be a long shot, but is probably the issue if you are running into this issue on a Solaris machine. On Solaris, there is a limit to the number of files that can be opened at a time. By default, this number is around 64. This is a limit imposed by the operating system and not by LabVIEW. You should be able to change this limit within the OS. If the number of files opened exceeds this limit, error 11 will be returned from Open File. This error can also be returned from TCP Open Connection. The reason for this is that each open TCP connection is treated as an open file on UNIX.

Please let me know if this isn't the issue in your case, thanks.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
Message 2 of 4
(2,743 Views)

Hi,

  Thanks for your reply. Actually I was facing problem in opening TCP/IP ports in LabVIEW RT 7.0.

I added "max_sockets=40" in ni_rt.ini file in RT. Now it is working fine.

Thanks,

Poornima

0 Kudos
Message 3 of 4
(2,739 Views)
Hi Poornima,

Ohhh, I thought you were referring to LabVIEW and not LabVIEW RT...

Well, I'm happy that you figured it out and got it working, good job!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 4 of 4
(2,720 Views)