10 - 12 - 2024

AltonaLab library

Block AltonaLabMainWnd:

License: Hobby, Industrial

The block allows easy control of the main application window.

Block's inputs:

  • MinimizeWnd - When the input becomes to a high level, the AltonaLab application is minimized;
  • MaximizeWnd - maximizes the application;
  • RestoreWnd - restores the previous view of the application;

 

Block AltonaLabIsAlive

The block is a part of a Starter conception. Just add the block to the monitoring from a Starter diagram. In case there is a reason, because the current run diagram has to be killed from a Starter and to be run again, then connect the block's input Enable and if the input becomes to a low level, the Starter AltonaLab application in 30 sec will kill the current application and will start it again.

The block is easy to use and has not parameters.

 

Block AltonaLabStarter

The block is a part of a Starter conception. Below is shown a Starter.nsm diagram, which is located at a folder c:\AltonaLabStarter\

When the diagram Starter.nsm starts, it start the second AltonaLab application located at c:\AltonaLab\ and monitoring it. In case the second application crashed, the Starter will start it again. The output NumRestarts shows the number of the monitoring second AltonaLab restarts.

Block's parameters:

  • AltonaLabPath - the path of the monitoring AltonaLab application;

Block's inputs:

  • Start - when the input becomes to a high level, the monitoring AltonaLab application will be started;
  • Restart - when the input becomes to a high level, the monitoring AltonaLab application will be killed and will be started again;

Block's outputs:

  • OnStarted - becomes to a high level when the monitoring AltonaLab application is started;
  • OnStopped - becomes to a high level when the monitoring AltonaLab is crashed or is restarted from this block;
  • NumRestarts - shows the number of crashes/restarts of the monitoring AltonaLab application;