LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1D array of U8 to U8 for FPGA histogram

Hello,

 

I have a 2-Tap 8 bit camera, and the signal output of the camera in Labview is 1D fixed array of U8. 

 

I would like to obtain the histogram of the signal, which I thought of using the IMAQ FPGA Histogram VI. However, the input of this FPGA histogram VI is for Pixel bus of U8, but not for 1D array.

 

I would like to ask if there is any suggestion that I can convert the 1D fixed array of U8, into just U8 for the histogram function?

 

Best,

Matt

0 Kudos
Message 1 of 2
(2,491 Views)

Not the answer to your question, but it might help.

 

Make a 1D array or integers (size might be bigger then u8, it depends on the size of the 1D array of U8's. In a for loop, take the U8, and use it to increase the index of the value. use a shift register to accumulate the values.

 

Not sure if the in placement structure is supported on FPGA, so the second look is without one.

Histogram.png

0 Kudos
Message 2 of 2
(2,480 Views)