Command: Freeze

Previous  Next |  Direct link to this topic

Go to list of all Commands

Syntax: Freeze();

 

You can use this command to block in other commands and have them run faster.

NB: Not all operations support freeze/unfreeze and if you forget to call unfreeze or a previous command fails you might end up with an unresponsive window

Sample:

The following sample set a value in both item 16 and item 14. Before setting Freeze is called and after Unfreeze is called.

This cause the setting of the two values to be faster and the end user will not see the screen flickering

 

Freeze();

Set($[$16.0.0]|TEST1);

Set($[$14.0.0]|TEST2);

UnFreeze();

Video: Learn more about freeze/unfreeze

 


Similar/Related Commands:
- UnFreeze