Option 3.2. Configure System Boot Options

About this task

  • Automatically start a project.
  • Automatically launch a CimView screen.
  • Completely automatic startup.

Automatically start a project

Procedure

  1. In the CIMPLICITY Options window, display the Startup Options tab.
  2. Check one of the following:
    When Checked At boot Up
    None CIMPLICITY does not start running on the local computer. Boot up configuration is done.
    Viewer The CIMPLICITY router starts running and the local computer can act as a Viewer. However, no local CIMPLICITY projects start running. Boot up configuration is done.
    Start projects Selected projects start running. Go to 3 in this procedure.
  3. Click Add.

    The CIMPLICITY Default Project dialog box opens.

  4. Select a project from the project list.
    Note: Select Browse to find projects that are not in the drop down list.
  5. Click OK.

    The project displays in the Start projects box.

  6. Add all the projects you want to start at boot up.
    Note: If there are no projects in the list, only the Router starts.

Results

CIMPLICITY follows your specifications when the local computer boots up.
Note: To delete a project from the list, select the project, and click Delete. The project is removed from the list.

Automatically launch a CimView screen

To automatically launch a CimView screen on project startup, use one of the following methods.

If you start a:

  • Viewer

    Creating a shortcut ??to CimView in the Startup group using the command line argument /wait. ??

    cimview /wait [time] <pathname>

    Where:

    time is an optional parameter that specifies the number of seconds to wait for the router to start, and

    <pathname> is the fully qualified path of your Cimview .CIM screen file.

    Tip: If the project is installed on a local node, assign a specific time, e.g. 60 seconds.

    Example

    CimView.exe /wait 60

    C:\Program Files\Proficy\Proficy CIMPLICITY\Projects\Cimpdemo\Screens\TicTacToe.cim

  • Start projects

    For local projects only:

    Creating a shortcut ??to CimView in the Startup group using the command line argument /waitforproject. ??

    cimview /waitforproject <projectname> <pathname>

    Where:

    <projectname> is the name of the project associated with this screen, and

    <pathname> is the fully qualified path of your Cimview .CIM screen file,

    Example

    CimView.exe /waitforproject cimpdemo

    C:\Program Files\Proficy\Proficy CIMPLICITY\Projects\Cimpdemo\Screens\TicTacToe.cim

    Note: Other alternatives exist for launching Cimview when screens when your project starts:
    • Add the project associated with that screen to the list of projects (see step 6 above). In that project, configure an action to run a script that launches the screen. Configure the an event to trigger that action (Run Once) on project startup. Or,
    • Do not add the CimView screen's project to the list above, but instead create a shortcut ??to CimView on the Windows Desktop using the command line argument /Autostart.

      cimview /Autostart <pathname>

      You can then double-click the desktop shortcut to launch the screen with it's associated project.

Completely automatic startup

It is possible to start Windows with an automatic user log in. This configuration requires a change to Windows registry settings which should only be done with great caution and after making a complete backup ??(system, database and project files). See Microsoft's online resources (http://msdn.microsoft.com) for more information on this subject. Use the Search feature on their web page, specifying the exact phrase "Automatic Logon" to find the relevant topics quickly.