> I have nodes at doors, connected in an rs485 network. These nodes capture an
> 300*300, 8-bit image of the fingerprint, so the size is 89kb. The node sends
> this image to the computer. LabView is controlling the network.
>
> Now the problem is that i have have the tool for recognizing and processing
> the image written in C, so i want to send the image to this program, and
> return a value for the respected user. This value (unique to each user),
> will then be handeled in LabView, using a presentation of images and some
> gimmicks. But most importantly, LabView is creating a log of who went in
> where at what time and etc.
>
> So:
> I get a file from the node, stored as default.tif in LabView. Then I want
> LabView to activate the other program, and let the other program use the
> image for processing.
>
> Is ActiveX controllers a possibility?
>
There are many ways.
If the external code is an executable, then you can use the system exec
node to run a command line that includes your executable, the file of
the image, and the result file. LV can then read the result file
periodically looking for the results. I believe that later versions
also have a way to notify LV when the EXE completes.
Another, more high tech way is to use ActiveX to access the services of
the executable. This of course means that the executable needs to be an
automation server.
You could also make the code into a DLL that is called from LV using the
Call Library Node. This will run in process and could therefore use
memory pointers rather than file I/O and running faster.
You could also make the DLL into an OCX or an in process ActiveX object.
Your initial question stated the question as wanting to start a thread.
While this could be worked out, it is more complicated than having a
DLL that is loaded into the LV process and is periodically called to do
the processing. This is the typical approach for code written by NI,
and is what I would recommend.
Greg McKaskle