12-11-2012 09:00 PM - edited 12-11-2012 09:01 PM
I am not sure whether to say its a bug or its an intended feature but this is what we get. Enable retain wire value when the code is running and proble a DBL wire coming from a constant (0.098765 as shown), the value shown on the Tip strip of the probe is 0.10 but the actual value passing through the wire is 0.098765 why is this happens?
(In the figure the mouse pointer is missing)
12-11-2012 10:08 PM
Because the tip strip is probably set to round figures to 2 decimal places.
12-11-2012 11:02 PM
Yes I guess that is what happening but that is not what I would expect. Because while debugging it will not be good to put probe everywhere so I use to check the wire values using the Tip strip, so if this can be taken as a bug and NI gives a fix then it will be good.
12-12-2012 07:17 AM
Honestly, I've never seen the tip strip pop up quite like you show it. I only see it look like that hovering over the wire when highlight exectution is on and that wire is being execute.
I wouldn't call it a bug, but just a design choice. How many decimal places would you like to see? 6, 10, 15, more? If it was too many, then the tip strip would start obstructing other code as you were looking at the block diagram.
Why is it not good to put probes everywhere? I'd argue that is the intention for why probes exist in the first place.
12-12-2012 07:36 AM
@RavensFan wrote:
Honestly, I've never seen the tip strip pop up quite like you show it. I only see it look like that hovering over the wire when highlight exectution is on and that wire is being execute.
I wouldn't call it a bug, but just a design choice. How many decimal places would you like to see? 6, 10, 15, more? If it was too many, then the tip strip would start obstructing other code as you were looking at the block diagram.
Why is it not good to put probes everywhere? I'd argue that is the intention for why probes exist in the first place.
It depends on the value that is passing through and it would be good if we can see the values in the exponential form. No It is just similar to the checking of an electronic circuit with a DMM and probe. Probes are always good and am not denying that but when we have large set of probes its diffcult to spot out which probe goes where *compared* to the tip strip that I have shown.
12-12-2012 08:30 AM
I already thought of a solution for that problem.
Attached Probe or Block Diagram Indicator
It just needs more kudoes and to be implemented by NI.
12-12-2012 08:49 AM
Really a good idea but didn't attract more attention (kudos added). But still I would stand to fix this Tip strip because when we are dealing with fractional numbers the total value seems to be different.