6. Close the OPC Server Window

About this task

  • Stop all attached CIMPLICITY projects.
  • OPC Server window exit procedures.

Stop all attached CIMPLICITY Projects

When all attached CIMPLICITY projects stop running, the OPC Server window will automatically shut down.

OPC Server Window Exit Procedures

Do one of the following.

1 Click File>Exit on the OPC Server window menu bar.
2 Click the Exit button on the OPC Server window toolbar.
3 Click the standard Windows Exit button.
4 Press Alt+F+X on the keyboard.

Result: The exact behavior depends on whether or not OPC clients have attached to your interactive OPC server.

  • OPC clients are atttached.

Procedure

  1. A warning message box displays informing clients that the OPC Server is about to shut down.
  2. A Shutdown event is sent to all attached clients.
  3. The OPC server:
    1. Waits 10 seconds for clients to exit
    2. Shuts down.
    • OPC clients are not attached.
  4. The OPC Server window closes.
  5. The instance of the OPC Server shuts down.

    When running as a hidden process, the OPC server will shut itself down when the last client exits, provided all clients release their references to objects in the server, as they should (per the OPC and OLE specifications).