There are a couple of things you can try. The problem is the receive block is not receiving data within the specified timeout period. You can either: 1. Increase the timeout if you know that blocking and waiting more will help (I do not know the application here so cannot comment on that) OR 2. Use non-blocking mode instead of blocking mode. This does not error and returns immediately if no data is available. In this mode, the data on the Simulink line could be from a previous timestep and you can use the 'Status' port output from the block to determine if it is new data or not. 'Status' port of 1 indicates new data (0 - old data).
"rahul" wrote in message <firstname.lastname@example.org>... > HI > > I am trying to use the TCP/IP block as for communication , but I am facing this error. > Error evaluating registered method 'Outputs' of M-S-Function 'stcpiprb' in 'TCP/TCP//IP Receive'. Error using ==> stcpiprb>Outputs at 211 > 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. > Can anyone suggest me what to do, to remove this error. >