LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I input to a 1D histogram?

I am trying to use a numeric dbl precision as an input (X) to make a histogram, but it tells me I;'m trying to connect terminals of two different types, one dbl, and the other a 1-D array of dbl. What else should I use as the source?
0 Kudos
Message 1 of 2
(2,569 Views)
Hi,
When you right click on the X input of the Histogram.vi, you can create a control. It will be a 2D array of doubles. This array should represent the input sequence that you want to find the histogram of.
The histogram is a frequency count of the number of times that a specified interval occurs in the input sequence. The width of the frequency bin is
delta_x = (max - min) / m
where m is the requested number of bins.

Zvezdana S.
0 Kudos
Message 2 of 2
(2,569 Views)