Retrieves the short decoder name for the passed in ID value.
BarcodeScanner objects
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 |
String. Returns the short decoder name.
Call DecoderName to determine the type of bar code scanned by a particular decoder.
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.