[TRNSYS-users] Read an external text file in a new TRNSYS TYPE

salehsnjsaadi404 at yahoo.com salehsnjsaadi404 at yahoo.com
Tue Jun 18 03:16:19 PDT 2013


Thank you David,<br/><br/>I'm using a logical unit as a parameter in my type, utilizing the assign feature. The fortran code is written in f90 free format. I'm using labels and goto command. This seems to give the kernel trouble in opening and reading the file automatically. If i explicitly define the file name in the fortran code, it works perfect (making the assign feature redundant). After the struggle, I converted the code to a fixed fortran format , file extension became *.for. The generated dll now works for multiple text files when used with multiple types, using the assign feature, finally achieving my objective.<br/><br/>I don't know why it works with fixed fortran format but not with the free format. There must be something I missed or an f90 library not installed in my machine.<br/><br/>Thanks again,<br/>Saleh<br/>Sent from Yahoo! Mail for iPhone<br/><br/><br/>Sent from Yahoo! Mail for iPhone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130618/02365a3c/attachment-0001.htm>


More information about the TRNSYS-users mailing list