05-03-2013 10:37 AM
Hey.
I have a thermal camera with 16 pixel where each pixel is 2 byte ( High/low)
Id like to combine these to and show it in a intensity graph.
Having issues with how I should do this....
I have succeeded receiving 32 bytes from the "string to byte array"
I tried with a FOR loop where I put an index array inside.,
I've added the VI.
Does anyone have experience combing a high and low byte?
05-03-2013 12:48 PM - edited 05-03-2013 12:53 PM
All you probably need is a simple "join numbers" or "type cast" the entire array with an U16 array as type.
Frankly, your code makes very little sense. If you are autoidexing in a 8x8 2D array, you get a max of 8 iterations, so why would you wire a 16 to N? So you get 8 elements that you then try to reshape into a 8x8 2D array. There is really not enough useful data for that.
Can you run your VI so the "unsigned byte array" contains typical data, then right-click the terminal and "create constant". Save and attach the VI. Now we have data to play with.