Solved

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

Posted on 2008-06-26
6
253 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.net/VSTO Excel Add-in 2 38
Format Transaction Number 19 49
Disable the weekends on datepicker control 6 52
XML XDocument extract - Keeping a node list like a menu path 8 33
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

734 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