Command property:


Synchronous command.



Command action:


Create a new Barcode reading pattern.


Syntax:


<command name="createbarcode" BarcodeName="[String]" SearchAreaUpperLeftX="[Integer]" SearchAreaUpperLeftY="[Integer]" SearchAreaLowerRightX="[Integer]" SearchAreaLowerRightY="[Integer]" Contrast="[Integer]-[Integer]" MinGaps="[Integer]" Spacing="[Integer]-[Integer]" GapSize="[Integer]" Threshold="[Integer]-[Integer]" SpacingStep="[Integer]" ContrastStep="[Integer]" ThresholdStep="[Integer]"  />


Parameters:

Name

Mandatory

Description

Format

Standard value

BarcodeName

Yes

Pattern name, used for perform the barcode reading operation.

String

-------------

SearchAreaUpperLeftX

Yes

Search Area Upper Left corner X Coordinate

Integer

-------------

SearchAreaUpperLeftY

Yes

Search Area Upper Left corner Y Coordinate

Integer

-------------

SearchAreaLowerRightX

Yes

Search Area Lower Right corner X Coordinate

Integer

-------------

SearchAreaLowerRightY

Yes

Search Area Lower Right corner Y Coordinate

Integer

-------------

Threshold

Yes

This threshold is used to separate signal gradients from noise gradients. Min = 1, Max = 100

Integer


MinGaps

Yes

Set minimum number of gaps a barcode must have

Integer


Contrast

Yes

Set gradient contrast.  Min = 1, Max = 100

Integer


Spacing

Yes

Set the scanline spacing.  Min = 1, Max = 100

Integer


GapSize

Yes

Set the size of a gap in a barcode

Integer


SpacingStep

Depend

Set the step of spacing. Mandatory if spacing is a range

Integer


ContrastStep

Depend

Set the step of contrast. Mandatory if contrast is a range

Integer


ThresholdStep

Depend

Set the step of threshold. Mandatory if threshold is a range

Integer


Windowing

No

Enable the windowing algorithm

Boolean

False

MinWindowingValue

No

Set the minimum value for the windowing algorithm

Integer

50

MaxWindowingValue

No

Set the maximum value for the windowing algorithm

Integer

170


Note:

Parameters Threshold, Contrast and Spacing can have a fixed integer value or a range value.

Fixed value have an higher speed reading with a lower reliability. Range values are longer but with higher reliability.


Reply:


<command valid="true" />



Command purpose:


This command is used during machine setup, to create barcode reading pattern, used during standard card issuing.