i got a problem with receiving a raw data stream from the lan connection of a time of flight camera (mesa sr4500) to my pc via simulink. the ip adress and the port of the simulink block tcp/ip receive
seems to be chosen correctly (it is the ip adress and port of my network card). here's a picture of the further settings of the simulink block:
remote address: 192.168.1.1
port : 139
data size: [25344 1] -> should receive an array of this size due to the image resolution
data type uint16 -> each pixel of the camera is encoded with 16 bits
bye order: BigEndian
enable blocking mode is turned on
timeout: 10 (seconds)
block sample time: 0.1 (seconds) -> camera fps = 10
and this is the error msg, that i'm receiving.
Block error -> Error evaluating registered method 'outputs' of MATLAB S-Function 'stciprb' in 'decoding/TCP/IP Receive'
Caused by: The specified amount of data was not returned within the Timeout period. Please ensure that data is being sent to the specified port of specify a greater timeout value.
i think a greater timeout wouldnt help, because the camera is already streaming with 10 fps. so the timeout should be long enough.
have i misunderstood any of the setting options? has someone worked with a similar camera?