LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing waveform chart scales during runtime

Solved!
Go to solution

Hi,

 

I am just started learning Labview graphical programming. It is so interesting than the text based programming.

 

Of course the first topic is Acquire Analyze and Display. But in the display how to change the X axis and Y axis scale values during run time.

0 Kudos
Message 1 of 5
(4,894 Views)

You can right-click on the X and Y scales to set certain properties.

To change the properties programmatically, you can use "property node" and "invoke node". 

0 Kudos
Message 2 of 5
(4,888 Views)

Thanks for your immediate reply.

 

I want to change the properties programmatically.

 

Which property I have to use,  Active X scale or X scale (increment or decrement etc). I have tried with these two properties. but I cannot change the scale at the runtime. Kindly clarify

0 Kudos
Message 3 of 5
(4,880 Views)
Solution
Accepted by topic author Lavanya_sri

Maybe you should b a bit more clear what kind of values you want to change. (range, offset, multiplier, etc.)

 

For example to change the y-range, user property yscale..range..maximum or minimum. The x-range is a bit trickier, because you are dealing with a chart, when the x offset changes automatically as the history buffer is updated.

 

Of course you should also make sure to disable autoscaling, else it will revert at the next update.

 

 

You also might want to change the formatting of the x-axis. right now you show zero decimal digits. Also an axis "style" with a few more values would look better.

Message Edited by altenbach on 10-25-2008 01:02 PM
0 Kudos
Message 4 of 5
(4,876 Views)
Thank you. That is the one I am looking for.
0 Kudos
Message 5 of 5
(4,847 Views)