Using multiple Monarch model files

You can configure the OnDemand Client to run multiple instances of Monarch, with each instance using a different model file.

About this task

To configure the OnDemand Client, add an identifier for each instance of Monarch to the Dlls string value and add a subkey under the ExternalDlls subkey for each identifier. Each subkey should represent a different model file that you want to let your users run from the client. This section provides information to help you configure the client with multiple model files.

Procedure

For each model file that you want to run from the OnDemand Client:

  1. Add an identifier to the Dlls string value under the ExternalDlls subkey.
    Add a unique identifier for each model file.
    The following graphic shows ExternalDlls subkey with multiple identifiers. The example shows identifiers Model1, Model2, and Model3.)
    Figure 1. ExternalDlls subkey showing multiple values in Dlls
    This diagram illustrates multiple values in Dlls
  2. Define the DLL to the OnDemand Client by adding a subkey under the ExternalDlls subkey.
    Each subkey that you add must be listed in Dlls. Define the properties of the DLL by adding string values to the subkey that you added:
    • Use the Parameter value to specify the full path name of the model file. To run a specific Monarch model, the Parameter value must contain the full path name of the model file and any Monarch parameters that are required to run the model. See the Monarch documentation for a list of the parameters that you can specify.
    • You can use the MenuText value to provide specific menu text and hover help for each model file.
    • You can use the BitMapDll value to specify a different toolbar button bitmap for each model file.

What to do next

When you have finished defining the model files to the OnDemand Client, export the Registry key.