[TRNSYS-users] Access Functions

David BRADLEY d.bradley at tess-inc.com
Tue Jul 3 09:50:25 PDT 2012


Baboo,
  It sounds a bit like you are between versions...you may want to get 
the TRNLib.lib file out of the Exe directory and point your compiler 
project to it. If you don't mind sending me a copy of the Type that you 
are having trouble with (not the one that uses the INFO() array ) I'd be 
interested in having a look)
Best,
  david


On 7/3/2012 03:49, Baboo Gowreesunker wrote:
>
> David,
>
> Thanks for your reply.
>
> The issue is not coming 'directly' from TRNSYS, but from the compiler. 
> The compiler error says:
>
> error #6404: This name does not have a type, and must have an explicit 
> type
>
> So I believe it is not finding the function from the 'TRNDll.lib'. My 
> TRNSYS version is 17.00.0019.
>
> I don't have section 7.4.2.69 and 7.4.2.58 in my Programmer's guide, I 
> only have up to 7.4.2.39 [getConnectedVariableUnit(I,j)], and I 
> noticed that only the 'get...' functions up to this section is 
> recognised by the compiler. The later functions, I had to use in the 
> form of INFO arrays.
>
> So I changed the entire code to use functions directly passed to the 
> Type (TIME, XIN,....), instead of 'getting' it, and used the INFO Arrays.
>
> The code now works.
>
> I'm not sure whether this is explains the error to you,
>
> But Thanks..
>
> Baboo
>
> *From:*David BRADLEY [mailto:d.bradley at tess-inc.com]
> *Sent:* 02 July 2012 23:01
> *To:* Baboo Gowreesunker
> *Cc:* 'trnsys-users at cae.wisc.edu'
> *Subject:* Re: [TRNSYS-users] Access Functions
>
> Baboo,
>   both getNumericalSolution() and getStaticArrayValue() are still in 
> Trnsys17.1 (with no plans to remove them) as they were in 
> Trnsys17.00.x. The code for both functions is in the TrnsysFunctions 
> routine and the documentation/interface specification is in the 
> Programmer's Guide in section 7.4.2.69 and 7.4.2.58 respectively.
>
>   I am curious as to what kind of error you are getting.
> Best,
>  David
>
> On 7/2/2012 08:28, Baboo Gowreesunker wrote:
>
>     Dear all,
>
>     Does anybody know the Access Function name for TRNSYS 17 of:
>
>     GetNumericalSolution ()      and GetStaticArrayValue ()
>
>     I believe these names are for older versions of TRNSYS, and
>     Version 17 is not recognising them.
>
>     Thanks
>
>     Baboo
>
>
>
>
>     _______________________________________________
>
>     TRNSYS-users mailing list
>
>     TRNSYS-users at cae.wisc.edu  <mailto:TRNSYS-users at cae.wisc.edu>
>
>     https://mailman.cae.wisc.edu/listinfo/trnsys-users
>
>
>
> -- 
> ***************************
> David BRADLEY
> Principal
> Thermal Energy Systems Specialists, LLC
> 22 North Carroll Street - suite 370
> Madison, WI  53703 USA
>   
> P:+1.608.274.2577
> F:+1.608.278.1475
> d.bradley at tess-inc.com  <mailto:d.bradley at tess-inc.com>
>   
> http://www.tess-inc.com
> http://www.trnsys.com
>

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20120703/158af65c/attachment-0001.htm>


More information about the TRNSYS-users mailing list