10-17-2009 01:04 PM
Using USB A/D 9215 code runs (MS 8.5 & Visual C++ 2005) just fine under Debug but under Release Run crashes on startup reporting 'entry point ?compareVersion@nNIDIM_1_8...... could not be located in nidimu.dll
Does anyone have any idea what to do to get the Release version to run?
Thanks,
Val Veirs
Prof. of Physics
10-19-2009 11:32 AM
Val,
Does this happen on any of the DAQmx examples that ship with the driver, or only on your own project? The examples can be found at C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples by default. That DLL is a low-level DLL used by the DAQmx driver, so I'm not sure why it would work just fine in debug mode but not in release mode. Let me look into this problem a little more and I will get back to you with more information.
10-19-2009 12:50 PM
Eric,
The vs2005 examples seem to run just fine under Debug or Release.
What do you think I have done to mess up calls to a 'low level' library?
Val
10-20-2009 05:06 PM
Val,
Thanks for testing out your examples. As far as corrupting some low level DLL, I'm not sure what could cause that, but I am still looking into that.
Does this problem happen if you create a new project and paste in your code? If not, there may be something with the build properties for your release configuration. Did you change any of those properties in this project from the default? If so, what did you change?
I have not been able to reproduce this on my own machine. Are you able to post your code to the forum so I can try running it on my computer? In addition, what version of the NI-DAQmx driver are you using?
11-16-2009 03:06 AM
HI! All,
Is it possible to generate the text based command like C++ from the LabVIEW?
Özgür
11-17-2009
03:55 PM
- last edited on
03-06-2025
10:28 AM
by
Content Cleaner
Ozgur,
There is no way to directly convert a VI into C++ code. However, you can use the Application Builder (which comes with LabVIEW Professional Development System or can be purchased online: https://www.ni.com/en-us/shop/product/labview-application-builder-module.html) to build your LabVIEW VI into a DLL which creates a library which can be called from C++.
11-18-2009 01:43 AM
Hi!
Thaks for your reply, I will try to do like in your advice.
Greetings.
Özgür