Jump to content

run program command


Recommended Posts

Is a run program like a go to or a call subroutine?  On a go to it runs it and falls out the bottom and it's done while with a call subroutine it returns to the line after the call subroutine.

Unless a program Then or Else ends with a Run Program .... statement, execution simply ends at the last statement.


Event driven programming in the ISY is not necessarily a linear program flow like a BASIC program.  Many things (threads) can run in parallel.


Take for example:


Program: TestProgram


   Run Program1 (If Path)
   Run Program2 (If Path)
   Run Program3 (If Path)
   Run Program4 (If Path)
   Run TestProgram (Else Path)

   Run Program5 (If Path)
   Run Program6 (If Path

Selecting Run Then on TestProgram will result in programs 1 through 6 all running simultaneously.




Link to comment


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

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...