08-19-2016 12:16 PM
I have this vi, in which I want to use a 1d anova, but I always get NaN values. I tried the example here: http://forums.ni.com/t5/LabVIEW/1D-ANOVA/td-p/702716/page/2, but I still can't get it to work.
Can someone please help me?
Thanks.
Solved! Go to Solution.
08-19-2016 01:01 PM - edited 08-19-2016 01:02 PM
Did you try the inbuilt example to understand first by searching ANOVA in Help->Find Examples?
08-19-2016 01:10 PM
Yes I did. I even tried to follow the example, making the respective changes to adapt it to my needs, but I still got NaN. I tried to understand the help information, but had no luck.
Can you please help me figure this out?
Thanks.
08-19-2016 01:14 PM
Could you post your vi in LV2015 by File->Save for Previous Version.
-I am not sure of it, I'll try if i can help.
08-19-2016 01:17 PM
08-19-2016 01:18 PM
LV 2015 vi.
08-19-2016 01:24 PM
Can you provide the file and try to keep the control values to defalut and then send the vi so that with same data i can check.
08-19-2016 01:27 PM
Here is the LV 2015 VI, with the spreadsheet.
08-19-2016 02:23 PM
The array connected to the index input of the 1D ANOVA.vi contains only zeros. Your strange case statement inside the event structure which always adds 1 to -1 regardless of the value of i is a definite candidate for the Rube Goldberg code thread.
You have a lot of duplicated code, unnecesary code, hard to follow crooked wires, and unused shift registers.
Do not use the Abort button to stop your VI. Place a Stop boolean on the front panel and wire it to the loop termination terminal. It is not considered polite to post code with infinite loops.
Lynn
08-19-2016 02:34 PM
I fixed the index issue, but I am still getting NaN.
Can you please help me out?
Thanks.