LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView code for Allan Variance?

Is there a LabVIEW tool for Allan Variance?
0 Kudos
Message 1 of 30
(9,545 Views)
Hello,

There is no single VI that computes Allan Variance, but you can definitely code it yourself using Analysis VIs (under All Functions -> Analyze -> Mathematics -> Probability and Statistics and others).

Thanks and have a great day!
Shakhina Pulatova
Applications Engineer
National Instruments
0 Kudos
Message 2 of 30
(9,510 Views)
You will find a library called Allan_Statistics.llb
under (NI path):
NI Home > NI Developer Zone > Development Library > Measurement and Automation Software > LabVIEW > Development System > Fundamentals > Graphs and Charts
or (URL):
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=EF32F4D54B4A211CE0340003BA230ECF&p_node=DZ52028&p_source=external

Have fun - any feedback to the author about the usefulness of this tool is appreciated!
0 Kudos
Message 3 of 30
(9,471 Views)
Anyone care to send me images (screen capture) of the Allan variance code found at the url given above?  I'm using LabVIEW 6i (6.0.2?) and can't open it...  I'll contact the author if this is going to take too much effort - it's been a few years since he posted though.
0 Kudos
Message 4 of 30
(9,245 Views)
Hi suetheche...,

here it comes in LV6.0. I just converted the actual calculation vi and change the comments from German to English.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 30
(9,240 Views)

I never did get round to saying thank you GerdW - so thankyou!Smiley Happy

Haven't had a chance to try it out yet either, but it was much appreciated.

I'm suethecheMIST by the way, but I quite like suetheche, has a ring to it!

0 Kudos
Message 6 of 30
(9,202 Views)
I reworked this code and tested it against Stable 32. 
0 Kudos
Message 7 of 30
(9,071 Views)
Here's some pictures of the VI's.
Download All
0 Kudos
Message 8 of 30
(9,070 Views)
0 Kudos
Message 9 of 30
(9,060 Views)
Hi Subliminal,

you should really clean up your code before uploadingSmiley Wink

I just changed 2 of those vis (allan-variance-dynamic.vi and calc_allan-variance.vi), the rest is up to you! (removing sequences, especially the stacked ones!; removing unneeded for loops, unneeded operations like deleting twice the first element, replacing constant math operations by constants - even when LV8+ is optimizing them anyway)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 30
(9,038 Views)