Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
eyes:logics:variable [2017/06/12 14:45] sfiedle [Concept] |
eyes:logics:variable [2017/06/12 16:02] (current) sfiedle [Usage] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Variable ====== | ====== Variable ====== | ||
- | THIS position should be used for a brief introduction (max 2 sentences!) of the logic, stating WHAT and WHY it is doing something. | + | 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 ===== | ||
- | Here, a general/generic description of HOW the logic is USED should be given. Try to be as general as possible, but also mention prerequisites, restrictions, advantages, requirements which are specific of this logic. Basically everything the user needs to know to successfully use this logic. | + | 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:varstringproperties.png |}}{{ :eyes:logics:varstringlogic.png |}} | + | {{ :eyes:logics:variablestringcombined.png?nolink |}} |