LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't use second scale on XY plot

I am using Labview 8.0 and am trying to build an XY graph with two plots.  I need to be able to draw the two plots with different Y scales.  I have never had a problem in Labview 7.x but have tried this on two different computers with version 8.0 and I get the same problem.
 
I have four arrays of double precision numbers.  These are combined into two clusters and the two clusters are arrayed and wired into an XY plot.
On the front pannel I do the following: 
Duplicate Y scale,  Swap sides.
Fine so far but here is where it gets strange.
I select graph properties/plots and select "plot 1" at the top.  Then I go to  "Y-scale" and select the second scale that I just created.  When I let go of the mouse, Labview immediatly switches the scale back to the first!  
 
No error message, Labview simply refuses to allow a second scale. 
I was able to force Labview to do what I want by using the graph property nodes
 
ActivePlot=1
then
PlotYscaleIdx=1
 
Can anyone explain what is going on?
 
 
0 Kudos
Message 1 of 2
(2,560 Views)

Hi BDS,

I just tested what you said in LV 8.0, and indeed it is a bug.  Then I tried the samething in LV 8.2 and the problem was fixed.  If you don't have access to 8.2 and still have 7.1, I would make the graph in 7.1 upgrade to 8.0, and the problem should be gone.  That or stay with your property workaround.

Brian K.
0 Kudos
Message 2 of 2
(2,539 Views)