322 views
in GUI Development by
How can we sleep inside a method? I want a delay of say 5 sec inside a method. How to achieve that in EW?

1 Answer

0 votes
by
 
Best answer

Hello, 

you can start a timer (with a period set to 5000 ms) and trigger the desired action when the timer is expired. For that purpose the OnTrigger slot method can be used.

Please have a look to the Timer documentation for more details.

Best regards,

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...