Jump to content

stop repeat programming statement isy99i


universal1

Recommended Posts

Posted

i have a program with a REPEAT EVERY 1 MINUTE statement. Is there a way to stop the loop? I tried "STOP" and "DISABLE" in the HTML interface. Neither works for me. I hope I don't have to power down the ISY :D

Posted

Thanks drprm1...NEVERMIND. I didn't see "Statement Execution Order" in the manual. I assumed the IF statement would only be executed at beginning of program. Apparently it if evaluated for each REPEAT. Not intuitive.

Posted
12 hours ago, universal1 said:

Thanks drprm1...NEVERMIND. I didn't see "Statement Execution Order" in the manual. I assumed the IF statement would only be executed at beginning of program. Apparently it if evaluated for each REPEAT. Not intuitive.

ISY is a triggerred event processing engine, not a inear code processor like most languages.

A Repeat 1 time(s) line will not stop and Repeat Every X minutes line.
Only a user  manual program interference click (right click on program in admin console tree) or a re-trigger of some triggerred event  line in your IF section can stop the looping.

It does NOT evaluate each repeat. It CAN be retriggered to evaluate during each repeat. (Think push technology. The If section doesn't go looking)
If a device or ISY element that is involved in the If sections changes value, the whole If section logic will be evaluated and the Then or Else section will be operated. This could mean restarting your Repeat Forever loop or executing the other (Else?) section instead.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...