BlinkyLight

Below is a browsable image of the model.

  • For an executable version,
  • To view or save the MoML file for this model, click here.
BlinkyLightmodel <h2>DE Director</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>startTime</td><td>&nbsp;</td><td>null</td></tr><tr><td>stopTime</td><td>&nbsp;</td><td>null</td></tr><tr><td>stopWhenQueueIsEmpty</td><td>false</td><td>false</td></tr><tr><td>synchronizeToRealTime</td><td>true</td><td>true</td></tr><tr><td>enforceMicrostepSemantics</td><td>false</td><td>false</td></tr></table> <h2>Init</h2>Has no parameters. <h2>SetVariable4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>variableName</td><td>lightAmount</td><td>lightAmount</td></tr><tr><td>delayed</td><td>false</td><td>false</td></tr></table> <h2>Const4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>value</td><td>lightCalculated</td><td>224.6895212109717</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>SetVariable3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>variableName</td><td>lightCalculated</td><td>lightCalculated</td></tr><tr><td>delayed</td><td>false</td><td>false</td></tr></table> <h2>BooleanSwitch</h2>Has no parameters. <h2>TokenToJSON2</h2>Has no parameters. <h2>RecordAssembler3</h2>Has no parameters. <h2>HttpActor3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>path</td><td>/room</td><td>/room</td></tr><tr><td>timeout</td><td>30000L</td><td>30000L</td></tr><tr><td>requestedCookies</td><td>{}</td><td>{}</td></tr></table> <h2>RecordAssembler2</h2>Has no parameters. <h2>ExpressionToToken2</h2>Has no parameters. <h2>ExpressionToToken</h2>Has no parameters. <h2>SetVariable2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>variableName</td><td>offThreshold</td><td>offThreshold</td></tr><tr><td>delayed</td><td>false</td><td>false</td></tr></table> <h2>SetVariable</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>variableName</td><td>onThreshold</td><td>onThreshold</td></tr><tr><td>delayed</td><td>false</td><td>false</td></tr></table> <h2>RecordDisassembler</h2>Has no parameters. <h2>Const5</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>value</td><td>&quot;OK&quot;</td><td>&quot;OK&quot;</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>MicrostepDelay3</h2>Has no parameters. <h2>MicrostepDelay2</h2>Has no parameters. <h2>FileReader</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>fileOrURL</td><td>$CLASSPATH/org/ptolemy/ptango/demo/BlinkyLight/pages/blinkylight.html</td><td>xxxxxxCLASSPATHxxxxxx/org/ptolemy/ptango/demo/BlinkyLight/pages/blinkylight.html</td></tr><tr><td>newline</td><td>property(&quot;line.separator&quot;)</td><td>&quot;\\n&quot;</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>HttpActor</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>path</td><td>/room/light</td><td>/room/light</td></tr><tr><td>timeout</td><td>31000L</td><td>31000L</td></tr><tr><td>requestedCookies</td><td>{}</td><td>{}</td></tr></table> <h2>Const</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>value</td><td>true</td><td>true</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>DiscreteClock</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>stopTime</td><td>Infinity</td><td>Infinity</td></tr><tr><td>stopTimeIsLocal</td><td>false</td><td>false</td></tr><tr><td>period</td><td>1.0</td><td>1.0</td></tr><tr><td>offsets</td><td>{0.0}</td><td>{0.0}</td></tr><tr><td>values</td><td>{1}</td><td>{1}</td></tr></table> <h2>ModalModel</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>stateDependentCausality</td><td>true</td><td>true</td></tr><tr><td>directorClass</td><td>ptolemy.domains.modal.kernel.FSMDirector</td><td>ptolemy.domains.modal.kernel.FSMDirector</td></tr></table> <h2>WaitForReading</h2>Has no parameters. <h2>TokenToJSON</h2>Has no parameters. <h2>Expression</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>expression</td><td>lightAmount</td><td>lightAmount</td></tr></table> <h2>RecordAssembler</h2>Has no parameters. <h2>MicrostepDelay</h2>Has no parameters. <h2>HttpActor2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>path</td><td>/room/markers</td><td>/room/markers</td></tr><tr><td>timeout</td><td>30000L</td><td>30000L</td></tr><tr><td>requestedCookies</td><td>{}</td><td>{}</td></tr></table> <h2>Const3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>value</td><td>0</td><td>0</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>Const2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>value</td><td>lightIsOn</td><td>false</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>BooleanSelect</h2>Has no parameters. <h2>CalculateSensorValue</h2>Has no parameters. <h2>MicrostepDelay4</h2>Has no parameters.