03-24-2017 07:40 AM
I put it to -1 to wait indefinetly
in the error wire nothing is displayed
and I did not understand your two last questions
03-24-2017 07:52 AM
How does the simulink code for receiving data look like?
What is the TCP send block settings?
Can you show us the vi runing with probes?
You could make LabVIEW the server, and then simulink will connect to LabVIEW and send data.
Right now I don't think LabVIEW is connecting to any server
03-24-2017 07:53 AM
I put some probes and I want to ask why in the adress wire it is mentioned not executed
I attached the capture
03-24-2017 08:03 AM
Can you place a probe on the error wires before and after TCP Read?
I don't know why it is not executed.
03-24-2017 08:22 AM
this is what you asked for
03-24-2017 08:28 AM
I want to ask you how to make labview a server ?
03-24-2017 08:58 AM
One question, when are you placing the probes, before or after you start runing the vi?
I can't understand why number 13 is not executed, but number 14 is.
An example of a server in LabVIEW, you can just look at the TCP server example that comes with LabVIEW.
03-27-2017 01:43 AM - edited 03-27-2017 02:04 AM
I place the probes after runnig.
I want to tell you that when I send the information from labview to simulink it works .
But the problem is from simulink to labview.
03-27-2017 05:43 PM
Hi Rhmkchw,
Part of why you are not seeing errors is because you have the timeout set to -1, this will wait indefinitely. Normally, there is a timeout after a default amount of time that will throw an error. I would change your timeout to something like 5 seconds, the error you should be seeing is Error -56 which is a timeout error. This means that LabVIEW is not connecting with Simulink at all. You can change the timeout back to -1 after, I'd just like to verify that the connection is timing out and that the correct errors are being thrown.
I know we mentioned adding rules to the Windows Firewall earlier, have you tried turning the Firewall off completely?
Best,
Chris D. | Applications Engineer | National Instruments
03-28-2017 01:42 AM - edited 03-28-2017 01:43 AM
hello ,
I changed the time out like you said and I got the error 65
this is a screenshot of the running system
And for the firewall it is disabled in my computer