LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph problem

Hi,
 
I have a small problem. I have a waveform graph, which has 3 plots, and I want two different scales.
I figured out how to add a scale (duplicate and swap side). But it is impossible to assign any of the plots to the new scale. How I tried is explained in the figure. Have I forgotten something?
 
-Christian
0 Kudos
Message 1 of 11
(4,898 Views)

Hi

To assign a scale to a plot, on the front panel graph plot legend, rigtclick on the plot and on Y scale, choose what one you want for that plot.

 

Hope it helps

 

---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Message 2 of 11
(4,875 Views)

Hi,

The problem is that that doesn't work. If I select different scales to the plots, it automatically changes back to the original scale.

I have attatched the .vi if someone wants to try....

0 Kudos
Message 3 of 11
(4,851 Views)

Hi,

Your graph is set as a control.

should it not be changed to an indicator for plotting graphs on it?

Message Edited by devchander on 01-18-2006 06:36 AM

0 Kudos
Message 4 of 11
(4,845 Views)

i had the same problem before too, but then when i try it the next day, it'll magically work... it seems like a bug to me...

a way to get around it is to copy an existing chart or graph to your vi, i attached the ones i had, hope this helps ^_^

0 Kudos
Message 5 of 11
(4,838 Views)
The graph is located on a sub.vi, that is why it is set as a control.
 
Yes, this seems like a bug, or it is just very complicated to do Smiley Indifferent
 
I did not quite understand how you fixed the problem.... I see that it works, but don't know why....
 
 
0 Kudos
Message 6 of 11
(4,835 Views)

just copy the chart or graph from the VI i attached before to your VI, then customize it to however you want it to look.

just remember don't change the Plot tab in properties, it may come up with the same problem again.  if you want to change the name of the plots, just double click on the legend in the front panel to change it

hope this helps ^_^

0 Kudos
Message 7 of 11
(4,827 Views)

Hi

This is a quick example of a graph with 3 scales. As indicator.

And the way I use to asociate a scale and a plot using same colors for both.

Hope it helps

Alipio

---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 8 of 11
(4,823 Views)
Ok,
I used the graph from Elsa and modified it so it works fine Smiley Happy
Thanks
 
But that bug or whatever it is, irritates me!
 
 
 
0 Kudos
Message 9 of 11
(4,809 Views)

i know... i spent a lot of time to change it before.... just seems like there are so many bugs in LabVIEW...

0 Kudos
Message 10 of 11
(4,796 Views)