07-26-2005 07:08 PM
07-27-2005 05:49 PM
Michael,
From a more general standpoint, what you'll need to do is use a Call Library Function Node (located in the All Functions>>Advanced palette) to call the necessary functions out of those DLLs. Before you can do this, you'll need to know some specifics about what functions are available in those DLLs and what parameters/outputs are associated with them. This information is typically available in the product manual or perhaps someone else with experience with your specific device can speak to that. Once you know the functions necessary to execute the desired operations, you simply configure a Call Library Function Node for each of them and place them in your LabVIEW code.
Kind Regards,
02-24-2006 02:51 AM
I have the same problem: I need a Twain driver for LabView. We purchased a Leica firewire camera for a microscope, but the software supplied with the camera is useless. Therefore I want to develop a LabView program, which can do video recording. The camera probably does not work with the IMAQ IEEE 1394 package but it is Twain compatible.
I hope someone can help me
Morten Bo Mikkelsen
02-24-2006 03:58 AM
Hi
There is a company in France that does a twain driver that works with IMAQ.
http://www.alliancevision.com/us/products/software_alv/twain/fr_twain.htm
Hope this helps
David
02-24-2006 04:28 AM
Just saw this and want to clarify on this. This is a total no-go! The Twain interface is a very old technology from the days when Windows was a cooperative multitasking environment without real tasks or threads. In order for Twain to allow for some sort of multitasked integration into an application it requires you to integrate the Twain handling into the message loop of your application. As you do not have direct control over the source code LabVIEW is written from, this is a very tedious operation, with Windows message hooks and such, lots and lots of semaphore protection to avoid race conditions etc. etc.
@AESulzer wrote:Michael,
From a more general standpoint, what you'll need to do is use a Call Library Function Node (located in the All Functions>>Advanced palette) to call the necessary functions out of those DLLs. Before you can do this, you'll need to know some specifics about what functions are available in those DLLs and what parameters/outputs are associated with them. This information is typically available in the product manual or perhaps someone else with experience with your specific device can speak to that. Once you know the functions necessary to execute the desired operations, you simply configure a Call Library Function Node for each of them and place them in your LabVIEW code.