Status

Description

Returns the current status of the scanner.

Applies to

BarcodeScanner

Syntax

Integer scannerobject.ScannerStatus ( )

Argument

Description

scannerobject

The name of the bar code scanner object

Returns

Integer. Returns one of the following values:

Usage

Typically you might call the Status function during exception processing to determine why the scanner error occured or a RetrieveData call failed.

Examples

Example 1

The following example returns the status of the scanner asscociated with the BarcodeScanner object l_scanner:

li_rtn = l_scanner.Status()

See also

RetrieveData