<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:inherit;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Pr\00E9-formata\00E7\00E3o HTML Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.Pr-formataoHTMLChar
{mso-style-name:"Pr\00E9-formata\00E7\00E3o HTML Char";
mso-style-priority:99;
mso-style-link:"Pr\00E9-formata\00E7\00E3o HTML";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="PT-BR" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">Good afternoon everyone, I'm new to GetDP and I'm apprehending a program structure. So with this example, I can not display the results in an inactive dialog box. The problem I am studying is attached here. It is an example available without a website but with a change, as it is available as already said.<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121"><o:p> </o:p></span></pre>
<div>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">I define parameter S11, in the post processing step.<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">{Name pos_eS; NameOfFormulation eFormulation;<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">Quantity{<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">{Name intPort~{(1)} ; Value{Integral{ [ePort~{1}[]*Conj[ePort~{1}[]]] ; In Port~{1}; Jacobian Jac ; Integration I1;}}}<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">{Name xS~{(1)} ; Value{Integral{ [({e}-ePort~{1}[])*Conj[ePort~{1}[]]] ; In Port~{1}; Jacobian Jac ; Integration I1 ;}}}<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">{Name xS~{(2)} ; Value{Integral{ [{e}*Conj[ePort~{1}[]]] ; In Port~{2}; Jacobian Jac ; Integration I1 ;}}}<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">}<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">}<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN" style="font-family:"inherit",serif;color:#212121">But when I show the value in a dialog box says the constant is unknown.</span><span style="font-family:"inherit",serif;color:#212121"><o:p></o:p></span></pre>
</div>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121">If(Excitation == 1) <o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> { Name Get_S ; NameOfPostProcessing pos_eS ;<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> Operation {<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> <o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> <o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> DefineConstant[<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> R = {intPort~{(1)}, Name "Input/5Output/1Reflection ",Color "LightYellow"}];<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> <o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> Print[ intPort~{(1)}, OnGlobal, Name "/Input/3Signal/3Cutoff frequency [Hz]", Color "LightYellow" ];<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> // Print[ intPort~{(1)}, OnRegion Port~{1}, Format Table, File "res/um_middle.txt", SendToServer "Output/Middle diplacement [m]"{0}, Color "LightYellow" ];<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> <o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> <o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> }}<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> Else<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> <o:p></o:p></span></pre>
<pre style="background:white"><span style="font-family:"inherit",serif;color:#212121"> EndIf<o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Enviado do <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Email</a> para </p>
<p class="MsoNormal">Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>