01-12-2014 12:34 AM - edited 01-12-2014 12:34 AM
Hi
I'm capturing a single grayscale frame (160x120) and sending it through TCP to a C-program. The issue is that before reading the actual pixel values in the console, the first 8 bytes consists of some two random values that is "120" and "160", as shown in the picture below. It seems like those two values are 32-bit unsigned integers, since they each represent 4 bytes. Do the values come from the LabVIEW code shown below ?.
Solved! Go to Solution.
01-12-2014 12:43 AM
Didn't you already get the answer to this in your original message thread? http://forums.ni.com/t5/LabVIEW/Sending-8-bit-unsigned-integer-in-LabVIEW/m-p/2695753
The one you marked as solved?
The one where it was mentioned that the Flatten to String has an input about whether or not you want to prepend the arrays size?
Do you really consider the values of 160 and 120 "random" when in your post you even mentioned you had a 160 x 120 array?
01-12-2014 12:57 AM
Thanks for the reply RavensFan
I'm sorry. I didn't read the second post, since the first one actually solved my problem and was related to my question.