|
-
Oct 30th, 2008, 03:30 AM
#1
Thread Starter
Junior Member
[RESOLVED] datalogic scorpio scanner is bussy
Hi
Im developing application for datalogic scorpio gun, and i have one problem. While im in application and testing with it there is no problem, barcode scanner is working great, but when i exit program and try to run other programs, which are using barcode reader, it says that scanner is busy. Laser beam change color when i try to read code, so that mean that there is some software failure i think..
Anyone know if there is some command to maybe reset barcode reader or sometnig like that.
Any suggestion would be helpful
-
Oct 30th, 2008, 05:48 AM
#2
Frenzied Member
Re: datalogic scorpio scanner is bussy
I would guess your application is not exiting properly, due to objects not being disposed.
You can check this by running a task manager and seeing if your app is still in memory.
You can get a freeware one from FDCSoft here
-
Oct 30th, 2008, 08:05 AM
#3
Thread Starter
Junior Member
Re: datalogic scorpio scanner is bussy
I tried to close it with application.exit and also me.close, and there is no diference (end command is not working).
Is there any other way to close it?
-
Oct 30th, 2008, 08:49 AM
#4
Frenzied Member
Re: datalogic scorpio scanner is bussy
Hi,
as I said before, you must not be disposing of something you are using, possibly the scanner control or something.
Are you creating something as 'new' and not disposing of it - that is what I suspect.
-
Oct 30th, 2008, 12:57 PM
#5
Thread Starter
Junior Member
Re: datalogic scorpio scanner is bussy
hi
il try to fix it in monday(i dont bring my work to home ), but its nice to know at least where to look. Il probably make new form and just copy/paste code, only problem is that i must copy file in device after any change.
O and one more question for those who know something about datalogic devices. When i connect device via usb its stay connected for about 2 - 3 minutes, after that it automaticly throw out connection. Any suggestion?
-
Nov 17th, 2008, 04:16 AM
#6
Thread Starter
Junior Member
Re: datalogic scorpio scanner is bussy
Problem solved
I have downloaded task manager and it was true, it looks like i didnt end application properly.
I figured out that when i have one form, everything is working great, problem is when i have two or more forms. I tried everything but it didnt work, so i made program with only one form, where i used panels instead forms. I resize panels and change locations on events, laser works great, and there sre no problems when i exit application.
So thanks for help
-
Nov 17th, 2008, 11:54 AM
#7
Frenzied Member
Re: [RESOLVED] datalogic scorpio scanner is bussy
Hi,
you were possibly closing form2, but not disposing of it - that would give you a problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|