Results 1 to 7 of 7

Thread: [RESOLVED] datalogic scorpio scanner is bussy

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    17

    Resolved [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

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    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
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    17

    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?

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    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.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    17

    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?

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    17

    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

  7. #7
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: [RESOLVED] datalogic scorpio scanner is bussy

    Hi,
    you were possibly closing form2, but not disposing of it - that would give you a problem
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width