ETcVn2dCodeSearchStrategy

Offers search strategies for 2d code reading (multiple TCVN_CSS_XXX_INVERTED or multiple TCVN_CSS_XXX_FLIPPED cannot be combined).

Syntax

Definition:

TYPE ETcVn2dCodeSearchStrategy :
(
    TCVN_CSS_DEFAULT            := 1,
    TCVN_CSS_ONLY_NOT_INVERTED  := 8,
    TCVN_CSS_FIRST_NOT_INVERTED := 10,
    TCVN_CSS_ONLY_INVERTED      := 12,
    TCVN_CSS_FIRST_INVERTED     := 14,
    TCVN_CSS_ONLY_NOT_FLIPPED   := 64,
    TCVN_CSS_FIRST_NOT_FLIPPED  := 80,
    TCVN_CSS_ONLY_FLIPPED       := 96,
    TCVN_CSS_FIRST_FLIPPED      := 112
)UDINT;
END_TYPE

Values

Name

Description

TCVN_CSS_DEFAULT

The algorithm searches for codes using the default searching strategy, all other flags are ignored (dependant on code type).

TCVN_CSS_ONLY_NOT_INVERTED

The algorithm searches for codes only in the non-inverted image.

TCVN_CSS_FIRST_NOT_INVERTED

The algorithm first searches for codes in the non-inverted and then in the inverted image.

TCVN_CSS_ONLY_INVERTED

The algorithm searches for codes only in the inverted image.

TCVN_CSS_FIRST_INVERTED

The algorithm first searches for codes in the inverted and then in the non-inverted image.

TCVN_CSS_ONLY_NOT_FLIPPED

The algorithm searches for codes only in the non-mirrored image.

TCVN_CSS_FIRST_NOT_FLIPPED

The algorithm first searches for codes in the non-mirrored and then in the mirrored image.

TCVN_CSS_ONLY_FLIPPED

The algorithm searches for codes only in the mirrored image.

TCVN_CSS_FIRST_FLIPPED

The algorithm first searches for codes in the mirrored and then in the non-mirrored image.

Further information

This enum provides setting options for the search strategy of code reading functions. For more information see Code reading search strategies.

Related functions