LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data transfer LabView/Simulink through TCP

Dear All,

 

My problem is to send data stream from LabView to Simulink (and then results obtained in Simulink transfer back to LabView) using TCP protocol.

To send data I use (a little changed) example from LabView folder (‘TCP Data Server - Touch Panel.vi’). It is possible to connect server with client. However I have a problem. It is not possible to read data sent through TCP, I have following error:

“Error evaluating registered method 'Outputs' of M-S-Function 'stcpiprb' in 'untitled/TCP//IP Receive'. The specified amount of data was not returned within the Timeout period.
Please ensure that data is being sent to the specified port or specify a greater timeout value.”

 

If I understand well data type send by LabView is different that data expected by Simulink problem. How can I force LabView to cooperate with Simulink?

 

Is there anyone who solve this problem?

 

Miro

0 Kudos
Message 1 of 2
(2,931 Views)

Dear All,

 

This Topic is discussed under this Forum page:

Data transfer LabView/Simulink through UDP - 

http://forums.ni.com/t5/LabVIEW/Data-transfer-LabView-Simulink-through-UDP/m-p/1517084

 

Regards:
Tamas

0 Kudos
Message 2 of 2
(2,894 Views)