<!doctype html public '-//W3C//DTD HTML 4.01//EN'
  'http://www.w3.org/TR/html4/strict.dtd'>
<html>
<title>Isight - Examples</title>
  <head>
	<link rel="stylesheet" href="../../../EStyle.css" type="text/css">
	<link rel="stylesheet" href="../../../ETables.css" type="text/css">
  </head>
<a href="http://www.simulia.com/products/sim_opt.html"><img src="../../../../examples/logo.gif"></a>
<h1>Pause Component</h1>

<table>
	<th colspan=2>Workflow Tweak</th>
	<tr>
		<td>Description:</td>
		<td>This model demonstrates how to use pause components to affect sim-flow paths and parameters dynamically during runtime.  This model does a downhill simplex
			optimization of a spring.  The Pause Component allows you to affect the workflow in several ways.
			<ol>
			   <li>The "View Parameters?" pause component gives you the option to view/edit parameters,
			   <li>If you select yes, the "View/Edit Parameters" pause component allows you to do just that.
			   <li>If you select no, the "Pause Frequency" pause component allows you to adjust the frequency at which you are prompted to view/edit the parameters.
			</ol>
			The calculator component is used to set a condition that determines if the user should be prompted to view/edit parameters.<br/>
			The Excel spreadsheet that performs the calculations to determine the output parameters
			(Weight, Deflection, Shear Stress, Surge Frequency, and Size) based on the input parameters (Wire Diameter, Coil Diameter, and Number of Coils)
			is shown in the file <a href="../../../getting_started/SpringCalcs.xls">SpringCalcs.xls</a>.</td>
	</tr>
	<tr>
		<td>Model:</td>
		<td><a href="WorkflowTweak.zmf">WorkflowTweak.zmf</a></td>
	</tr>
	<tr>
		<td>Illustrated components:</td>
		<td>Pause, Excel, Calculator, Optimization</td>
	</tr>
	<tr>
		<td>Other illustrated features:</td>
		<td>Parameter adjustment at Runtime, Conditional sim-flow, sim-flow annotation.</td>
	</tr>
	<tr>
		<td>Simcodes needed:</td>
		<td>None</td>
	</tr>
	<tr>
		<td>Support files needed:</td>
		<td>None</td>
	</tr>
</table>
<p><br>
<table>
	<th colspan=2>Wait For Mail</th>
	<tr>
		<td>Description:</td>
		<td>This model demonstrates how to use pause component to wait for email before continuing the workflow.
			This model uses a parallel workflow to simultaneously send an email and wait for the email.  <br/><br/>
			The "Wait for Mail" pause component waits for the
			email.  When the email is detected the workflow continues to the "Notification" pause component, which alerts the user that the
			email has arrived.<br/><br/>
			NOTE:  The Mail component in this model must be configured before execution.
			</td>
	</tr>
	<tr>
		<td>Model:</td>
		<td><a href="WaitForMail.zmf">WaitForMail.zmf</a></td>
	</tr>
	<tr>
		<td>Illustrated components:</td>
		<td>Pause, Mail</td>
	</tr>
	<tr>
		<td>Other illustrated features:</td>
		<td>Parallel workflows, workflow annotation.</td>
	</tr>
	<tr>
		<td>Simcodes needed:</td>
		<td>None</td>
	</tr>
	<tr>
		<td>Support files needed:</td>
		<td>None</td>
	</tr>
</table>
<p><br>
<table>
	<th colspan=2>Wait For File</th>
	<tr>
		<td>Description:</td>
		<td><p>This model demonstrates how to use the pause component to wait for a file before continuing the workflow.  This is often used when the workflow
		interacts with an outside program, which generates a file that the rest of the workflow needs.  <br/><br/>
		This model uses a Script component in a parallel workflow to create a file while simultaneously using the pause component to wait for a file the Script component is generating.  <br/>
		The "Create File" Script component
		has a 3 second delay before execution.  The "Wait For File" pause component waits for the temp file to be generated, then the sim-flow
		continues, and the "Notification" pause component notifies the user that the file has been created.<br/>
		</td>
	</tr>
	<tr>
		<td>Model:</td>
		<td><a href="WaitForFile.zmf">WaitForFile.zmf</a></td>
	</tr>
	<tr>
		<td>Illustrated components:</td>
		<td>Component Delay, Pause, OSCommand</td>
	</tr>
	<tr>
		<td>Other illustrated features:</td>
		<td>Affinities, Parallel workflows, sim-flow annotation.</td>
	</tr>
	<tr>
		<td>Simcodes needed:</td>
		<td>None</td>
	</tr>
	<tr>
		<td>Support files needed:</td>
		<td>None</td>
	</tr>
</table>
</html>
