LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xy graph setting auto scale at run time

Hi,
Is there any way to set the gtaph's scale property as auto scale during run time?
 
I have set the property as autoscale(rightclicking the xy graph...ie,not at run time)
 
At  different runs the graph has to  display value of different ranges.
 
If i am running a high value range just after executing a small range ....it still shows the small range instead of showing the high range.
 
And some times i have to scroll the graph up inorder to see the values.
 
Is there any way to fix this?
0 Kudos
Message 1 of 2
(3,313 Views)

Check out the property nodes "XScale.ScaleFit" and "YScale.ScaleFit".

 If you don't know about Property Nodes, right click on the graph, go to "Create Property Node" and create one or both of these property nodes. If you give these a 0, it will turn off autoscale, a 1 it will autoscale once, a 2 and it will turn autoscale on. You can look at Labview Help for more information on Property Nodes. They are very useful for programmatically setting graph properties.

Though the behavior you mention sounds a little strange. Is X autoscale and Y autoscale set? If this is true, it should automatically update when new data is graphed. Maybe you could post a VI?

Michael

 

Message Edited by miguelc on 03-28-2007 09:49 AM

Message 2 of 2
(3,295 Views)