Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

lvdaq dll location

I created some LabView (7.1) sub vi's for my DAQPad 6507 which work ok, I then converted them to dll's to run using TestStand. It seems that the dll will work but depends on where the lvdaq.dll file is put (if at all). If the lvdaq.dll file is not put in the correct place TestStand will run and I will not get any error messages from either TestStand or LabView (simple error handler vi). Where is the correct place for the lvdaq.dll file; can it be embedded within my Daq dll during build?   If there are many Daq dll's located in the same place do they share just the one lvdaq.dll or do they need to be stored in different places with there own Data/lvdaq.dll?
 
 
0 Kudos
Message 1 of 2
(2,950 Views)

Hi,

  the lvdaq.dll is a separate entity, so you can't "build it into" your DLL.

As long as it can be found somewhere in the Windows search path, then that should suffice, i.e. c:\windows\system32 or in the same directory as your DLL.

You should get an error message saying that your DLL failed to load however if a DLL that your DLL relies on cannot be found.

They should all reference the one lvdaq.dll, and not individual ones for each dll you have, unless you have a good reason to try to mix different versions, however they will all rely on going back to the nidaq32.dll at some point.

Hope that helps

Sacha Emery
National Instruments (UK)

// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 2
(2,935 Views)