LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trouble with autoscale in overlayed charts

Hi all,
I've been trying all night to get a plotting system going where you can select what data is plotted in a set of strip charts through the use of a menu ring. I've managed to get this working no worries. However what i'm pulling my hair out over is the Y axis auto scaling. I can't seem to stop it from tracking the first plot (regardless of whether it is hidden or not), causing the other plots to go off the chart due to the incorrect scale. I'm using  property nodes to show and hide the relevant plots, I tried setting the autoscale using the property node also, however that did not work either. If anyone could help me out here that would be greatly appreciated.

If what i'm asking about is not possible, will I have to resort to producing two arrays (one for the maximum of the Y scale and the other for the minimum of the Y scale) and configure the Y axies for each plot using the property node?

Stirling
0 Kudos
Message 1 of 4
(2,779 Views)
Hello Stirling,

Posting either screenshots of your code or the actual VI would help me to understand the scaling issue.  Thanks!

-Bob
0 Kudos
Message 2 of 4
(2,761 Views)
Hi bob,
thanks for the reply and sorry about not including a screenshot, it was 3am at the time... I've managed to get around it by specifying min and max scale values instead of having it autoscale. It all works if it is placed in the main loop, however I'm getting a 1077 error when I put the code into a sub vi. I started this topic about it at the address below and included a screenshot.

http://forums.ni.com/ni/board/message?board.id=170&message.id=266023

Stirling
0 Kudos
Message 3 of 4
(2,747 Views)
Great! Glad to hear everything is working for you!

-Bob
0 Kudos
Message 4 of 4
(2,717 Views)