onData receives the same value twice

J Jon Moromete 3 years 7 months ago
11 0 0

Hi guys,

Can you please provide some insights on why onData would receive the same value twice?
This happens randomly. Sometimes I run the app and scan the same codes and only one value gets picked up.

I'm running the EMDK 7.0 with the HARD trigger on a MC330M device.

public void onData(ScanDataCollection scanDataCollection) {
     if (scanDataCollection != null && scanDataCollection.getResult() == ScannerResults.SUCCESS) {
          ArrayList scanData = scanDataCollection.getScanData();

          //scanData contains the same scan data item twice, same value, same timestamp.
     }
}

Thank you,
Jon

CONTACT
Can’t find what you’re looking for?