LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Autoscale doesn't work with every plot

I have a waveform chart which displays 7 plots. I can individually turn every plot visible or invisible during runtime. My problem is that if I select autoscale on y axis, the autoscale will work with only few of the plots but not the others. This way, when we turn some of the plots visible, we couldn't find them on the chart because they are out of the scale. Any one has some suggestions that where I should look for the problem? Thanks in advance.
 
Best regards,
 
Guangde
Message 1 of 4
(3,371 Views)
Hi Guangde,
 
What version of LabVIEW are you using?  A bug related to the Y scale not updating was reported to R&D (# 46LGGB41) and was fixed in LabVIEW 8.5. 
 
One option could be to disable AutoScale on the Y axis and either manually or programmatically change the range. 
 
You can also set the plot color to transparent instead of changing the visibility, and then the Y axis will not be affected. 
Jennifer R.
National Instruments
Applications Engineer
Message 2 of 4
(3,344 Views)

Hi Jennifer,

Thank you for your response to my question. After I posted the message for a day and no one responded, I called for NI tech support and confirmed it is a LV 8.2 (the version I'm using) bug. I have the LV 8.5 and I will install it in the future.

Setting plots to transparent color is also a interesting way to do it. If we use manual scale, it should be the same as setting them to invisible. But if we set autoscale, it will mess up the scaling. Is there other benefit if we use transparent color?

Best regards,

Guangde

Message 3 of 4
(3,320 Views)
Hi Guangde,
 
I'm glad to hear you will be able to install LabVIEW 8.5 and eliminate that behavior. 
 
In my testing, setting the plot color to transparent with AutoScale enabled meant the Y axis remained the same as when all plots were visible.  The advantage is just a less cluttered chart.  In effect it is the same as setting the scale manually, just another option. 
Jennifer R.
National Instruments
Applications Engineer
Message 4 of 4
(3,312 Views)