LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Second y-scale does not change ranges

I have an array which feeds in 3 pieces of data (active Y-scale.index/Yscale.max/Yscale.min) to a property node which should change the range of a scale on either the left or right y-scale

everthing having to do with scaling and legends is in its own vi.

the file "modem hookup..." is the data set that should be loaded when prompted.

At the moment, only the original y-scale changes, no matter what the yscale index is.
0 Kudos
Message 1 of 4
(2,619 Views)
I'm not sure exactly what you're trying to do but I don't see anyplace in your code where you actually set Active Y Scale so all operations are just being done on scale 0.
0 Kudos
Message 2 of 4
(2,619 Views)
Yup, that was the problem.

I do have some questions though, if you don't mind...

I have 16 channels selected from a listbox, and the range and label should change to match the type of data going in.

At the moment the scale on the right shows data for wheel speed and suspension, which are actually four channels each. The other channels should be linked to the left scale.

Because the user needs to view, say, RPM and throttle position at the same time, i would like the first graph selected to be the one for which the scale is displayed.

Or perhaps, is there a relatively simple way to create a new scale each time an additional item is selected to be displayed?

thanks, bryan
0 Kudos
Message 3 of 4
(2,619 Views)
You can set a value to make certain scales visible or not. You can also change the label of the scales by changing the text property of "named label." You can then associate certain plots with various plots. It should accomplish what you want to do.
0 Kudos
Message 4 of 4
(2,619 Views)