<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I just solved the problem by myself (by accident)…The error message wanted to tell me that the Bitmap-File that I used for the new Type somehow was not compatible with TRNSYS. After opening and saving it in MS Paint, everything works fine. Come on, really?<div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""><br class="Apple-interchange-newline">--</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class="">M.Sc. Michael Holzhauser<br class="">AG Optimization<br class="">University of Kaiserslautern<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;">  </span><br class=""><br class="">Paul-Ehrlich-Str. 14 - 451<br class="">67663 Kaiserslautern, Germany<br class=""><span class="Apple-tab-span" style="white-space: pre;">       </span><span class="Apple-tab-span" style="white-space: pre;">  </span><br class="">Phone: <span class="Apple-tab-span" style="white-space: pre;"> </span>+49 (631) 205-2511<br class="">E-mail: <a href="mailto:holzhauser@mathematik.uni-kl.de" class="">holzhauser@mathematik.uni-kl.de</a><br class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""><a href="http://www.mathematik.uni-kl.de/~holzhauser" class="">www.mathematik.uni-kl.de/~holzhauser</a></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">Am 19.05.2016 um 11:59 schrieb Michael Holzhauser via TRNSYS-users <<a href="mailto:trnsys-users@lists.onebuilding.org" class="">trnsys-users@lists.onebuilding.org</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I managed to create a custom Type (number 202) in C++ by creating a DLL in the UserLib\ReleaseDLLs\ folder and by creating a Proforma file using TRNSYS Studio.</div><div class="">The Type works perfectly, I can already add it to the simulation and it does what it should do.</div><div class=""><br class=""></div><div class="">However, when I save a project with such a type and want to reopen it in TRNSYS Simulation Studio, the process fails with the message „Unexpected file format". So, I can currently use my Type within an open project but cannot save and reopen it, which makes it quite useless though.</div><div class=""><br class=""></div><div class="">Does anyone have a clue what the problem is? Did I miss to create some necessary file(s)?</div><div class=""><br class=""></div><div class="">Thanks in advance.<br class=""><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""><br class="Apple-interchange-newline">--</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class="">M.Sc. Michael Holzhauser<br class="">AG Optimization<br class="">University of Kaiserslautern<span class="Apple-tab-span" style="white-space: pre;">    </span><span class="Apple-tab-span" style="white-space: pre;">  </span><br class=""><br class="">Paul-Ehrlich-Str. 14 - 451<br class="">67663 Kaiserslautern, Germany<br class=""><span class="Apple-tab-span" style="white-space: pre;">       </span><span class="Apple-tab-span" style="white-space: pre;">  </span><br class="">Phone: <span class="Apple-tab-span" style="white-space: pre;"> </span>+49 (631) 205-2511<br class="">E-mail: <a href="mailto:holzhauser@mathematik.uni-kl.de" class="">holzhauser@mathematik.uni-kl.de</a><br class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""><a href="http://www.mathematik.uni-kl.de/~holzhauser" class="">www.mathematik.uni-kl.de/~holzhauser</a></div>
</div>
<br class=""></div></div>_______________________________________________<br class="">TRNSYS-users mailing list<br class=""><a href="mailto:TRNSYS-users@lists.onebuilding.org" class="">TRNSYS-users@lists.onebuilding.org</a><br class="">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org<br class=""></div></blockquote></div><br class=""></div></body></html>