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.
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.
04-04-2017 02:42 PM
I am trying to a read value (39.198943) from a text file. Labview reports the value as 39.1989. I wrote a simple VI to explore this issue. When I add 0.198943 to 39 the answer reported is 39.1989. There must be some setting somewhere that I do not have correct. But I can't figure out how to make this problem go away.
Solved! Go to Solution.
04-04-2017 02:44 PM
Your display format is probably set to 6 significant figures. Try increasing that or setting it to 6 digits of precision.
04-04-2017 03:12 PM
What exactly do mean by "display precision?" I changed the "representation" of the indicators with no improvement. A screenshot is found on the third slide.
04-04-2017 03:19 PM - edited 04-04-2017 03:22 PM
right-click...display format... (nothing to do with representation).
This is a purely cosmetic issue and has nothing to do with the underlying data in the wire.
04-04-2017 03:53 PM
@todd_westley wrote:
What exactly do mean by "display precision?" I changed the "representation" of the indicators with no improvement. A screenshot is found on the third slide.
04-04-2017 03:59 PM - edited 04-04-2017 04:01 PM
I never used the phrase "display precision".
I said display format. You have two ways of selecting the display. And RTSVLU shows both of them. One is the number of significant digits. (I used the common phrase (significant figures".) Your was set for 6, which is why you got 39.1234 If you set it for digits of precision, then you can get 39.123456, the number of digits of precision after the decimal point.
Click on the help button in that dialog to learn more.
04-04-2017 04:13 PM - last edited on 04-02-2024 10:25 AM by Content Cleaner
@todd_westley wrote:
What exactly do mean by "display precision?" I changed the "representation" of the indicators with no improvement. A screenshot is found on the third slide.
Just FYI, please post images or vis directly, not in a PowerPoint slideshow. For front panel images you can use the Windows snip tool, and for code you can either just post your vi or create a snippet and post that image.
Edit: I almost forgot... or you can be fancy and use the LAVA snippet tool and do both at the same time!
04-04-2017 05:02 PM - last edited on 04-02-2024 10:27 AM by Content Cleaner
@BowenM wrote:
@todd_westley wrote:
What exactly do mean by "display precision?" I changed the "representation" of the indicators with no improvement. A screenshot is found on the third slide.
Just FYI, please post images or vis directly, not in a PowerPoint slideshow. For front panel images you can use the Windows snip tool, and for code you can either just post your vi or create a snippet and post that image.
Edit: I almost forgot... or you can be fancy and use the LAVA snippet tool and do both at the same time!
Or even simpler, just attach the VI (possibly after making the current values the default). 😄