<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Mehdi,<br>
If you press the F5 key while in CVF, the compiler will launch
TRNExe and ask you to identify an input file (*.dck) that you want
to run. If you select an input file that has your component in it
then you can use the F9 key in CVF to put breakpoints in your code.
When the compiler gets to the breakpoint, it will stop and wait. At
this point, you can type variable names into the CVF "watch list" or
you can hold your mouse over a variable and CVF will display its
value. For matrices, you will have to type "A()" to expand and look
at all the internal values or type "A(1,1)" to see a specific spot
in the matrix.<br>
Kind regards,<br>
David<br>
<br>
<br>
On 1/26/2011 16:53, Mehdi Shahrestani wrote:
<blockquote cite="mid:791751.29006.bm@smtp109.mail.ne1.yahoo.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered
medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">Dear
Everybody <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">I have a
question in watching the internal values in new
components.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">I am writing
a new component with CVF 6.6, meanwhile I have
a two dimensional matrix.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">At this stage
which I am writing the script, I really need
to monitor and find the errors. But I don’t know how I can
see an internal
matrix of a new component.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">It should be
noted that the desired matrix is not an output
but it is an internal matrix which is used to generate the
outputs.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">The matrix is
A(10,100), I was wondering if you could give
me a clue to deal with this situation.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">Many thanks
for your time spending on this question <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;">Mehdi
Shahrestani<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="3"><span
style="font-size: 12pt; font-family: Arial;"><o:p> </o:p></span></font></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</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>