Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Sunday, March 26, 2006 10:45:29 PM(UTC)

darranh  
darranh

Groups: Registered
Posts: 1


Hi,
I have a Kodak i40 scanner that I am trying to control using LEADtools v14.5. The i40 scanner provides the facility to scan colour and black and white images simultanously using separate cameras.

I am trying to enable the individual cameras on the the i40 using the custom capabilities provided by the scanner. I can access the custom capability "CAP_CAMERAENABLE" by using the "twnSession.GetCapability" method but I have to set this capability for each camera. According to the Kodak documentation, I have to use the DAT_FileSystem to select each camera and then set the capability.

I can use the "twnSession.QueryFileSystem(FileSystemMsg.GetInfo)" method to access the file system but when I use "twnSession.QueryFileSystem(FileSystemMsg.ChangeDirectory)" to change the device I get the following error: "Input file name not found or output file name invalid" I have tried setting the "InputName" and the "OutputName" properties using the following code:

 TwainFileSystem fileSystem = twnSession.QueryFileSystem(FileSystemMsg.GetInfo);
 fileSystem.InputName = "/Camera_Color_Top";
 fileSystem = twnSession.QueryFileSystem(FileSystemMsg.ChangeDirectory);

but this still returns the error.

Any help would be greatly appreciated

Darran

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, April 2, 2006 7:44:34 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

It is currently not possible to specify the device that you want to
enable using the ChangeDirectory message.  I will add this as a
feature request and post back with the ref# for this request for your future reference.

 
#3 Posted : Monday, April 3, 2006 1:04:57 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

I reported this issue to development with this ref#: 4454AMN.  Use it to inquire about the status.

 
#4 Posted : Tuesday, July 25, 2006 4:09:34 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

This issue has been fixed in the latest setup.  It is not
available in the patch.  Please download the latest setup and try
it out.  If you do not have the setup's URL, then please send your
serial number to "support@leadtools.com" and we will send you download instructions.

 
#5 Posted : Sunday, October 22, 2006 9:00:36 AM(UTC)

ascott  
ascott

Groups: Registered
Posts: 3


Does this ability exist in the C++ API and Class libraries?

Also, is there an expample of querying the file system to determine what cameras exist?

 
#6 Posted : Sunday, October 29, 2006 6:04:03 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Yes, this function is available in the API functions and C++ class
library.  Use L_TwainQueryFileSystem in the API and LTwain::QueryFileSystem in the class lib.

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.108 seconds.