Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ImaqDirectShowDll.dll. Instead using camera specific dll???.

I am not using ImaqDirectShowDll.dll. Instead using camera specific dll. Whether is it allowed to use camera specific dll for USB cameras?.
If i use camera specific dll,  whether IMAQ USB Session In / out  am i supposed to use in the .vi? or it is optional.
I came to know from the help that IMAQ USB Session In is a unique identifier that image acquisition VIs must use to reference the camera you are using.
 
Please clarify.
0 Kudos
Message 1 of 5
(5,266 Views)
Hi Kals,
If you use a camera-specific DLL to work with your camera, you can use the Call Library Function Node VI to call and interact with the DLL and you will not need to use the IMAQ USB Session VIs.

If your camera-specific DLL returns a numeric array to represent your image, you can use the IMAQ ArrayToImage VI to convert it into a form that LabVIEW can handle if you need to use it for other vision VIs. You would first need to use IMAQ Create to create a destination for that image to be placed, and wire its "New Image" out terminal as the "Image" input terminal to the IMAQ ArrayToImage VI.
0 Kudos
Message 2 of 5
(5,237 Views)
Hi,
Where can i find the IMAQ ArrayToImage VI?. Is it possible to download from web?.
Thanks for the help.
0 Kudos
Message 3 of 5
(5,233 Views)
 

Kals,
The IMAQ arrays are contained within our Vision Acquisiton Software product, which is not free and must be purchased. It is also included with the following products: any of our frame grabber hardware, NI Vision (also known as Vision Development Module), and Vision Builder for Automated Inspection

You may not need our Vision Acquisition if the DLL returns the image as an array and you want to keep using it as an array. What are you trying to do with arrays or images  your DLL returns in your application?

 
0 Kudos
Message 4 of 5
(5,228 Views)
Hi Kals,
I apologize, but I posted something incorrect above. Vision Acquisition software is free unless you need the IMAQdx drivers or IMAQ IEEE for 1394 drivers within it. Those two drivers, used for accessing FireWire and GigE cameras, require a purchase.

And while the IMAQ ImageToArray VI is included in Vision Acquisition Software, using IMAQ ArrayToImage requires NI Vision (Vision Development Module).
0 Kudos
Message 5 of 5
(5,203 Views)