LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph sometimes takes a long time to update Legend

Solved!
Go to solution

Hi,

 

I wrote a small piece of code which highlights(changes the line width) the plot on the graph when a mouse is clicked on its name on the plot legend. The code runs fine except when I have the legend scrollbar is visible and it's position is not 0, then when I click on the plot name, the graph takes a long time(>4s) to change the width of the plot on on the legend. The plot on the graph is updated instantly. Its only the plot legend that takes a long time to update itself.

 

I have attached the code here.. Please run it and see if you also see the same behavior.

 

Thanks,

Ritesh 

0 Kudos
Message 1 of 6
(3,713 Views)

Hi Ritesh,

 

I tested out the code, and it appears that the legend will update once the cursor moves off of the selection on the legend. Similarly, the previous line width updates do not show on the legend until moused over.

 

Thank you for bringing this behavior to our attention; I will bring this up with R&D to see if anyone knows more about the issue.

 

Regards,

0 Kudos
Message 2 of 6
(3,651 Views)

Hi Yiran,

 

Thanks a lot for taking a loot at it.

 

I found another issue with LV 2015 using the same code. In LV 2015, when I click on the plot legend to highlight a plot and then use mouse scroller to scroll down the plot legend, LabVIEW crashes. LV only crashes when I first click on the plot legend and then use the mouse scroller to scroll down.. LV behaves fine if I use the legend scrollbar to scroll down..

 

0 Kudos
Message 3 of 6
(3,632 Views)

Hi Ritesh,

 

That's actually a known issue with arrays that should be fixed with the f2 patch of LabVIEW 2015. R&D has been informed of the issue you discovered earlier as well.  Thanks!

 

 

0 Kudos
Message 4 of 6
(3,595 Views)

Hi Yiran,

 

Thanks for the info!

 

Is there any chance of my first issue getting fixed in f2 patch of LV 2015?

 

0 Kudos
Message 5 of 6
(3,577 Views)
Solution
Accepted by LVCoder

Hi Ritesh,

 

The f2 patch is already released. http://www.ni.com/download/labview-development-system-2015/5656/en/

 

We will inform R&D of your first issue, but unfoturnately we cannot provide information about future product releases.

 

Regards,

 

0 Kudos
Message 6 of 6
(3,544 Views)