DecoderName

Description

Retrieves the short decoder name for the passed in ID value.

Applies to

BarcodeScanner objects

Syntax

String scanner.DecoderName ( decoderID )

Argument

Description

scanner

The scanner object for which you want to retrieve a decoder name

decoderID

Integer value of the decoder

Returns

String. Returns the short decoder name.

Usage

Call DecoderName to determine the type of bar code scanned by a particular decoder.

Examples

Example 1

The following example returns the name of the scanner device with a decoder ID of 48:

ls_name = l_scanner.DecoderName(48)

The decoder ID of 48 corresponds to UPCE0, which is the value assigned to the variable ls_name in the preceding script.

See also