09-06-2013 02:04 AM
Hello,
I thought to remember that it is possible to set the number of digits that are displayed in the variable view. Right now, doubles show with five decimal places... where can I change this setting to show 'all' digits? Or has this feature gone with the new Variables Window in CVI2013?
Solved! Go to Solution.
09-10-2013 07:47 AM
Hello Wolfgang,
it is possible to change the preferences. (Format --> Preferences )
Have a look at the attached screenshot to see no digits in the value window.
Kind Regards,
Philipp K.
AE | NI Germany
09-10-2013 08:04 AM
Hello Philipp,
thanks for addressing my post. However, I am looking for a possibility to change the precision, i.e. the number of digits, of floating point values. Right now, both format options 'Scientific' and 'Floating Point' only show six digits while I'd like to see all...
09-12-2013 02:16 AM
May be I wasn't clear enough...
Right now, there are three possibilities to see a variable value during debugging: as data tooltip or in variable view; the latter provides the option to display the value in floating point format or in scientific format. Floating point provides a precision of 5 digits, scientific format provides a precision of 6 digits, see the figures below.
Once in a while I need to see all digits - where can I set the precision of the displayed variables? I knew how to accomplish it prior to CVI2013...
Thanks.
In this test case, p has been defined as 0.31830988618379067153776752675.
09-19-2013 10:19 AM
Hi Wolfgang,
I've created a bug report to track this: 427730.
What I noticed is that CVI 2012 was showing the maximum precision for doubles, whereas CVI 2013 is only showing 5 decimal places. This is what the bug above is addressing.
So far as I can tell, it's not possible to change the precision in 2013, nor do I know how to change it in 2012, but I could be missing something. When you say "I knew how to accomplish it prior to CVI2013" what do you have in mind?
Luis
09-19-2013 10:32 AM
Hi Luis,
Thanks for addressing the issue, I am relieved that it is not me who is unable to change the display settings
Concerning your question - I am not sure if it was possible to change the precision before CVI2013, but I remember that I was able to see all relevant digits.
Now for the serious part: it takes all sorts of issues, some are cosmetic, some are basic. Being unable to debug certain parts of my code made me seriously regret my update to CVI2013. PLEASE, fix this as soon as possible.
10-07-2013 10:16 AM
Hi Luis, I found the place where to set precision - but it's not possible in the Variables and Call Stack, only in the array view... Here you can right click the table and choose Format / Set Precision, this option is missing in Variables and Call Stack
10-23-2013 11:56 AM
Being unable to debug certain parts of my code made me seriously regret my update to CVI2013. PLEASE, fix this as soon as possible.
Thanks for the quick fix in CVI 2013 patch f1
04-17-2014 01:57 AM
Unfortunately it turned out that the issues has not been fully resolved... Data tooltips and variable view do some kind of automatic rounding but based on 15 digits only...
04-21-2014 02:27 PM
You're right, the auto-precision is only showing a maximum of 15 digits, rather than 17. This seems to have been the case in all versions of CVI, from what I can tell. I haven't investigated this yet, but I created a CAR for investigation: 466763.