12-14-2007 09:06 PM
12-14-2007 09:07 PM
12-17-2007 10:11 PM
Hello tahurst,
I tested your function for programmatically zooming out the graph and it seems to work as intended. My test involved assigning values to a graph, pausing the program, zooming in using the graph palette, and then letting the loop run to restore the view back to a zoomed out state.
In addition, I have also found two more examples that tackle this application. The first example uses a simple event structure to implement an "undo zoom" button that restores the graph after zooming in on the waveform. The second example is a little bit more complicated, but illustrates user control over both zooming in and zooming out on a waveform graph.
Example 1: Undoing a Zoom Operation on a Waveform Graph
Example 2: Zoom Graph
Both examples are developing in previous LabVIEW version so you should be able to open them in newer versions of LabVIEW without issue. Let me know if you have any problems getting the examples to work, or additional questions regarding your design.
Regards,