03-18-2010 06:08 PM
Hello,
I've got an old Epson Perfection 1260 flatbed scanner.
I wish to create a labview program to control the scanner. Scan an image in grayscale at 300DPI then save the file according to a desired file path.
Can I do this in LabVIEW?
It is possible to use other programs to scan the image, the problem is that the file name and location will have to be entered every time, and there are going to be a lot of scans!
Any help would be great.
Cheers
K
03-19-2010 07:26 AM
Hi Kamilan,
it is possible. You can check if the supplied software has either an ActiveX interface or you can directly use a dll which comes with your driver.
Mike
03-19-2010 04:01 PM
Hi Kamilan,
It MAY be possible, depending on what interface they have exposed to you. If they have a DLL or ActiveX interface defined, as stated above, then LabVIEW can call into it.
03-20-2010 12:20 PM
Scanners usually have a Twain driver so you can access it through Twain. Another option unless it is a real dynosour is the use of the DirectX interface. However those APIs are all very special and rather tricky to interface from LabVIEW.
While I have a somewhat working Twain interface I can not upload it here for copyright reasons and have to recommend you to look for a solution from an Alliance member which Graftek is also selling.
Same is about Direct X. It is possible to make a LabVIEW interface to that and others have done it. Again DirectX is COM (and unfortunately not ActiveX, which uses COM as binary API interface) and therefore you have to have some interface software such as writing a DLL in C or an ActiveX component to interface to LabVIEW.
Graftek again sells such a Toolkit to access DirectX still image devices which also includes scanners.
03-22-2010 01:21 AM
I remember that somebody posted some example code before for this. It was posted by Andrey Dmitriev in this thread and may be worth a try.
David