<html>
<body>
Dear Wimolsiri,<br>
The easiest way to see the illegal character on the clipboard is
to open a text editor (Notepad or WordPad) and perform a
"paste" (CTRL-V). Usually, you will end up pasting whatever the
illegal character was. The only information that should be transferred
back and forth between EES and TRNSYS are numbers (text characters won't
be interpreted correctly). I am not sure why you are getting the API
function failed error message - I haven't ever run into that one. The one
piece of advice I might give is to make sure that you have all of EES's
error messaging abilities switched off. When EES is performing its
calculations, TRNSYS sits in a waiting loop until EES posts something on
the clipboard and alerts TRNSYS that it has finished. Sometimes, if EES
generates an error in its calculations, TRNSYS doesn't find out about it
and just waits indefinitely. If you can't figure out what is going on,
please forward your TRNSYS input file and EES file to me and I will see
if I can debug it for you.<br>
Kind regards,<br>
David<br>
<br><br>
<br>
<blockquote type=cite class=cite cite=""><font face="arial">I am running
a model type 66 (Calling external program-EES) under Trnsys16. After the
program has been run about 2500 hr (smoothly), 2 error messages show
up:<br>
</font><br>
<font face="arial">A Win32 API function failed.<br>
</font><br>
<font face="arial">And<br>
</font><br>
<font face="arial">An illegal character was encountered in position 1 of
the string delP while reading CLIPBOARD.<br>
</font><br>
<font face="arial">The last message indicates that there is something
wrong in the data in the clipboard. Firstly, I thought that there should
be something wrong with the setting of the numerical format, but it is
right.<br>
</font><br>
<font face="arial">Where is the temporary file in the clipboard saved? Is
there any possibility to check the data in the clipboard? <br>
</font><br>
<font face="arial">What does the first message mean (a win32 API function
failed)?<br>
</font><br>
<font face="arial"> <br>
</font><br>
<font face="Times New Roman, Times" size=2><i>
________________________________<br>
</i></font><br>
<font face="chiller"><i>Wimolsiri Pridasawas<br>
</i></font><br>
<font face="arial" size=2>Kungl. Tekniska Högskolan<br>
</font><br>
<font face="arial" size=2>Inst. för Energiteknik<br>
</font><br>
<font face="arial" size=2>Tillämpad Termodynamik och Kylteknik<br>
</font><br>
<font face="arial" size=2>SE-100 44 Stockholm<br>
</font><br>
<font face="Times New Roman, Times"> <br>
</font><br>
<font face="arial" size=2>Tel. +46(0)8 790 7889<br>
</font><br>
<font face="arial" size=2>Fax. +46(0)8 20 30
07</font><font face="arial" size=2 color="#006666"> <br>
</font><br>
<font face="arial" size=2 color="#006666"> <br>
</font><br><br>
<br>
_______________________________________________<br>
TRNSYS-users mailing list<br>
TRNSYS-users@engr.wisc.edu<br>
<a href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users" eudora="autourl">
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a></blockquote>
<x-sigsep><p></x-sigsep>
****************************************************************************************<br>
Thermal Energy System Specialists (TESS), LLC <br>
David
BRADLEY
2916 Marketplace Drive - Suite 104 <br>
Partner
Madison, WI 53719 <br>
Phone: (608) 274-2577 USA <br>
Fax: (608) 278-1475 <br>
E-mail: bradley@tess-inc.com <br>
Web Pages:
<a href="http://www.tess-inc.com/" eudora="autourl">
http://www.tess-inc.com</a>
and
<a href="http://www.trnsys.com/" eudora="autourl">
http://www.trnsys.com<br><br>
</a>"Providing software solutions for today's energy engineering
projects" <br>
****************************************************************************************<br>
</body>
</html>