[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] New Module with External File



Dear Ken,

How are you doing?

As far as I know, there is no way to get a fullpath of external file.
In TRNSYS, FORTRAN logical unit is provided to access an external 
file, instead of providing fullpath name.
Since the logical unit cannot be used with C/C++ runtime library,
there is no smart way to handle an external file by C/C++, currently.

This topic has been already discussed in the threads shown below.
https://www.cae.wisc.edu/pipermail/trnsys-users/2005/000694.html
https://www.cae.wisc.edu/pipermail/trnsys-users/2005/000696.html

As Michael sugguested, using labels is easy to pass a filename.

Regards,
Yoshihiro

> Dear all,
> 
> I try to make a new TYPE with external data files with TRNSYS 16.1.
> 
> I made a tmf project and exported as C++ project.
> But I cannot find the method of getting the pathnames of external files
> in C++ project.
> 
> How I get the pathnames of external files in the exported C++ project?
> Or Is it impossible?
> 
> Thanks in advance
> 
> Ken Hatakeyama
> 
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users@engr.wisc.edu
> https://www.cae.wisc.edu/mailman/listinfo/trnsys-users