10-13-2021 06:31 AM
Hello,
I'm using Labview 2020 32bits , i'm calling a dll genrated using Visual Studio C++.
The dll worked correctly , but when i add the "sqrt" or "fabs" math function or any other function from "math.h", i get this error on labview . does anyone have a solution for this problem, thank you.
10-14-2021 07:47 AM
Error 1097 means that your DLL somehow caused an exception or a stack mismatch. Exceptions can be caused by many different things, such as accessing invalid memory address, division by zero, or many more such things. Possible reason can be simply programming bugs in your C code, mismatched configuration of the LabVIEW Call Library Node with what the DLL expects, etc.
Without seeing the code and the VIs to call the DLL there is not much more we could tell you.
10-18-2021 02:53 AM
Hi,
You can try the troubleshooting steps described in the following article.