02-03-2009 10:13 AM
In a numeric control (I'm using DBL), if you type something like this: number, dot, number, dot, up_arrow_key
For example: 3.5.<up_arrow_key>
the control shows NaN. Granted, it's not a number.
I prefer the behavior that the control does when you, say, type a letter or other any non-numeric character. The control ignores that and reverts back to the last value, but when you type a non-numeric character and then hit the up or down arrow key, the control shows NaN.
I prefer that behavior because when the users makes the mistake of typing in a non-numeric character and see the NaN, they don't know what to do or how to recover. Should we have to error check all controls in an effort of making them fool-proof, or should the control simply revert back to the last good value? I'd much rather the latter.
02-03-2009 10:56 AM
Sima,
When I type in "3.5.<up>", it simply goes back to the previous value. I'm using LabVIEW 8.6. Which version are you using?
Chris M
02-03-2009 01:24 PM
02-03-2009 02:03 PM
Ah. I'm using LV 8.5. Maybe that's why. Unfortunately we will not be upgrading to LV 8.6 for some other bugs in that version. Does that mean we're stuck with it?
02-03-2009 02:10 PM
02-03-2009 02:12 PM
Unfortunately, LV 8.6.1 won't do us any good because of not being able to open the block diagram in subpanels.
02-04-2009 04:59 AM