LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chart digital display format keeps changing

I will try to set the scientific format as suggested by Pakman. My aim is to make this as general as possible. I use this for multiple charting displays.
0 Kudos
Message 11 of 15
(866 Views)
I tried a modification of your modified version of my dprogram. In this particuliar case, I have the first 2 elements set to 1 and the rest to 0 (scientific & floating point). When it leaves the Digital_Left-Hor, it will revert all to scientific. I suspect, that the value is completely dependent on some kind of default value.
I have included the modification.
0 Kudos
Message 12 of 15
(843 Views)
Hi Joseph,

You're approaching the problem correctly, but each time the chart visibility changes, the chart settings are reset.  Thus, the format modifications in Digital_Left-Hor.vi are lost when the chart goes invisible in Legend_Left-Hor.vi.  The solution to this problem is to make your formats in the VI that changes the visibility last (Legend_Left-Hor.vi in this case).  Refer to the attached library.
0 Kudos
Message 13 of 15
(824 Views)

Pakman,

 

I came to the same conclusion as you did. I forgot about the other VI that cause the problem. I redid both of the VI. In this version, it will read the display format and set it after the location of the display is set.

0 Kudos
Message 14 of 15
(822 Views)
Looks good, Joseph!
0 Kudos
Message 15 of 15
(800 Views)