The condition element is used to evaluate a boolean operation.
The condition element is located in the Element Toolbox within Studio’s Application tab and Cloud tab.
The following properties can be changed for the condition element:
The name of the element.
The following triggers are available to execute events from within the condition element:
Execute an event when the source element connected to the condition triggers.
Execute an event when the condition evaluated is true.
Execute an event when the condition evaluated is false.
The following abilities are available for the condition element when its source element triggers:
Trigger the element(s) that follow the condition element.
Check the condition of a value.
|Value||Object||Condition of the value being checked. This can be a basic operand, such as
Atmosphere includes a selection of resources for users of all levels that demonstrate using the condition element.
For a step-by-step guide on creating a project that uses the condition element, click the guide’s name to learn how to use it within a project.
|Creating a Monitoring Solution||AVR-IoT WG||Complete walkthrough that demonstrates how to set up an Atmosphere project that measures device data and initiates a device status change if the data value reaches a certain condition.|
To view the condition element used within a project, click the demo’s name to open the project in Atmosphere and see how the element is set up.
|AVR-IoT Light Monitor Demo||AVR-IoT WG||The condition element is used within this demo project to check whenever a value exceeds a certain limit, and if so changes the device’s status.|
|PIC-IoT Condition Element Demo||PIC-IoT WG||The condition element is used within this demo project to check whenever a temperature value exceeds a certain limit, and if so sends the user a system notification.|