Please login or register.

Login with username, password and session length

Author Topic: Flag operations slow  (Read 3066 times)

smatofu

  • Full Member
  • ***
  • Helpful Post Rating: 3
  • Posts: 53
Flag operations slow
« on: March 03, 2021, 08:44:22 AM »

Hi,

I am trying to reduce execution time on my macros. To my surprise, flag operations (checking flag condition, setting a flag, and clearing the flag) added around 5 seconds to my macro. 5 seconds for flag operations seems like an extremely long time, something from 1970s.

Am I missing anything?

Thanks,
Stan
Logged

smatofu

  • Full Member
  • ***
  • Helpful Post Rating: 3
  • Posts: 53
Re: Flag operations slow
« Reply #1 on: March 03, 2021, 05:08:04 PM »

Mystery solved!

Somehow, unintentionally, the "Run macro from PC" was activated. After I switched back to "Run macro from interface", the macro runs as fast as expected.
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.