Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I call dll of my adquisition card in labview?

I need help for call the dll´s of my adquisition card.
0 Kudos
Message 1 of 4
(3,340 Views)
Hello,

The manner in which you interface with your card will depend on whether it is a National Instruments card, or if it is from a 3rd party that supplies its own DLLs.  In the case of a National Instruments acquisition card, you can simply install the drivers that shipped with the card and access to the exposed functions will be available in your function pallet. 

In the case of a 3rd party card it will most likely be necessary to make calls to their DLLs from LabVIEW.  If the API for your controller is offered as a set of DLL functions instead of one or more VIs, you can use the Call Library Function node in LabVIEW to access the methods inside those DLLs.  For more information about using this node to call C-based functions from a DLL, please see this tutorial: Can LabVIEW C? - Example 3: Using the Right Tools with LabVIEW.
S. Arves S.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,319 Views)
Thanks but I dont know how to use this I need a example
Thanks
0 Kudos
Message 3 of 4
(3,296 Views)
Hello,

I'm not really sure what you would like an example of, but I am assuming you are referring calling DLLs from LabVIEW.  If that is the case, the link I included in the the post above is a tutorial that walks you through the process of calling DLLs from LabVIEW step-by-step.  There is also another helpful example that ships with LabVIEW 7.0 and above called Call DLL.vi.  You can find it by opening LabVIEW and opening Example Finder by selecting Help >> Find Examples.  Then select the Search tab and search for "dlls".  You will find the Call DLL.vi example under that heading.  This example contains a number of other examples to that show various ways of interfacing with external DLLs.

Hope this helps.
S. Arves S.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,291 Views)