Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a DLL for Ni-DAQmx rather than using the lib file

I have just started using NI-DAQmx 8.0.
 
Previously I was using NI-DAQ 6.9.3, this was able to be used dynamic (ie the DLL) or static (linked to the LIB).
 
As my software has to run on machines which may or may not have the NI drivers installed, I used the DLL method.
 
Now I have had to upgrade to NI-DAQmx (due to a new piece of hardware), I have found that I can only use the static option (ie LIB).
 
If I do this, all my users will need to install NI-DAQmx even though 99% will never use this new hardware.
 
I could create my own DLL which links to the NI LIB, this would take time as I would need to export all the functions exported by the LIB.
 
What I wish to know is :
 
"Is
0 Kudos
Message 1 of 6
(4,366 Views)
I will finish my post (while typing the first bit, the site refreshed and submitted the unfinished post).
 
"Is there a DLL for NI-DAQmx ?"
 
Thanks
 
0 Kudos
Message 2 of 6
(4,366 Views)
Try this:

C:\WINDOWS\SYSTEM32\nicaiu.dll
Message 3 of 6
(4,335 Views)

Hi adrianm-

S R's suggestion to link into the NI-DAQmx .dll "nicaiu.dll" is correct, but it is not possible to distribute the .dll by itself.  The NI-DAQmx driver must be installed in order for devices to work correctly on your deployment systems.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 4 of 6
(4,326 Views)
Is there any documentation of this DLL? Function Prototypes, parameters, etc?
--

Brian Rose
0 Kudos
Message 5 of 6
(3,950 Views)

Hi Brian-

 

Yes, check out the NI-DAQmx C Reference help and the NI-DAQmx header file.  See Start>>Programs>>National Instruments>>NI-DAQ and <Program Files>\National Instruments\examples\ANSI C (or similar) for more details.

Tom W
National Instruments
0 Kudos
Message 6 of 6
(3,944 Views)