store average

Post beginners questions here. Don't be ashamed starting stupid topics.
Ответить
Renato_Rodrigues
interested
interested
Сообщения: 1
Зарегистрирован: 28 май 2013, 23:34
Версия LabVIEW: 11
Контактная информация:

store average

Сообщение Renato_Rodrigues »

Hello, I'm new here in Labview, and i have a little problem. I would like to known how I can collect points from a DAQ assistance, and make the average, and when I push a button, it stop to make the mean, and store the value.
I'm doing this using a case structure, however When I use the button, I can't save the valor of the average.
Can anybody help me?
Вложения
problemaverage.vi
(63.52 КБ) 291 скачивание
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: store average

Сообщение mzu2006 »

You need to use one of the averaging VIs.
1. Mean PtByPt.vi should be a good choice for you if you want to accumulate your mean for certain amount of samples, and have mean value constantly updated. Not the most optimal solution, but:
Average.png
Ответить

Вернуться в «For beginners»