Need better scanning performance?
DPMCodeReadingModes
Parameter DPMCodeReadingModes defines how to read direct part mark (DPM) barcodes.
Example
{
"DPMCodeReadingModes":
[
{
"Mode": "DPMCRM_GENERAL"
}
]
}
Parameter Summary
Parameter DPMCodeReadingModes consist of a group of DPM code reading mode objects. Each object includes a candidate mode and a series of auxiliary mode arguments.
Mode Arguments
The mode arguments of the DPM code reading mode object are shown as follow:
| Mode Argument Name | Mode Argument Summary |
|---|---|
| Mode (Required) |
Description Specifies a mode to read DPM barcode. |
| Type String |
|
| Candidate Mode List DPMCRM_GENERAL DPMCRM_AUTO DPMCRM_SKIP |
|
| BarcodeFormat (Optional) |
Description Specifies the format of the DPM barcode to be processed. |
| Type String |
|
| Range "BF_DATAMATRIX" or "BF_QR_CODE" |
|
| Default Value "BF_DATAMATRIX" |
|
| LibraryFileName (Optional) |
Description Sets the file name of the library to load dynamically. |
| Type String |
|
| Range A string value representing file name. |
|
| Default Value "" |
|
| Valid For All modes. |
|
| LibraryParameters (Optional) |
Description The library must be in the same place with Dynamsoft Barcode Reader Library. |
| Type String |
|
| Range A string value representing parameters. |
|
| Default Value "" |
|
| Valid For All modes. |
Default Settings
If the DPMCodeReadingModes is not configured in your template file, the following setting will be used as the default setting.
{
"DPMCodeReadingModes" :
[
{
"Mode" : "DPMCRM_SKIP"
}
]
}
Candidate Modes Introduction
DPMCRM_GENERAL
Reads DPM codes using the general algorithm. This mode has the following arguments for further customizing.
- BarcodeFormat
- LibraryFileName
- LibraryParameters
DPMCRM_AUTO
Lets the library choose a mode automatically. Not supported yet.