05-15-2015 05:10 AM
Dear Users of LabWindows,
I am using "StdDev" from "analysis.h" in a program.
I am using LabWindows 2012 and Win 7 64 Bit.
The program gives me a (right) calculation result on my development PC by using "StdDev".
On a PC with only the runtime I receive a different (wrong) calculation result.
What could be the problem?
I watched in the forum about half an hour to find some similar error but I only found hints for the two solutions below:
Actually I haven't tested these two possible solutions. I asking myself and this forum: Could this be the solution?
I am asking myself because in my actual project I get no error:
Could the above described error also be caused by different "Country Settings" of the Windows-System itself? This means "," instead of ".".
Best greetings to all who may help me.
05-15-2015 05:35 AM - edited 05-15-2015 05:37 AM
Calling an advanced analysis function without providing its library should throw an error;
do you check for the return value, i.e., status = StdDev ()? In your case status should be something like -5093 (The analysis library was not found).
You do not need to include the analysis.lib file in your project but in your distribution, i.e., you need to check 'Analysis Support'. If you click on Analysis Support (the text, not the checkmark) on the right side of the panel there is a little explanation saying 'Include this component when your application calls Analysis Library functions'.