Hi.
I am sending an array of 8-bit unsigned integer with the size 19203 from a TCP server in a c-program to a TCP client in LabVIEW. I have managed to receive the data as shown in the picture below. The first byte, that is sent by the c-program is the header. The second and the third byte represent the size of the array, which is actually 160x120. Then the rest 19200 bytes are the actual values for the array.
My TCP client code looks like this:
The issue occurs when I'm replacing the Type Cast with the Unflatten to string function, and adding a dimension to both arrays. The first two values in the array (120 and 160) should inform the Unflatten to string function about the size of the array, but I don't get any data in the array indicator. Is there any way to create a 160x120 sized 2d array from 8-bit uint data ?.