06-03-2013 06:42 PM
Hi everyone, I was wondering how to implement a "filter" which prevents data to be written to the "write to measuments file" function. Say if the incomming data is a 0 (DBL), hwo to prevent it from being written?
Solved! Go to Solution.
06-03-2013 06:48 PM
Use a case structure. Put your write to measurement file inside a case structure, probably in the TRUE case.
06-03-2013 06:48 PM
Put the write inside a case structure and select the case wth the output of =0? from the comparison palette. Note that many times a DBL can be very small, ~ 1E-15, but not exactly zero due to the way numbers are represented in binary in the computer. As a result, zero comparisons often do not work the way people sometimes expect. Comparing to a range near zero may be better.
Lynn