03-10-2006 03:52 AM
03-13-2006 01:17 AM
The Nidaq32.lib is the static reference library for the nidaq32.dll.
You need to include the nidaq32.dll in your application. This is where the nidaq function calls are implemented.
Nidaq32.dll is used in C/C++ programming, as well as VB or .NET.
I think it is only a matter of what files you are trying to include in your app.
Also, my advice is to make sure you are running the latest version of NI-DAQ Traditional, which is 7.4.1 and is available for download at ni.com/downloads.
03-13-2006 02:20 AM
Thank you Alessio,
I know that I need to open the nidaq32.dll, but also in the new version of NI-DAQ there is only nidaq32.lib.
03-13-2006 02:28 AM
03-13-2006 02:40 AM
03-13-2006 03:33 AM
I am not familiar with the way you need to write your M code to reference a DLL in your application.
All I can tell you is that if you are only referencing the DLL without referencing its corresponding .LIB, the compiler does not know what the entry points in the DLL mean and what parameters they use. You need to have both the DLL and the LIB linked to call functions in the DLL.
I suggest you try to reference another DLL and see if you are able to call functions from that DLL.
03-13-2006 04:08 AM