Bar Code Reading Stops

Device Used MC3100

OS Windows CE 6.0

EMDK 2.6

 

I am developing an application for reading a 1D barcode.

 

I am facing 2 issues.

 

1. The application was developed using the VB.Net sample for reading the Bar Code from EMDK 2.6.

When the application is run the bar code is read successfully once. No further reads are possible.

Pressing the trigger activates the laser but no barcode is read.

Restarting the application does not help. A Warm Boot will allow the bar code to be read once more!

This peculiar behaviour occurs with my application as well as the sample application from the EMDK.

 

Could it be that subsequent reads are controlled by Data Wedge?

I could not see Data Wedge installed on the device.

 

2. The data is to be saved into SQL Server 2008 R2 Express.

I copied and ran the sql.wce5.armv4i.CAB on the device.

The SQL connectivity was successfully established.

 

However after a Warm Boot the CAB needs to be reinstalled.

How can I make it permanent.

 

My application was run by copying it to the device.

I have not run a Setup and installed it.

 

Help appreciated.

Larry Dykes
Hi Vikrant, On Issue No. 2, I

Hi Vikrant,

On Issue No. 2, I can probably help.. but first let me make sure I understand the problem..

How are you initiating a warm boot?

Second, when you say "the cab needs to be re-installed" do you mean the files and registry settings that it created are gone?
I might expect this to happen on a cold boot, but not a warm boot.  

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Vikrant Vaishampayan
Hi Larry,I initiate the boot

Hi Larry,

I initiate the boot by pressing the keys 1 + 9 + Power.

This brings up the screen where the touch screen is reinitialized by clicking the cross in different locations.

The folder on the Handheld (where my application was copied to) is gone.

I copy my application once again and running it throws an SQL Exception as the SQL Driver CAB installation is gone.

I might be wrong in using the terms warm / cold. Do correct me.

All in all

1. how do I retain the SQL Driver installation?

2. do I need to run a SETUP file for my application?

Thanks,

Vikrant

From: Larry Dykes

Sent: Wednesday, June 19, 2013 10:13 PM

To: Vikrant Vaishampayan

Subject: - Re: Bar Code Reading Stops

Motorola Solutions Launchpad

Re: Bar Code Reading Stops

created by Larry Dykes in Mobile Computing - View the full discussion

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Hayden Eastman
Vikrant,1+9+power will

Vikrant,

1+9+power will perform a coldboot.  All you should need to do is hold down the power button for 5 seconds to perform a warmboot.  If you need to have the sql installation to occur after a coldboot, you can place the cab file in the \application\startup folder and it will be run after a coldboot.  With that said, I'm not sure if it may actually be run after a warmboot as well.  If you need better control of the startup process, I suggest you take a look at the StartupCtl product which can be downloaded from this link:

http://support.symbol.com/support/search.do?cmd=displayKC&docType=kc&externalId=13481&sliceId=&dialogID=535802656&stateId=1 0 535800235

As far as the scanning issue; if you've verified that Datawedge is not running on the device, can you provide a code snippet of your application?  You should also build one of our sample scanning apps and run it on the device to ensure that there's not a hardware problem.

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


yearmore fde
i am not a vb.net guy, but c#

i am not a vb.net guy, but c# . if you need some sample codes on how to do bar code reading. i can provide you some help. but first you have to make sure the hardware haven't go wrong.it is the snippets you are using should be changed.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Robin West
Hi Vikrant,Could you let us

Hi Vikrant,

Could you let us know what BSP you are running on the device?  Also any indications on CPU/memory usage when the app is run?

Thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Vikrant Vaishampayan
How do I read the BSP details

How do I read the BSP details on the device?

How do I read the CPU & Memory Usage on the device?

Stangely after one more warm boot, the application (without any code changes) works fine without any hitch ! ! !

Could you help on Issue No. 2 (permanently installing the SQL drivers)?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anders Grandt
Same Issue

Did you find a selution to this?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments