22.01.2015 Views

HDevelop User's Manual

HDevelop User's Manual

HDevelop User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2. CONTROL TYPES AND CONSTANTS 61<br />

Meaning Abbreviation Notation<br />

line feed ÆÄ (Ä) Ò<br />

horizontal tabulator ÀÌ Ø<br />

vertical tabulator ÎÌ Ú<br />

backspace Ë <br />

carriage return Ê Ö<br />

form feed <br />

bell Ä <br />

backslash <br />

single quote ³ ³<br />

Table 3.2: Surrogates for special characters<br />

String<br />

³ÀÙÓ³<br />

³½¼º³<br />

³ÌÜغººÒ³<br />

³Ø ÌÜؽ Ø ÌÜؾ³<br />

³ËÓÐ³× ¹ÐØÖ³<br />

³ÈÖÓÖÑ×ÅÎÌÀÐÓÒÑ׳<br />

Meaning<br />

letters<br />

numbers (not ÖÐ)<br />

ÆÄ at the end of the string<br />

twotabsinatext<br />

single quote within the text<br />

Directory<br />

Table 3.3: String examples<br />

ÓÓÐÒ<br />

The constants ØÖÙ and Ð× belong to the type ÓÓÐÒ. ThevalueØÖÙ is internally<br />

represented by the number 1 and the value Ð× by 0. This means, that in the expression<br />

ÎÐ ØÖÙ the effective value of ÎÐ is set to 1. In general, every integer value 0<br />

means ØÖÙ. Please note that some HALCON operators take logical values for input (e.g.,<br />

×Ø ×Ý×ØÑ). In this case the HALCON operators expect string constants like ³ØÖÙ³ or<br />

³Ð׳ rather than the represented values ØÖÙ or Ð×.<br />

constants<br />

There are constants for the return value (result state) of an operator. The constants can<br />

be used together with the operator Ú ÖÖÓÖ ÚÖ and Ú ×Ø . These constants<br />

represent the normal return value of an operator, so called messages. For errors no constants<br />

are available 1 .<br />

Constant Meaning Value<br />

ÀÅËÌÊÍ No error; for tests: (ØÖÙ) 2<br />

ÀÅËÄË For tests: Ð× 3<br />

ÀÅËÎÇÁ No result could be computed 4<br />

ÀÅËÁÄ Operator did not succeed 5<br />

Table 3.4: Return values for operators<br />

In table 3.4 all return messages can be found.<br />

1 There exist more than 400 error numbers internally (see Extension Package Programmer’s <strong>Manual</strong>).<br />

HALCON 6.0

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

Saved successfully!

Ooh no, something went wrong!