LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

to develop an error checker

hi there.

i'm reading information from a GPS unit, specifically the GPS 2+ from GARMIN. In the process of logging data from the GPS unit, however, some longitude and latitude values which are received are wrong.

This is the fault of the GPS unit. However, my problem is that the data gets corrupted when this happens, and the LabVIEW program produces a strange-looking graph. Thus, i'm trying to develop some kind of error checker. The error checker might be something like this: Let the longitude be 107 degrees. The error checker will allow perhaps a tolerance of 0.05 degrees, and if that condition is NOT met, then that particular point will not be taken into account.

Is there any simple way to perform this function? T
hanks a million for answering the question.

Cheers,

Choy
0 Kudos
Message 1 of 2
(2,442 Views)
Its good to have 'error checkers' or 'tolerances'. An example I use is to multiple a nominal value X (107) by a 'tolerance' percent (.05), then add and subtract those two values to give the range allowable (112.35, 101.65). Then use an 'In range' VI (functions>Comparison palette) and wire in the hi, lo, and X values. Only the values within the range will be passed.
Good Luck, Doug
Message 2 of 2
(2,442 Views)