in reply to Sending UDP Packets to MATLAB
That table as per your post does not make sense to me.Data Type 2.2 Boolean 4 int8 6 unit8 7.43 int16 23.34 uint16 11 int32 45576 unit32 343 float 22 double 10 ????
Please re-do the above table and show exactly what you need. 2.2 Boolean makes no sense to me. Neither does 7.43 int16 You will wind up with a buffer of bytes that can be sent via UDP, but the format spec must be exact and I mean to the exact bit! I presume that "unit8" means "uint8" or unsigned integer 8 bits. If you are RadioEngineer, get the terminology straight! There is a difference between ohms and volts. Same thing here.
Update: Please do not delete stuff from your post. You can use the <strike> and </strike> tags to strike-thorough content. The problem is that when folks read your post later, some answers may not make sense or there is other confusion when things magically "disappear". If you choose to update your original post with the table that I requested, I would do so with an "Edit" and "update" comment just like this. That will raise the visibility of the update rather than a reply just to me. In this particular case, I think that would be better. There are folks here literately "chomping at the bit" to help you, but your question is not a good one. If you improve the question, you will get better answers.
|
|---|