Using Connexis

The steps for using Connexis in a model are:

  1. Import the Connexis library model to your workspace (File – Import - General - Existing Projects into Workspace). The project to import is located in the Model RealTime installation under rsa_rt/Connexis/DCS.

  2. Perform one of the steps below:

    1. If you use Connexis on one of the platforms for which a prebuilt library is available (see Supported platforms), and you have not customized the Connexis model library, then add an external library TC from the Connexis model as a prerequisite of your application TC. The names of these external library TCs are prebuilt_<platform>.tcjs.

    2. If you have customized the Connexis library model, or are using a platform that is not supported out of the box, then use instead the library TC that builds the Connexis library. Add it as a prerequisite to your application, so that the Connexis library gets built automatically when you build your TC. The names of these library TCs are <platform>.tcjs and you can of course create your own such library TCs to target other platforms. See Create a CPP Library TC for Connexis for more information.

  3. Apply the Connexis profile to your top-level package. This is not a mandatory step, but the Connexis profile can help you create the necessary model elements by automatically updating your model when you apply Connexis-related stereotypes.

  4. Create your Connexis application model using regular UML-RT elements as well as elements from the Connexis library (either added manually or by means of using the Connexis profile). More information about this can be found in the chapter Connexis Services.

In addition to these steps, there are also general design rules that must be followed to ensure that the Connexis components have been initialized properly before they are used.