Condition Element

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.

Properties

The following properties can be changed for the condition element:

Name

The name of the element.

Triggers

The following triggers are available to execute events from within the condition element:

Triggered

Execute an event when the source element connected to the condition triggers.

Condition True

Execute an event when the condition evaluated is true.

Condition False

Execute an event when the condition evaluated is false.

Abilities

The following abilities are available for the condition element when its source element triggers:

Trigger

Trigger the element(s) that follow the condition element.

Check

Check the condition of a value.

Check Arguments    
Name Type Description
Value Object Condition of the value being checked. This can be a basic operand, such as value > 100, where “value” would be the name of the dataset

Element Resources

Atmosphere includes a selection of resources for users of all levels that demonstrate using the condition element.

Guides

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.

Name Hardware Description
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.

Demo Projects

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.

Name Hardware Description
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.