A.6.10.1 histograms – Campbell Scientific CR3000 Micrologger User Manual
Page 504

Appendix A. CRBasic Programming Instructions
504
of the array. The results will be a running aerage of a spatial average on the 
various source array's elements. 
Randomize 
Initializes the random‐number generator. 
Syntax
Randomize(source)
RND 
Generates a random number. 
Syntax
RND(source)
A.6.10.1 Histograms
Histogram 
Processes input data as either a standard histogram (frequency distribution) or a 
weighted‐value histogram. 
Syntax
Histogram(BinSelect, DataType, DisableVar, Bins, Form, WtVal,
LoLim, UpLim)
Histogram4D 
Processes input data as either a standard histogram (frequency distribution) or a 
weighted‐value histogram of up to four dimensions. 
Syntax
Histogram4D(BinSelect, Source, DataType, DisableVar, Bins1,
Bins2, Bins3, Bins4, Form, WtVal, LoLim1, UpLim1, LoLim2, 
UpLim2, LoLim3, UpLim3, LoLim4, UpLim4) 
LevelCrossing 
Processes data into a one‐ or two‐dimensional histogram using a level‐crossing 
counting algorithm. 
Syntax
LevelCrossing(Source, DataType, DisableVar, NumLevels,
2ndDim, CrossingArray, 2ndArray, Hysteresis, Option)
RainFlow 
Processes data with the Rainflow counting algorithm, essential to estimating 
cumulative damage fatigue to components undergoing stress / strain cycles (see 
Downing S. D., Socie D. F. (1982) Simple Rainflow Counting Algorithms.  
International Journal of Fatigue Volume 4, Issue 1). 
Syntax
RainFlow(Source, DataType, DisableVar, MeanBins, AmpBins,
Lowlimit, Highlimit, MinAmp, Form)
