IF Block
Last updated
Last updated
The IF block is used to select the measured data of a data field from one or more devices of a specific device type.
Select the device type from the Device type drop-down list.
Select the data field that you want to input for the rule from the Data field drop-down list.
Select the device to which you want to apply the rule, either by 'Select from list' or using the 'Select from map' option.
Click on the text box and then, from the list, select the devices one by one. A tick mark will appear next to each selected device. You can click again on a selected device to deselect it.
If you have selected only one device, its name will appear in the text box.
If you have selected more than one device (e.g., 3 devices out of 20), the text in the text box will show as 3 of 20 selected
.
This option only works if your devices have been configured with geolocation.
Click on the Open map button.
A map will open in a model box.
Zoom (Ctrl + Scroll) into the area where your devices are located.
You can use a combination of circle and polygon shapes to define areas where the device could be.
Once added, you can edit the name of a circle or polygon by clicking on the edit (pencil) button.
You can delete a circle or polygon by clicking on the delete (bin) button.
Clicking on the delete button will not remove the devices shown inside the shape from the map.
Once finished, click on the Save button in the map modal.
Click on the + button to add more IF blocks and apply boolean operators like AND and OR between them.