Exercise 1: Test expression analyses and correct the syntax

Document created by atalwar Employee on Aug 18, 2014Last modified by jkim on Jul 19, 2018
Version 3Show Document
  • View in full screen mode

Each of the following expressions has a mistake in the syntax. Identify the mistake and write out the correct analysis syntax.

 

1) Goal: If the Attribute1 value multiplied by 50 is greater than a threshold of 200 then output 1. If it is less than or equal to 200 then output 0.

Exercise1_Image1.png

 

2)  Goal: Output the addition of 2 attribute values

Exercise1_Image2.png

 

3) Goal: Provide a rolling sum of an attribute's values that have come in over the last 10 minutes

Exercise1_Image3.png

 

4) Goal: Output the number 4 if Attribute1 shows a value of ON, otherwise output 0

Exercise1_Image4.png

1 person found this helpful

Attachments

    Outcomes