Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
eyes:logics:script [2017/06/12 16:03] sfiedle [Script] |
eyes:logics:script [2017/06/12 16:14] (current) sfiedle [Usage] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Usage ===== | ===== Usage ===== | ||
- | The script needs to be combined with the element [[eyes:logics:variable|]]. | + | The Script needs to be combined with the element [[eyes:logics:variable|]]. |
- | At first a Variable is set up with the certain data typ. | + | At first a Variable is set up with the certain data type. In order to access a single image in a cow workflow the script needs to call the cow.io[#number of the image in the IO]. Then to read a header value of that image the script needs to be expanded by the name of the header in quotation marks ["image header values name"]. |
- | In order to access a single image in a cow workflow the script needs to call the cow.io[#number of the image in the IO]. Then to read a header value of that image | + | |
- | cow.VariableName = cow.io[#number of the image in the IO]["image header values name"] | + | |
+ | **cow.VariableName = cow.io[#number of the image in the IO]["image header values name"]** | ||
===== Example ==== | ===== Example ==== | ||
{{ :eyes:logics:scriptcall.png |}} | {{ :eyes:logics:scriptcall.png |}} |