LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find average time taken by the data?

I have attached my vi below. I am a beginner in Labview. Could you please tell me the best way to get an average of 10 data points? My Vi is very messy.

Thank you

0 Kudos
Message 11 of 42
(1,120 Views)

Do you want the averages in groups of 10, or do you want the running average of the last 10?

 

If the latter, just Mean Pt by Pt.vi

0 Kudos
Message 12 of 42
(1,107 Views)

Hi prabesh,

 


@prabesh99 wrote:

I have attached my vi below. I am a beginner in Labview. Could you please tell me the best way to get an average of 10 data points?


It's probably not the "best" way, but it is a possible way:

This will output a new average value each 10 samples…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 42
(1,103 Views)

I want an average of each 10 data points. 

0 Kudos
Message 14 of 42
(1,086 Views)

I want an average of each 10 data points. 

0 Kudos
Message 15 of 42
(1,053 Views)

Hi prabesh,

 

what's the point of asking the very same question again after a week?

 

What have you tried in these 7 days? Where are you stuck?

What's wrong with my last example snippet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 42
(1,045 Views)

Hi GerdW,

 

I have attached the following Vi. please find the attachment. As I did what you said to me, but the code did not work.

sorry to bother you again.

 

thank you 

 

0 Kudos
Message 17 of 42
(1,042 Views)

Hi prabesh,

 

would you please attach a downconverted version of your VI? I prefer LV2017…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 42
(1,038 Views)

Dear GerdW,

Hi

what do you mean by a downconverted version? sorry! I could not understand. I am using Labview 2020.

thank you

0 Kudos
Message 19 of 42
(1,029 Views)

Hi prabesh,

 


@prabesh99 wrote:

what do you mean by a downconverted version? sorry! I could not understand. I am using Labview 2020.


File -> Save for previous…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 20 of 42
(1,023 Views)