How to write Fortran Code for controlling DrDaq

Post general discussions on using our drivers to write your own software here
Post Reply
liemph
User
User
Posts: 4
Joined: Fri Mar 14, 2003 10:37 am
Location: JAPAN

How to write Fortran Code for controlling DrDaq

Post by liemph » Fri Mar 14, 2003 10:48 am

I am now considering to interface the existing control programs written in Fortran 77 and Fortran 90 (with Visual Fortran Version 6) to DrDaq. So far as I know, Visual Fortran and Visual C or C++ can communicate well (i.e. mixed language programming). Since the driver for DrDaq was written probably in C (with Visual C :?: ), I wonder is there any way to write Fortran code with Visual Fortran directly calling the driver ? I am not sure if it is better to call the DLL or to link my Fortran program with the msdrdaq.lib ? Any suggestion is welcomed !

User avatar
matthew
Advanced User
Advanced User
Posts: 109
Joined: Wed Sep 25, 2002 9:35 am
Location: Cambridgeshire, UK

Post by matthew » Wed Mar 19, 2003 12:37 pm

Sorry,

I haven't programmed Fortran for years, and I've never tried calling dlls myself!

Maybe someone else on the forum will have a suggestion?

Best Regards,
Matt Everett

Pico Software Engineer

Post Reply