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.



2)  Goal: Output the addition of 2 attribute values



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



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


1 person found this helpful