LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integration

Solved!
Go to solution

Hi HrvojeM,

 

LabVIEW already has a Mean function…

 

So you want to average 2000*100 samples?

Best regards,
GerdW


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

Basically yes. For every value of the magnetic field or voltage (2000 evenly spaced values drom -3V to +3V) I would like to have only one (averaged) value of derivative of magnetization. I don't need to do 100 iterations, it could be less, i.e. 20.

0 Kudos
Message 12 of 15
(1,169 Views)

Hi HrvojeM,

 

see this thread, it basically handles the same problem on averaging!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 15
(1,156 Views)

Hi GerdW,

 

thank you for suggestion. I've found a possible solution for the averaging using uninitialized shift register from this link https://decibel.ni.com/content/docs/DOC-32883, but have some problems. Should I average both signals simultaneously or just the "time derivation of magnetization" signal? Is there a difference? (the "magnetic field strenght" signal is periodic in time with period of 33ms with no noise, and "time derivation of magnetization" signal is also periodic in time with same period but has some noise). I have attached VI's for both approaches, both of which gave empty "average dM/dt(H) graph".

 

Thank you for your time,

HrvojeM.

0 Kudos
Message 14 of 15
(1,119 Views)
Solution
Accepted by topic author HrvojeM

Hi guys,

 

I would like to thank you one more time for your help and let you know that I solved the problem with averaging with the big help from RyanPoPo. You can see our correspodence here https://decibel.ni.com/content/docs/DOC-32883#comment-46980

 

Best regards,

HrvojeM

0 Kudos
Message 15 of 15
(1,023 Views)