the_msp
Lifetime Supporting Member
I have a 4-20 ultrasonic sensor on an oil tank. I am getting spikes that I would like to get rid of.
Have tried this but I get 1.#QNAN.
V18, no logic preceeding what you see.
Searching the forum there was a suggestion to add the filter in the module properties. To do this the data format must be changed when adding the input module to the IO tree. Tried this but my only option in the drop down is "integer". Series C rev 3-1 1734-Ie2C.
Can someone tell me where I am going wrong.
Edit: spotted a typo in that CPT, have changed to "FV+C*(NV-FV)" - same result
You could try a filter:
FV=FV+C(NV-FV)
Where:
FV= Filtered value
C= constant (range 0-1) The smaller the number the more dampening.
NV= New Value
Have tried this but I get 1.#QNAN.
V18, no logic preceeding what you see.
Searching the forum there was a suggestion to add the filter in the module properties. To do this the data format must be changed when adding the input module to the IO tree. Tried this but my only option in the drop down is "integer". Series C rev 3-1 1734-Ie2C.
Can someone tell me where I am going wrong.
Edit: spotted a typo in that CPT, have changed to "FV+C*(NV-FV)" - same result
Last edited: