Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29302 Discussions

Labview calling Compaq Visual Fortran DLL

kingsguo
Beginner
780 Views
Dear all,
I am using Labview to call a Compaq Viusal Fortran (V.6.6)DLL function. Any suggestions that will ultimately help me are highly appreciated. I had no problem to call such DLL function from Viual Basic. But I do not know how to call a DLL from Labview. Below isa DLL function I have created.
SUBROUTINE DCOTH(X,Y)
IMPLICIT NONE
!DEC$ ATTRIBUTES DLLEXPORT::DCOTH
!DEC$ ATTRIBUTES ALIAS:'DCOTH'::DCOTH
INTEGER I,N
DOUBLE PRECISION X,Y
Y=1.0D0/DTANH(X)
RETURN
END
Kings
0 Kudos
1 Reply
kingsguo
Beginner
780 Views
My problem has beensolved after reading many posts in this forum. In general, I am supposed to use stdcall(WINAPI) as the calling convention.
0 Kudos
Reply