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 on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29283 Discussions

Labview calling Compaq Visual Fortran DLL

kingsguo
Beginner
749 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
749 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