Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29375 Discussions

Problem in Calling Fortran DLL From Labview.

vikram_kumar_p_
Beginner
1,271 Views

Hi,

I'm a Fortran-newbie i am using Fortran DLL in Labview 2011 when i call DLL in labview the results
are completely Random and Mismatch.

If i add some dummy file opertion inside the DLL results are matching and the DLL size is
almost doubled than the normal DLL.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,271 Views
I think you're going to have to give us more information than that. I might guess that your "including some dummy file operation" causes the Fortran run-time library to be linked in to your DLL, which would increase its size. Although, the default for building a DLL is to link to the DLL libraries which would not increase the size, but perhaps you changed that. In most cases where adding something seemingly unrelated causes the results to change, the cause is a coding error in the application such as uninitialized variable, array reference out of bounds, etc. I suggest that you do some debugging of the problem to see where the "mismatched" results start showing up. This will lead you to the cause.
0 Kudos
Reply