04-12-2010 09:56 PM
I'm getting -5093 returned from Bw_CascadeCoef. I have the analysis lib in C:\Program Files\National Instruments\Shared\Analysis\nianlys.dll from when I installed the runtime environment. What else could I be missing?
Nathan
Solved! Go to Solution.
04-13-2010 12:33 AM
04-13-2010 09:48 AM
It's in analysis.h, line 175.
LibraryNotFoundAnlysErr = -5093, // The analysis library was not found.
and it's returned from this call:
err = Bw_CascadeCoef (sampling_rate, lower_cutoff_frequency, upper_cutoff_frequency, filter_information[i]);
You're right that it's not (that I could find) in the docs.
04-13-2010 10:07 AM - edited 04-13-2010 10:12 AM
so i have only trivial suggestions:
- do you have the advanced analysis library, or the base package only?
- I guess your 'Program Files' path with two spaces is a typo?
- in your customize library menu, the 'analysis' library is checked?
- in your C program, you have a statement #include <analysis.h>
04-13-2010 10:15 AM
I should mention that I'm building this in Visual Studio 2008, so there isn't a customize library menu, but yes, I have
#include <analysis.h>
Seems like a problem with the environment on the machine. It runs fine on my development box, but on the production unit I get the -5093 "analysis library was not found" error.
04-13-2010 10:50 AM
04-13-2010 10:55 AM
How did you install the analysis dll in your production unit? Did you create a distribution installer in CVI or did you just copy the DLL to that location?
Check to see that you have the following registry value:
HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\Common\Installer - NISHAREDDIR
...and that its value is C:\Program Files\National Instruments\Shared\
Also, are you building a 32-bit or a 64-bit process?
Luis
04-24-2010 07:27 AM
Hi Luis,
what about filing a CAR for completing the documentation on all possible library errors?
04-26-2010 11:27 AM
Hi Wolfgang,
We'll go ahead and add the missing error codes to the analysis errors help topic.
As you can probably tell from the different numeric ranges, that error does not originate within the advanced analysis library, as the others do. This is why it is not showing up in this help topic (which is automatically generated from the library itself). It is because the help topic does not include all the error codes returned by these functions that the help for the return values refers users to analysis.h, which does include all the error codes.
In any case, we'll make an effort to generate the help topic so as to include the additional error codes.
By the way, I did create a CAR last week for the InstallPanelCallback documentation problem. It's #222636.
Luis
04-26-2010 01:13 PM
Hi Luis,
these are very good news 🙂 Thanks!
Wolfgang