Package: Home Mode restore

Author: HCA Central
Version: 7
Added to Library: 11-Nov-23
HCAVersion needed: 16
Keywords: Utility

Package Description:
Saves the home mode across HCA restarts

Program: Post Startup

Program Description:
Starts when HCA starts up and loads the file. Then it reads a data file that contains the home mode that the design was in when HCA terminated. It then makes that home mode to be the current mode.

Global Variable Use:

Name Description
currentMode Home mode. Needs to be current because of the ReadData element always puts results into global variables.

Program: When home mode changes

Program Description:
Executes whenever the home mode changes. Writes that home mode to a file.