Solved

Problem with 3rd party barcode scanning control on Windows CE 4.0 device

Posted on 2008-06-26
6
259 Views
Last Modified: 2013-12-27
I've developed an application for a Datalogic handheld scanning device using VB on the .NET 1.1 compact framework.

The application works fine all except for 1 form where the user has to scan multiple barcodes.

After a whille the barcode reading laser will either not appear or the laser will appear and read the barcode but the "barcode read" event won't fire.

I have tried placing the Datalogic control on the form, creating the control each time on the fly, activating and deactivating the control after each scan, keeping the control active for each scan but nothing works.

Looking at the memory allocated, the control appears to be grabbing a large chunk of memory with each scan until scanning eventually freezes.

The only thing I can think of to do is to unload and reload the form with each scan but this will completely ruin the flow of the application.

Has anyone come across anything remotely like this as I am out of ideas?

I've contacted Datalogic a number of times but they haven't been any help so far. The control peforms fine in the test rig I've written, it just doesn't work in this part of the application.
0
Comment
Question by:rd707
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:Babycorn-Starfish
ID: 21877904
Have you actually ascertained why it's failing?
0
 
LVL 4

Author Comment

by:rd707
ID: 21878034
No exceptions are raised unfortunately, it just stops scanning after a while.
0
 
LVL 11

Expert Comment

by:Babycorn-Starfish
ID: 21881783
Is it possbible to do a Garbage Collect after each scan to try and release the memory its been hogging?
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 4

Author Comment

by:rd707
ID: 21881800
A garbage collection stops the scanner control working altogether which is a neat trick if you know how... :-/

At the moment, I'm having a go at scrapping all the scanning controls on each of the forms and having one across the whole application. I'll let you know how I get on.
0
 
LVL 10

Expert Comment

by:Marcjev
ID: 21890663
I'm using a windows CE 5.0 device of datalogic and found that the only way i could use multiple controls, is to disable the scanner and then call the 'DeInit' routine of the Laser (ScanEngine).
0
 
LVL 4

Accepted Solution

by:
rd707 earned 0 total points
ID: 21892180
I think I tried that too. I've moved to a single instance now so I'll have to see on Monday how things went in the warehouse over the weekend.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question