I am familiar with using the DelayUpdate/PauseUpdate command to temporarily stop any graphs/tables from updating when changes are made to their corresponding waves; however, I find PauseUpdate/DelayUpdate does not work to delay the updating of a Gizmo(e.g 3D scatter plot). When working with a 3D scatter plot, for example, the PauseUpdate/DelayUpdate command does not work to stop the Gizmo from updating when the waves it's graphing are changed.
Does anyone know of a way I can stop my Gizmo from updating when I edit a wave?
You did not state which version of Igor you are using. The following applies only to IP7. If for some reason you are still using earlier versions -- it's time to upgrade.
Gizmo will automatically update unless you hide its window. All updates due to changes in source waves are suspended when the window is hidden. As of the next nightly build you can use:
ModifyGizmo stopUpdates // and
ModifyGizmo resumeUpdates
It actually surprised me that the Gizmo is updating in each iteration while my function is still running (and not every 100 iterations with some progress report via DoUpdates).
Gizmo will automatically update unless you hide its window. All updates due to changes in source waves are suspended when the window is hidden. As of the next nightly build you can use:
ModifyGizmo stopUpdates // and ModifyGizmo resumeUpdates
A.G.
WaveMetrics, Inc.
May 23, 2017 at 01:00 pm - Permalink
-Hide my Gizmo
-Run some code to alter the constitute waves of the Gizmo
-Show and Update my Gizmo
-Repeat....
Thanks again, In Advance.
May 23, 2017 at 12:55 pm - Permalink
May 23, 2017 at 01:22 pm - Permalink
Hi all
A quick follow-up question for that old topic:
Is there a way to stop ALL gizmos from updating (without iterating through all windows) while a user function is running in Igor 7?
(Yes, it's time to upgrade)
HJ
May 1, 2025 at 12:24 am - Permalink
I can't think of a single command that blocks updating all Gizmo windows. This is not version dependent.
AG
May 2, 2025 at 12:26 pm - Permalink
Thanks for the info.
This might be a request for a new feature since it affects computation time a lot:
Gizmo displayed: 38.0s
Gizmo minimized: 20.7s
Gizmo killed: 20.6s
It actually surprised me that the Gizmo is updating in each iteration while my function is still running (and not every 100 iterations with some progress report via DoUpdates).
Cheers
HJ
May 2, 2025 at 11:45 pm - Permalink