Continuous Scan on MC32

J Julie Bardaji 3 years 7 months ago
20 2 0

Hi,
 
I'm trying to implement the continous scan on a MC32 device on Android.
 
I read the barcode sample, try it, but the barcode sample is not using the API continuousScan parameter.
 
This is my code :
 
ScannerConfig sc = this.scanner.getConfig();
 
//Log.d("JBA", " beamTimer : " + String.valueOf(sc.readerParams.readerSpecific.imagerSpecific.beamTimer));if (sc.readerParams.readerSpecific.imagerSpecific != null) {
  sc.decoderParams.code11.enabled = true;
  sc.decoderParams.code39.enabled = true;
  sc.decoderParams.code128.enabled = true;
  sc.decoderParams.upca.enabled = true;
  sc.decoderParams.ean8.enabled = true;
  sc.decoderParams.ean13.enabled = true;
  sc.readerParams.readerSpecific.imagerSpecific.beamTimer = 3000;
  sc.readerParams.readerSpecific.imagerSpecific.pickList = ScannerConfig.PickList.ENABLED;
  sc.readerParams.readerSpecific.imagerSpecific.continuousRead.isContinuousScan = true;
  sc.readerParams.readerSpecific.imagerSpecific.continuousRead.sameSymbolTimeout = 1000;
  sc.readerParams.readerSpecific.imagerSpecific.continuousRead.differentSymbolTimeout = 0;
}
 
this.scanner.setConfig(sc);
 
The problem is that looking at the this.scanner.getConfig() object after the setConfig line, the object has not been set with the values on sc.readerParams.readerSpecific.imagerSpecific.continuousRead lines.
And when I look to the sc.isParamSupported("sc.readerParams.readerSpecific.imagerSpecific.continuousRead.isContinuousScan") and two others parameters, the value is FALSE.
 
So what went wrong ? Am i forgetting to set something so the parameters are "Supported" again ?
 
Thank you for your reply,
 
Julie

Please Register or Login to post a reply

2 Replies

C CC Radu

I am not on the subject but i see that you use the MC32 device and c#

The code works on simulator from xamarin or it must to connect the device ?

Thanks.

Y Yanis Dalabiras

Hello Julie, Continuous mode is not supported on that device.  The EMDK release notes state that it is supported on the TC55 and TC75 as of EMDK 3.1.

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