Well, I have a slight problem. The Mode.VI for LV5.1 and LV6.1 are, I believe, wired incorrectly. I am surprised not to be able to find a solution here since this vi is at least two full versions old. I don't know if it remained the same in LV7.1
Anyhow, here is what is happening. As per the Mode.vi help, Mode is the value that occurs most often in a sequence of values. For example, if the input sequence is X = {0, 1, 3, 3, 4, 4, 4, 5, 5, 7}, then the mode of X is 4 because that is the value that most often occurs in X. So I decided to do a quick sanity check and test the vi with a very simple array set. X = {0, 1, 2, 2, 2, 2, 3, 4, 5, 6}, array size is 10 Xmin = 0 and Xmax = 9 deltaX = 1 Interval = (9 - 0)/ 1 Using Mode.vi the result, using the data above, is <b>2.33</b>. Clearly incorrect just by looking at the array set. So after reading and making sure I was doing things right, I looked at the code the comprises the Mode.vi and found a little problem. The array being used to select the mode was the output of the hystogram.vi called (X Values). The array used to select the mode should be the original array. This is the input array going to the hystogram not it's output. After taking the liberty of rewiring the arrays the vi worked great as it should've. Please, anyone, correctme if I am wrong but do I see an improperly wired vi here? Thanks, Wil