473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Calling scanner fundi's...

[Environment]
Symbol MC9000k scanner running Windows Mobile 2003.
C# .Net (.Net CF) with OpenNetCf 1.2 installed.
Latest Symbol SDK driving the scan engine stuff.

[Application]
I've extracted the barcode scanner handling stuff from one of the Symbol SDK
examples, and using their .Net classes, drive the scanning engine in my
application.
Basically the program has a main screen which allows you to perform
differing actions, all of which involved the scanner. Tapping a button
launches a new form, which initialises the scanner and asks the user for a
type of barcode to scan...
There are eight forms in all, each creating their own instance of the scan
engine on load and destroying it on closing. Each has an event handler that
is unique in handling the data that is scanned.

[Problem]
Every now and again, at completely random intervals, the scanner will just
stop working. Pressing the trigger button doesn't scan anything. If you exit
the form you're on and go into another one (reinitialising a new scanner
object instance) nothing happens. I've put debug log trace statements
everywhere that log the details to a file to make sure that only one scanner
object is in existence at anyone time, and that any errors are reported.
When the scanner goes wrong, the log file tells me the application was still
merrily destroying and creating the scanner object with no exceptions, and
all the reader object correctly created.

The work around I have is a restart button that quits the program, and
relaunches itself. The scanner will now work when going to a dialog.
Although it works, but it's not solving the problem.

Does anyone have any ideas, or has anyone come across this sort of thing
before?
Any help in how to debug this, or direction as to what the problem is would
be greatly appreciated!
Nov 16 '05 #1
0 1676

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: teddysnips | last post by:
I posted yesterday about a project I'm involved in to build a login application using a barcode scanner. I've solved most of the problems, but one remains. The client want to disable keyboard...
7
by: DemonWasp | last post by:
I've been having some trouble getting the Scanner class to operate the way I'd like. I'm doing some fairly basic file IO and I can't seem to get the class to load the last line/token any way I try....
2
by: chris_gpf1 | last post by:
Hi, I'm working on a website where the user will have to scan a barcode with a serial barcode scanner. I get the scanner working and reading the barcode, but when I want to write the string in...
4
by: Gerry19 | last post by:
Hi All, I'm trying to monitor data passed from a USB Barcode scanner but I can't find any decent code examples of what I need to do, including any references I need to include. I know I need to...
0
by: shahjy | last post by:
I have a Scanner HP-5600 All-in-one and i want to scan images through Developer 10G. I call the HP-5600 Control Centre by using the HOST command but unfortunately i load scanner until I Press "P". ...
3
by: thename1000 | last post by:
Hi, I'm trying to create this output: Input team 1's name: Team 1 Input team 1's ranking: 90.4 etc.
3
by: bassman2112 | last post by:
I'm having issues with calling a method defined in a subclass on a superclass object. This program is an exercise using inheritance, with an Employee superclass, Salaried and Hourly classes that...
2
by: CRGoose | last post by:
For my class i have to write a program that has a method to combine integer time input values into a single double value, return that to a method that sums the values, then return that to a main. ...
6
by: rotaryfreak | last post by:
Hi everyone, ive had this problem for a while and i cant seem to figure out why. I am using eclipse to create my java code. When import the Scanner class, create a new object and so on... ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.