LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Analogread average.

I´m having problem with type of signal when I place mean.vi in the block diagram this show me  that I need to change the signal. The problem is when I put the sensor to 1 meter distance from arduino the lecture is not stable and if I calculate de averege this is more stable than the indivual lecture. I anyone have a short block diagram to do this please send to me. Thank you.

0 Kudos
Message 1 of 2
(3,726 Views)

Your code doesn't have a Mean.vi in it.  I'm guessing that you might be trying to wire a scalar to the mean function when it only accepts an array.  For that VI, you need to have an array of data to take the average of.  Alternatively, there is a "Point by Point" average function.  You can find it by simply searching the for "mean" on the functions palette.

If that doesn't help, you'll have to explain better what you are trying to do.  Also, what is "lecture"?

0 Kudos
Message 2 of 2
(3,226 Views)