Showing results for 
Search instead for 
Did you mean: 

Spectral histogram of adc output

Go to solution

G'day all

I have a LabVIEW task that I'm confident would have been dealt with before (many times). However, not for the life of me can I find a documented solution. It involves the display of a spectrum of channel hits from an ADC on a histogram (no, not the statistical flavour - the science spectral version).

I have a loop from the 8k ADC DAQ front end that (for the sake of this example) gives me the amplitude of an incoming pulse (a value between 0 and 8191). As part of that loop I'd like a real time 'live' spectrum of the accumulative number of hits per ADC channel.

I can think of ways using a 8k array and incrementing the bins manually but how to get the array data persistent in the loop... and actually display it.

If I have to invent my own wheel to solve this then that's OK but I'm sure like most of my coding brethren, I'd prefer to use somebody else's Smiley Wink


0 Kudos
Message 1 of 3
Accepted by topic author steve_vmwx

Look at this example of a Histogram. Is that similar to what you need?


Message 2 of 3

Thanks Broken. A round enough "wheel" to get me where I wanted.


Much appreciated



0 Kudos
Message 3 of 3