LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to update y axis range from graph?

Hi,
I have initilized y axis range using bundle by name but i want 1 more thing. When i run the program, i like to change range from graph (i know i can do it)but i like to see same range (i changed manually) when come back to that file after going to main file.

i will have my initialize constant range when i run first time (new browser).....

hope i made it clear to understand what i mean..

will appreciate..
0 Kudos
Message 1 of 2
(2,564 Views)
a couple of ways to do it, but they all try to achieve the same thing: save the range. One method is to save the Y-range to a global everytime you change it. Everytime the vi is called, initialize the Y-range with the saved value. The second way is to save the Y-range to a file. Or, you can create input and output for the VI, in your main loop then use a shift register to pass the value. Oh, there is another way, if your VI has a loop in it (I think it does), you can use an uninitialized shift register to save the Y-range. The result is that the VI can be called many time but the Y-range will remain the same unless you change it, however, everytime your program restarts you will loose the changes.

Hope this helpful



Joe
0 Kudos
Message 2 of 2
(2,564 Views)