LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I build a two-dimensional point-by-point histogram?

I'm trying to write a VI that will update an intensity chart point-by-point given a set of input data of form `array of cluster of two elements'; the NI VI GeneralHistogramPtByPt.vi is fine for the one-dimensional case, but I want a generalization.

Some stipulations:

No shift registers (static variables)
Routine must accept data samples on unknown length
0 Kudos
Message 1 of 2
(2,411 Views)
Hi,

I am not sure I understand your requirements completely. Do you need to generate a new histogram of the circular buffer everytime there is a new sample? If this is the case you can use the point-bypoint queue to store the values and calculate the histogram on that data.

I am attaching a couple of examples here. One of them generates a running histogram based on what I mantioned before and the second one applies a running histogram over a waveform.

Please let me know if you have any further questions.

Regards,

Juan Carlos
N.I.
Download All
0 Kudos
Message 2 of 2
(2,411 Views)