From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
And while Wolfgang's on the topic, how about allowing a default value of "not a number" (NaN) for numeric controls with a floating point type?
NaN is specific to the IEEE flt pt spec but I is CVI supported on any non IEEE flt pt platform?
NaN is very good for indicating a "no measurement" or impossible measurement value without using some additional context to let the user know he / she's not looking at a good value.
In the old days we used 'funny numbers" (e.g. a negative value for time, power" to flag this, but NaN is perfect for it.
Without the control NaN default, you have to be sure and hack it in at startup or whenever you default the control, something of a needless hassle.
And if NaN works, then how about +Infinity, -Infinity and some of the other non-numeric values supported by IEEE flt pt?
It would be nice if NI would more fully incorporate IEEE flt pt into CVI. After all, it's hard to find a CVI app that doesn't use flt pt.