TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

long twain source acquisition

Forums › TWAIN Classic › long twain source acquisition

  • This topic has 2 replies, 2 voices, and was last updated 5 years ago by coco.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 5, 2016 at 10:16 am #23050 Reply
    coco
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hi, i’m new to twain driver, i must develop a source for a scanner who take 5-10 seconds for an acquisition.
    When the scanner take ~5 seconds the application is mark as “does not respond”.
    How can i inform the application i’m still in acquisition ?

    Thanks.

    February 10, 2016 at 3:38 pm #26363 Reply
    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    This is Windows behavior. If an application’s message loop is unresponsive to the operating system for more than a certain number of seconds the “(not responding)” message is added to the application’s title bar.

    A well designed TWAIN application separates TWAIN calls from the main message loop. A well designed TWAIN driver responds to TWAIN calls as quickly as possible. However, TWAIN calls are blocking by nature, so if a particular operation takes a long time there’s nothing the driver can do about it.

    Short answer, this sort of problem can only be fixed in application code…

    February 16, 2016 at 11:05 am #26364 Reply
    coco
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Thanks!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Reply #26363 in long twain source acquisition
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • Scanner starts transfer when console gets closed (CITRIX)
  • Kodak RFS 3600
  • Didn’t save enough file scan
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.