10-25-2008 11:35 AM
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.
Solved! Go to Solution.
10-25-2008 02:11 PM
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".
10-25-2008 02:36 PM
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
10-25-2008 02:58 PM - edited 10-25-2008 03:02 PM
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.
10-28-2008 12:18 AM