【问题标题】:Problem when scanning DHL labels Identcode C# XAMARIN EMDK扫描 DHL 标签时出现问题 Identcode C# XAMARIN EMDK
【发布时间】:2021-07-07 12:59:34
【问题描述】:

我正在尝试使用 Xamarin 应用程序中的 EMDK 扫描 TC20 上的 DHL 标签。不幸的是,我没有得到任何反馈。条形码称为 Identcode。我可以在 Zebra Demo App 中扫描条形码。

我尝试了许多不同的设置,但不幸的是它不起作用。 附上要扫描的条形码图像。

config.DecoderParams.I2of5.Enabled = true;
//config.DecoderParams.I2of5.Length1 = 55;
//config.DecoderParams.I2of5.Length2 = 55;
//config.DecoderParams.I2of5.Redundancy = false;
//config.DecoderParams.I2of5.ConvertToEan13 = false;
//config.DecoderParams.I2of5.ReportCheckDigit = false;
config.DecoderParams.I2of5.SecurityLevel = ScannerConfig.SecurityLevel.Level3;

Sample

【问题讨论】:

  • 我知道这不是您具体问题的答案,但上次我使用 Zebra TC20/21(大约 6 个月前)时,我发现 Zebra Xamarin EMDK 有点不可靠并且没有得到很好的支持。使用带有 android 意图输出的内置 datawedge 软件/方法对我们来说要可靠得多。当您获得意图(因此代码中存在问题),或者您没有获得意图并需要查看 datawedge 中的设置时,也更容易诊断问题。值得一看是否适合您。
  • 我现在已经使用 DWDEMO 在设备上构建了一个工作配置。不幸的是,这在带有 EMDK 的 XAMRIN 中不起作用。 config.DecoderParams.I2of5.Enabled = true; ...I2of5.Febraban = false; ...I2of5.VerifyCheckDigit = ScannerConfig.CheckDigitType.No; ...I2of5.Length1 = 6; ...I2of5.Length2 = 55; ...I2of5.Redundancy = true; ...I2of5.ReportCheckDigit = false; ...I2of5.SecurityLevel = ScannerConfig.SecurityLevel.Level1; ...I2of5.ConvertToEan13 = false; ...I2of5.ReducedQuietZone = false;

标签: c# xamarin barcode-scanner motorola-emdk


【解决方案1】:

【讨论】:

  • config.DecoderParams.I2of5.VerifyCheckDigit = ScannerConfig.CheckDigitType.No;不幸的是不起作用
【解决方案2】:

我发现了我的错误。我有一个循环,我在其中检查扫描仪的状态并将其重置为读取。这意味着设置配置不会中断。

这是我的 DHL Identcode 的工作配置。

config.DecoderParams.I2of5.Enabled = true;
config.DecoderParams.I2of5.Febraban = false;
config.DecoderParams.I2of5.VerifyCheckDigit = ScannerConfig.CheckDigitType.No;
config.DecoderParams.I2of5.Length1 = 6;
config.DecoderParams.I2of5.Length2 = 55;
config.DecoderParams.I2of5.Redundancy = true;
config.DecoderParams.I2of5.ReportCheckDigit = false;
config.DecoderParams.I2of5.SecurityLevel = ScannerConfig.SecurityLevel.Level1;
config.DecoderParams.I2of5.ConvertToEan13 = false;
config.DecoderParams.I2of5.ReducedQuietZone = false;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-18
    • 1970-01-01
    • 2015-11-24
    • 1970-01-01
    • 1970-01-01
    • 2018-05-18
    相关资源
    最近更新 更多