- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My problem has beensolved after reading many posts in this forum. In general, I am supposed to use stdcall(WINAPI) as the calling convention.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page