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

Re: [TRNSYS-users] Access Functions



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@tess-inc.com]
Sent: 02 July 2012 23:01
To: Baboo Gowreesunker
Cc: 'trnsys-users@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@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@tess-inc.com
 
http://www.tess-inc.com
http://www.trnsys.com