<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Javier,</p>
<p> It sounds as though you followed all of the steps correctly. I
would recommend that you send your Type291 to your distributor for
some assistance. It may be something that is incorrect in the code
or it may be a compiling/linking problem. <br>
</p>
<p> As a side note, if you are writing a new Type and adding the
code to the MyType project then you do not need to rebuild the
TRNDll project; you can just rebuild the MyType project.</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 03/20/2017 11:15, Javier Vega via
TRNSYS-users wrote:<br>
</div>
<blockquote
cite="mid:CAEju=PqhWw8yS5ef3=7Mu=P2Gv8iF9c3tCAEyzX4U_mjq7afNg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello TRNSYS community,
<div><br>
</div>
<div>Since I've had some problems compiling my own trnsys
component, I tried to follow the "Getting Started"
instructions and do the example of the self made type (yes, I
probably should have done that from the beggining...). But I'm
having some problems again.<br>
<br>
I followed all the steps, except for the compiling part. I
don't have Compaq Visual Fortran 6.6,but instead I have
Microsoft Visual Studio 2015 and Intel Fortran Compiler 17. </div>
<div><br>
</div>
<div>So, I created the component in the Studio, saved the
proforma with the parameter "Mult", the two inputs...etc. And
then I exported to fortran.</div>
<div><br>
</div>
<div>Then, I opened the MVS 2015 and followed the instructions
of the "Programmers Guide", opening the sample IVF 11x and
working from there. I rebuilt the TRNDLL in Release mode.
Then, I added my type, Type 291, to the MyType folder, copied
and pasted the FORTRAN squeleton that was made by the TRNSYS
Studio. I finished the code adding the output calculation.
Then I clicked on built.</div>
<div><br>
</div>
<div>The "Mytype.dll" was created in UserLib/ReleaseDLL's. So, I
opened the TRNSYS studio, made the same project that is
indicated in "Getting started" and ran the simulation.</div>
<div><br>
</div>
<div>I get the following error:</div>
<div><br>
</div>
<div>
<div><b>Fatal Error at time : 0.000000</b></div>
<div><b> Generated by Unit : Not applicable or not
available</b></div>
<div><b> Generated by Type : 291</b></div>
<div><b> TRNSYS Message 105 : A TYPE was called in the
TRNSYS input file but was either not linked into
trndll.dll or was not found in an external dll. A dummy
subroutine was called in its place. Please link the TYPE
or remove it from the input file</b></div>
<div><b> Reported information : Type291 could not be
located in either the trndll.dll or in an external dll.
Please relink theTRNDll.dll including this Type or make
sure that an external DLL in the \UserLib\DebugDLLs and
\UserLib\ReleaseDLLs folders contain the Type.</b></div>
<div><b><br>
</b></div>
<div>What did I wrong?</div>
<div><br>
</div>
<div>Thanks in advance, kind regards</div>
<div>Javier Vega Benavente</div>
<div> </div>
</div>
</div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tbody>
<tr>
<td style="width:55px;padding-top:18px"><a
moz-do-not-send="true"
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank"><img moz-do-not-send="true"
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
style="width: 46px; height: 29px;" height="29"
width="46"></a></td>
<td
style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Libre
de virus. <a moz-do-not-send="true"
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank" style="color:#4453ea">www.avast.com</a>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
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
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>