Code Comments
Programming Forum and web based access to our favorite programming groups.Newbie Question: I am taking data from a Compact Fieldpoint and the user would like a running average of a certain reading. I am very close to making it work but c an't quite get it. I have the Add Array Elements PtByPt VI in a case structure that I cont rol. I can make this VI count and average just the way I want to if I start from the moment I execute the VI but to average readings on demand I d ecided to count loop iterat ions in the false case and then subtract that from the loop iteration counts in the true case. This did exactly what I want in taking me back to z ero everytime I go to true. The problem is when I did this my ave rage dropped out. I have attached a basic example of what I have so far. Any pointers wo uld be appreciated. Thanks AVERAGE BETA.vi: http://forums.ni.com/attachments/ni...13398/1/AVERAGE BETA.vi
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.