CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:gui-designer:math-expressions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:gui-designer:math-expressions [2014/04/16 13:43]
jarrod [Usage]
software:gui-designer:math-expressions [2015/04/09 00:58] (current)
jarrod [Numbers and text output formatting]
Line 17: Line 17:
  
 <WRAP center round important 90%> <WRAP center round important 90%>
-Do NOT use the double curly braces in the ''​capture group > transform''​ property in your feedback parsing. They are not needed in the transform property ​(because this field can only contain math expressions).\\ +Do NOT use the double curly braces in the ''​capture group > transform''​ property in your feedback parsing. They are not needed in the transform property because this field can **only** contain math expressions. Read the above paragraph for more details.
-Read the above paragraph for more details.+
 </​WRAP>​ </​WRAP>​
  
Line 53: Line 52:
 Math expressions can also be used in feedback '​capture group' items, within the transform field. This works same as above, but you don't have to wrap the expression in curly braces.\\ Math expressions can also be used in feedback '​capture group' items, within the transform field. This works same as above, but you don't have to wrap the expression in curly braces.\\
 \\ \\
-With transforms, one predefined constant is set ("​value"​) which is the value extracted from the capture group, and can be used in the math computation.+With transforms, one predefined constant is set ("​value"​) which is the value extracted from the capture group, and can be used in the math computation.\\ 
 +<WRAP center round tip 80%> 
 +Note that the '​value'​ constant does not support decimal values when using an Analog data type. The constant will always be rounded to a whole number before any transform can take place.\\ 
 +So you need to capture it into a serial join first, then use [[#​referencing-other-groups|capture group name referencing]] to perform any math on this value if you need the initial captured value to support decimals. 
 +</​WRAP>​
  
  
software/gui-designer/math-expressions.1397655809.txt.gz · Last modified: 2014/04/16 13:43 by jarrod