|
|||||||||||||
As suggested about two years ago (http://forums.ni.com/t5/LabWindows-CVI/Is-it-possi
Phrased differently I would like to have one more attribute 'SHOW_POSITIVE_SIGN' that could be set to
0: don't show the plus sign, i.e. display numbers as is implemented now, default
1: show plus sign for positive numbers
2: show plus sign for positive numbers and zero
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.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Note: the LabWindows/CVI Idea Exchange is not the appropriate forum to submit technical support questions.
The LabWindows/CVI R&D team is committed to reviewing every idea submitted via the LabWindows/CVI Idea Exchange. However, we cannot guarantee the implementation of any LabWindows/CVI Idea Exchange submission.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page