INF, -nan, -qnan, #QNAN, -1.#QNAN


#1

Hi All,

For those of you monitoring analog inputs, do you do any “sanity checking” on your value before displaying it (or using it in Node-RED)? Please do.

A couple reasons why:

  1. the way we represent a “not a number” value (typically 0x7FFF FFFF in current hardware) will vary depending on the software you’re using. And the groov gadget/version.

  2. Sanity checking is especially important if you’re doing any math like totalizing on the value or visualization (like a trend).

See these related topics on the subject:

Questions? Comments? Don’t be shy…
Thanks,
Mary


Leverage the trend API (for ANY groov Device type) for some Edge computing