LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to calcualte average value

I am using Labview 7.1 with E series card.Iam measuring voltage from a sensor the rang eof voltage is is from 0 to 5 volt. and iam using AI sample. vi to acquire data . iam not using any buffer . but my voltage values are varying very rapidly from 1.23 to 1.26 . when i tested it on MAx i found it gives me avergae value that is not changing. i want to know how can i calcualte the avergae value of my acquire voltage i know the formula of calculating avergae values:) but how i can apply this formla in this case.
0 Kudos
Message 1 of 2
(2,483 Views)
If you do a search on this forum for "running average" you should find some useful info as this topic has come up.
http://forums.ni.com/ni/board/message?board.id=170&message.id=5008&requireLogin=False

http://forums.ni.com/ni/board/message?board.id=140&message.id=8505&requireLogin=False

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EA9756A4E034080020E74861

This last one looks like one of the examples you will see in the LabVIEW "Help/Find Examples" keyword 'average'

Good Luck

P.M.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 2
(2,476 Views)