[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
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
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?
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.
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?
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
Re: [RESOLVED] datalogic scorpio scanner is bussy
Hi,
you were possibly closing form2, but not disposing of it - that would give you a problem