Torque-Speed look-up table specification in _ServoDyn.dat

Dear Jason,

Thanks for the clarification. I’m trying to compile the file, discon.f90 into a dll, but i’m running into troubles.

If i use gfortran and the following code to compile, the resulting dll file is only 17kB, and FAST aborts giving SrvD_Init error for the dll.

gfortran -c DISCON.f90 -fPIC gfortran -shared -mrtd -o discon.dll DISCON.o

If i use Intel Visual Fortran 11.1 to compile, i run into the same troubles as Luiz da Rocha had in the thread [url]Compiling options for DISCON.dll]. Luiz was able to solve it by giving correct environment variables (6th post in the thread). I, however, still get the similar link errors (116 in total) even after giving correct environment variables (running the batch file), and copying licb.lib file into the current directory. The command i’m using for compiling is:

ifort /dll /winapp /libs:static DISCON.f90

Can you help me compile the dll properly?

Thanks
Jas