LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 14101 SITs Listen TCP.vi

Hi

Today I got a very strange error when I load Matlab, or when I opened a vi with a matlab script. The error is coded as Error 14101 SITs Listen TCP.vi An says this is an unwired error. What is this all about? I do have the matscript updated to version 7.0.0.2 so I guess this is not the problem.
0 Kudos
Message 1 of 7
(4,158 Views)
You are not alone.

Bojan

"aesteban" wrote in message
news:506500000008000000A2B90000-1073519706000@exchange.ni.com...
> Hi
>
> Today I got a very strange error when I load Matlab, or when I opened
> a vi with a matlab script. The error is coded as Error 14101 SITs
> Listen TCP.vi An says this is an unwired error. What is this all
> about? I do have the matscript updated to version 7.0.0.2 so I guess
> this is not the problem.
0 Kudos
Message 2 of 7
(4,158 Views)
Hello aesteban,

The most likely cause of this error is that port 6011 is being blocked by a firewall or some other program. Try disabling your firewall or opening this port.

I have tested this with SIT 2.0 installed and have not seen any errors. If you continue to experience problems, please respond with more information about which toolkits you have installed and what exactly the VI that you are opening is doing.

Regards,

Chad Evans
Applications Engineer
National Instruments
Message 3 of 7
(4,158 Views)
I have the same error and have already opened port 6011 on the firewall. Also, I disabled the firewall an the error still appears.

Javier A. Kypuros
0 Kudos
Message 4 of 7
(4,159 Views)
Hi,
The reason for this error is that the SIT Server is failing to initialize.

Here are the possible causes:
1. Labview is unable to create a TCP listener on port 6011 (this may be caused if another app has occupied port 6011, or is blocked by the firewall)

Fix: close any apps using port 6011 or change settings in the firewall.

2. SIT Server failed to load some DLLs it is dependent on. The installer typically adds to the PATH environment variable directories where those DLLs are located.
The DLLs and their default locations are listed below:

MatlabFunc.dll (SIT DLL in C:\Program Files\National Instruments\Shared\System)
libmx.dll, libmex.dll (MATLAB DLLs located in \bin\win32)

Fix: Add path to the DLLs to "Path" environment variable (On XP: Start>>Control Panel>>System>>Advanced and click Environment Variables)

Thanks
SumitG
NI R&D
Message 5 of 7
(4,082 Views)
Hi,

Actually, I changed the port number. I set 6012 and it works fine now.

To do this :
-Go to the startup.m file located in "C:\Matlab\Toolbox\local"
-Modify the command NiMatlabServer('start',6012).

It's related page 10 of the LabVIEW Simulation Interface Toolkit Guide.

Fred
AE NIF
Message 6 of 7
(3,993 Views)

Hello,

 

I'm trying to change the port 6001 to 6012 in the file .m that you said, but the thing is that in my directory of matlab on my PC, in toolbox/local, I just have startupsav.m or startpage.m or finishsav.m, and looking into them, there is no the command NiMatlabServer('start',6012)... I don't know what's wrong, since when I start Matlab, the SIT server is connected perfectly to the port 6011, and I wonder where in my PC is setup that configuration...

 

Anyone can help?

 

thank yo very much,

 

regards

0 Kudos
Message 7 of 7
(3,322 Views)