onData receives the same value twice

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> scanData = scanDataCollection.getScanData();

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

     }

}

Thank you,

Jon