LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

to develop an error checker for consecutive values

Thanks Doug. Your answer has given me further insight into the problem.

However, I was wondering if it is possible to make an error checker for consecutive values of a particular variable.

That is, the first value and second value might be 100 and 100.5 respectively, but the third value might be 110, which is a wrong value. How do I discard the 110 point from being plotted?

Thanks.


Choy
0 Kudos
Message 1 of 3
(2,571 Views)
Really difficult. How do you know the first two values aren't errors and
the third one is correct. If you're getting these sorts of values fromn
your A-D hardware, I'd suggest fixing the problem at the source.
--
Regards,
Alf Katz,
alfkatz@removethis.ieee.org

"leon2001" wrote in message
news:50650000000800000009220000-991728092000@quiq.com...
> Thanks Doug. Your answer has given me further insight into the
> problem.
>
> However, I was wondering if it is possible to make an error checker
> for consecutive values of a particular variable.
>
> That is, the first value and second value might be 100 and 100.5
> respectively, but the third value might be 110, which is a wrong
> value. How do I discard the 110 point from being plotted?
>
> Thanks.
>
>
> Choy

0 Kudos
Message 2 of 3
(2,571 Views)
Leon,
As Alf says - its wise to start at the source of the problem; however, if you can't, or if your application is suited for filtering in the code, than try the attached as an example (It filters out values you don't want plotted, run it in continuous mode).
Good Luck, Doug
0 Kudos
Message 3 of 3
(2,571 Views)