DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Zooming Options in Diadem View Window

How can I make it possible to zoom all plots in different sheets (View Window) to same range on x-axis (all plots have same x-axis)

0 Kudos
Message 1 of 5
(6,376 Views)

Hi Vasista,

 

If you put these two attached VBScripts in the same folder somewhere, then run the "Cursor Memory.VBS" script in the DIAdem SCRIPT panel, it will declare that the callback function in the "Cursor Memory Functions.VBS" script should run every time you switch between tabs in DIAdem VIEW.  This function sets the new tab's cursor properties equal to the old tab's cursor properties.

 

I believe this will give you what you want,

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Download All
0 Kudos
Message 2 of 5
(6,356 Views)

Hi Brad,

              Thanks for sending out those scripts. I'm working on more than 45 plots and I would really appreciate if you can help me in zooming other plots with out hitting 'Scroll in Cursor Range' button on every plot ( In my case I want all the plots to be zoomed for same range on x-axis). 

Thanks,

Vasista.

0 Kudos
Message 3 of 5
(6,351 Views)

Hi Vasista,

 

It's easy enough to loop over all the VIEW Areas on Each VIEW Sheet, check if the Area is of type "CurveChart2D", then set the zooming status for that Area to follow the cursors.  My question is how will you set the desired cursor range if all the graphs are already zoomed to the cursor range?  Do you have a master graph that you're using to set the zooming?  Are you zooming with the cursors or with the scroll wheel or the +/- buttons?

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 4 of 5
(6,348 Views)

Brad,

 

            - I'm currently zooming with 'Band cursor' on the plot I'm interested and making use of 'Scroll in Cursor range' to synx    x-axis on every other plot

 

          - I don't have any master graph to set Zooming

 

           This is what I'm hoping to have in diadem view:-

 

           - Zooming on a particular plot should automatically zoom (without hitting any button) with same range (on x-axis) on all other plots (even plots in other sheets)

 

          - Zooming should be possible mutiple times with respect to any plot 

 

Thanks,
Vasista

 

         

         

0 Kudos
Message 5 of 5
(6,323 Views)