LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate scale with same values

Hi....
 
I have a graph with many plots.All the plots depend on a single y scale.But i want to duplicate the y scale.
 
I just duplicated also.
 
But some times it shows different values for both scales.
 
I want both scales(say y1 and y2) to be identical.
 
How do i do it?
 
(I have used multiple scales in other applications.But in that cases some plots depent on y1 and others depend on y2.
But here the situation differs.i just want to display 2 scales...both with the same values
)
How do i go ahead?
 
I am attaching a saple screen shot of the graph(in which one y scale is from 0 to 2 and the duplicate frm 0 to 8...i just want both 2 be 0 to 2)and a portion of my block diagram.
 
Thanks in advance
Download All
0 Kudos
Message 1 of 7
(3,329 Views)
if i had to guess for a reason, look at this:



hope this helps,
Norbert

Message Edited by Norbert B on 11-19-2007 03:38 AM
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 7
(3,308 Views)

Hi...

Thanks for the help.

I tried like that also.

But no effect.

Need to code for duplicating scale with same values?

 

0 Kudos
Message 3 of 7
(3,283 Views)
There is absolutely nothing in the image of your block diagram that does anything with either of the scales. If you want the ranges to be the same, then you have to do something to set them. You can do it on the front panel or you can do it with a property node. The property you want is YScale.Range. this is a cluster that allows you to set min and max. You will have to use the property Active Y Scale first in order to specify which scale you are modifying.
Message 4 of 7
(3,271 Views)
Thanks a lot for the reply.
 
I was thinking,if we set a new scale as duplicate of another scale..then no need to copy the range ...automatically it will change.
 
So thanks 4 the info.
 
In my graph the y1 axis is autoscale depending on the values.
How do i make the two scale identical thru front panel?
 
But how do i copy the range of y1 scale to y2.
 
We have 2 specify the active scale of y1 as 1 and range also.
So anyway i have to write to the active scale and read from the range.all elements.
 
How do i do this at the sametime.We can either make write to all elements or read from all elements(i believe). Can not make some property to read and some towrite
at the same time
Message 5 of 7
(3,266 Views)
Of course some properties can be read and some can be written. When you right click on the property, about half way down is the option to individually set to read or write. Just pay a bit closer attention to the screen.
Message 6 of 7
(3,261 Views)

Thanks a lot for the info and suggestion.

Yes i found it out.

 

 

0 Kudos
Message 7 of 7
(3,254 Views)