Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
eyes:logics:variable [2017/06/12 15:37]
sfiedle [Example]
eyes:logics:variable [2017/06/12 16:02] (current)
sfiedle [Usage]
Line 1: Line 1:
 ====== Variable ====== ====== Variable ======
-The Variable can be used+The Variable can be used to either save header values of the I/O or create new variables. It can have different data types, e.g. Integer. Decimal, String. They are only valid within the [[eyes:​logics:​group|]] they are created in.
  
 ===== Usage ===== ===== Usage =====
 +To construct a new Variable it is necessary to drag the element into a Group. In the properties window the type and name of the Variable is selected. It is possible to set a value and give a description. ​
  
 +A logic properties field can access the Variable by a right click in the text field (line edit), where it is supposed to be inserted. Then by clicking on 'Set Variable'​ a new window opens, where the name is put in. Important to know is that there needs to be a $ before the name of the Variable.
 ===== Example ==== ===== Example ====
 {{ :​eyes:​logics:​variablestring.png |}} {{ :​eyes:​logics:​variablestring.png |}}
 {{ :​eyes:​logics:​variablestringcombined.png?​nolink |}} {{ :​eyes:​logics:​variablestringcombined.png?​nolink |}}