6 Replies Latest reply on Aug 9, 2013 12:52 AM by yearmore fde

    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.

        • Re: Bar Code Reading Stops
          Ritesh Gupta

          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

          • Re: Bar Code Reading Stops
            Larry Dykes

            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.  

              • Re: Bar Code Reading Stops

                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