04-04-2017 12:05 PM
Hii Friends,
Can anyone help me in sorting out the following issue with my Labview code.
My program consists of the following steps:
1) Opening an already existing spreadsheet having two columns (p and s)
2)Filtering few values in the s column above a threshold value (I my code it is 0.025) and then removing the corresponding p values.
3) Taking a rolling average with 10 point interval
4) Filtering p values in a certain range(0.2489 and 0.273) and extracting the corresponding s values(around 31 values in my code)
5) Lastly, i take normal average of these 31 values. of both p and s.
I have made similar calculation in excel and crosschecked my program. Upto the 4th step, the program code seems to be fine. The problem arises in the 5th step.
The p mean and s mean seem to be right. However, the array size in the last loop displays a value of 992 instead of 31. Not knowing where the misake has been made. Can anyone point out my mistake so that i can correct it.
I am attaching my excel file from where i got the data, the front panel pic and my labview code.
Thanking you
04-04-2017 07:53 PM
sorry guys..solved the problem myself...
04-04-2017 08:18 PM
Well, tell how you solved it.
It might help someone in the future with a similar problem who discovers your message thread.
04-05-2017 12:26 AM