Difference between revisions of "ISY-99i/ISY-26 INSTEON:Integer Variables"

From Universal Devices, Inc. Wiki
Jump to: navigation, search
(Created page with "==Integer Variables== * A signed integer (32 bit) * Arithmetic operations available in Actions * Comparison operations available in conditions * Initialized at startup * Chan...")
 
Line 9: Line 9:
  
  
==State Variable==
+
==State Variables==
  
 
* Identical to an Integer variable except that changes to the value do cause an event to be sent, causing programs to run
 
* Identical to an Integer variable except that changes to the value do cause an event to be sent, causing programs to run

Revision as of 18:28, 14 February 2013

Integer Variables

  • A signed integer (32 bit)
  • Arithmetic operations available in Actions
  • Comparison operations available in conditions
  • Initialized at startup
  • Changes to the value do not cause an event to be sent


State Variables

  • Identical to an Integer variable except that changes to the value do cause an event to be sent, causing programs to run


Variables Tab

  • The definitions for all the variables is under the Variables tab in Programs.
  • When you add/remove/rename a variable you must save your changes before they will take effect.
  • When you modify either the init value or the current value the change takes place immediately and you do not have to hit save.
  • The timestamp column shows the last time the current value of the variable was changed.


In Programs

  • For both actions and conditions, variables are shown with just their name prefixed by $.
    • For example, if you define a variable named counter it will show up as $counter in your programs.


Initialization

  • At startup, all variables are initialized to their predefined init value, or zero, if no init value has been specified. The init value may be set by editing the init value in the table containing the variable definitions.
  • The init value may also be set in pRograms, thus providing a means of persisting values across restarts.



ISY-26 INSTEON / ISY-99i Series INSTEON : User Guide