Variable handling
In programming, variables are easier to define than conditional loops.
Variable handling enhancements:
- Preserve user-defined variables—Preserves the user-defined variable values (for example, the current dimmer light level) across a normal system restart. It may not preserve them if the system shuts down abnormally.
- Program a system startup event —Initializes variables or performs other programming at system startup with a system startup event (in Programming, select the root of the project, and then select the event When the project is loaded).
- Define one variable to equal another—Defines one variable to equal another variable. This can be used to save and restore variable values.
Example: The level of a light or the volume of music in a room.
After this value is saved to the variable, you can restore the system variable to the value stored in the user variable. The system can then compare the two variables and determine if it needs to reset one of them.
- Create the event “When a System reboots”—Sends an email notification to the Control4 dealer that a customer’s system rebooted, helping the dealer monitor the system’s performance.