Hello,
I think you will want to look at the CWStat.Histogram function. This takes an input array, as well as upper and lower limits. You then set up the intervals, and there are two outputs from the function. The first being a histogram array from the input array. The second is the histogram axis array. The size of both of the output arrays are determined from the number of elements in the interval input parameter.
Daniel McChane
Application Engineering
National Instruments