22.01.2015 Views

HDevelop User's Manual

HDevelop User's Manual

HDevelop User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.4. OPERATIONS ON ICONIC OBJECTS 63<br />

item ÜÙØ º Ê×Ø ÈÖÓÖÑ. The content of the variable is deleted before the variable is<br />

assigned with new values.<br />

The concept of different kinds of variables allows a first (“coarse”) typification of variables<br />

(control or iconic data), whereas the actual type of the data (e.g., ÖÐ, ÒØÖ, ×ØÖÒ, etc.)<br />

is undefined until the variable gets assigned with a concrete value. Therefore, it is possible that<br />

the type of a new data item differs from that of the old.<br />

3.4 Operations on Iconic Objects<br />

Iconic objects are exclusively processed by HALCON operators. HALCON operators work<br />

on tuples of iconic objects, which are represented by their surrogates in the HALCON data<br />

management. The results of those operators are again tuples of iconic objects or control data<br />

elements. For a detailed description of the HALCON operators refer to the HALCON reference<br />

manual and the remarks in chapter 3.5.3.<br />

3.5 Expressions for Input Control Parameters<br />

In <strong>HDevelop</strong>, the use of expressions is limited to control input parameters; all other kinds of<br />

parameters must be assigned by variables.<br />

3.5.1 General Features of Tuple Operations<br />

This chapter is intended to give you a short overview over the features of tuples and their operations.<br />

A more detailed description of each operator mentioned here is given in the following<br />

sections.<br />

Please note that in all following tables variables and constants have been substituted by letters.<br />

These letters give information about possible limitations of the areas of definition. A single<br />

letter (inside these tables) represents a data type. Operations on these symbols can only be<br />

applied to parameters of the indicated type or to expressions that return a result of the indicated<br />

type. To begin with, table 3.5 specifies the names and types of the symbolic names.<br />

Symbol Types<br />

ÒØÖ<br />

arithmetic, that is: ÒØÖ or ÖÐ<br />

Ð ÓÓÐÒ<br />

× ×ØÖÒ<br />

Ú all types (atomic)<br />

Ø all types (tuple)<br />

Table 3.5: Symbolic variables for the operation description<br />

Operators are normally described assuming atomic tuples (tuples of length 1). If the tuple<br />

contains more than one element, most operators work as follows:<br />

HALCON 6.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!