LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone have an example making a DLL from fortran to us in LabVIEW?

I am looking for a simple fortran code that can be built into a dll and used within labview to pass data into and out of. NI has a good example for C++, but nothing for fortran. Appreciate any help.
0 Kudos
Message 1 of 2
(2,675 Views)
Chuck,
I would suggest building the FORTRAN code in your favorite Fortran compiler into a DLL as well as the breadboard code. You can then use the Call Library Function node to call the compiled code. This would be the easiest and fastest method. You could also compile these pieces of code and link them to some C/C++ code that you can write and then call this code from LabVIEW. Maybe you can use converter fortran-->c. It is in UNIX.

Here is another post parameter types in FORTRAN DLL's that has discussion on this topic and a link to the page with explanation of calling parameters. The link is not live any
more, so you can contact the customer who posted the response directly.

Sorry, there are no examples I could find.
Zvezdana S.
0 Kudos
Message 2 of 2
(2,675 Views)