04-07-2017 09:45 AM
I mentioned the LabVIEW Example "Simple TCP.lvproj" included in the LabVIEW Example Finder. This specifically was between two LabVIEW VIs. What I would be interested in doing is using the TCP Client in this project to see if you can use built-in LabVIEW Example code. Save this VI as a new copy and change the ports to match the TCP Send from Simulink. Let me know if you have any questions!
Best,
Chris D. | Applications Engineer | National Instruments
04-10-2017 01:16 AM
hello ,
But that was exactly the thing that I did to make the communication.
I Took the client example of the tcp/ip exemple of LabVIEW and changed it so that I can reveive the informations from Simulink
best,
04-10-2017 05:51 PM
Are you able to test the communication from Simulink without LabVIEW? Te best way I could think to do this would be through a 3rd part TCP test application like SocketTest. With your Simulink code running, you can configure SocketTest as the Client.
Push Connect to establish the connection. If the connection is refused, Simulink is not sending any data and the error is in that section of your application.
Best,
Chris D. | Applications Engineer | National Instruments
05-30-2020 09:17 PM
I know the problems, because you didn't set local address &local port on LabVIEW, Error 56 means that LabVIEW didn't certainly connect to simulink; simulink set remote address&port,and then this remote settings need to same with LabVIEW local address &port,On the contrary.......