09-23-2008 09:03 AM
Hi,
The graph on my front panel is not letting me adjust the axis. I have gone to preferences, and tried putting in inputs of the desired values, but after I click ok it returns the previous values. I would like the axis to start at zero, and keep running with time, but that isn't what happens. The values stay the same as the waveform keeps progressing across the screen. Do you have any suggestions as to how to adjust the axis with starting values, and get it to stay that way?
Thanks!
🙂
09-23-2008 09:28 AM
hi ,
can u post the vi in labview 8.2 format....
09-23-2008 02:05 PM
The waveform even continues to save as I would like it to, as I have checked when I opened the measure file (as a text file). The window continues to stay within the certain range. I would like to be able to set the parameters of the axis, and display certain parts. I have tried using the zoom in and zoom out functions on the graph, but the waveform remains within that window even when zoomed out. Any suggestions?
PS- How do I save the file as a LabVIEW 8.2?
09-23-2008 02:08 PM
Well, you could press "autoscale axis" and it will scroll automatically to follow the graph. You could do that for the x-axis (time).
If you have your initial axis set from 0-30 seconds, the axis will continually follow the graph, but always have a domain of 30 seconds.
Is that what you were asking or did I misunderstand?
09-23-2008 02:20 PM
I have tried to auto scale the graph, but it keeps returning to the same window frame size of (900m to 1), and this is a time axis. It doesn't matter if I change the axis as soon as I hit run the window frame returns to those numbers, and does not allow me to display any other part of the graph. Did this make it any more clear?
Below is a picture of the scaled x-axis that I am having difficulty with.
09-23-2008 02:22 PM
hi
go to File>>SAVE forprevious version >> labview 8.2 , after saving the vi....it will be in a folder named as the vi name.......
09-23-2008 02:26 PM
I guess if it is giving you a hard time changing the scale by hand,
why don't you try changing it programmatically?
- Right click on your graph
- Create >> property node >> X Scale >> Range
- Make one minimum and one maximum
- change both properties to "write" instead of "read"
- Wire them to either constants, or controls on the front panel
Hows that?
09-23-2008 02:37 PM
Actually, you said you wanted the graph to update with time.
So, you could leave the minimum wired to a constant, which is set to '0'.
Then, wire the current time to the maximum x scale property.
That way, the x scale will be exactly as long as it needs to show all the data.
I would do the following though.
If time < 10 seconds, xmax = 10seconds
if time > 10 seconds, xmax = current time
This will stop any problem from occuring at time 0, by having a scale of 0 length.
09-23-2008 02:55 PM
09-23-2008 03:12 PM