05-09-2017 05:19 AM
there is an error of 74 unflatten to string when i use UDP to transmit and receive the video
05-09-2017 05:41 AM
Hi foge,
some notes:
- You set the byte size for UDPRead to 65507: is this sufficient for your "video"?
- Setting UDP message size to this big number might conflict with your other network devices, sometimes UDP messages are limited to 548 bytes…
- What is the length of the received messages?
- IMAQ uses references: do you really think you can typecast a string to an IMAQ reference correctly?
05-09-2017 05:46 AM - edited 05-09-2017 05:48 AM
The data what you try to unflatten is corrupted. My guess is that you get a partial or too much data via UDP. You should check how much bytes you read, and that you get a full package. With TCP usually this is done by using start and end flags...
edit: GerdW was faster and also more detailed. Follow his advices!
05-11-2017 05:00 PM
thank you
for the size of the recieved data i cant know it because there is a message of the error of 74
05-12-2017 01:39 AM