2 Add server and import data variables

2.1 Adding and configuring a demo server to the project

In the first step, we will add a "webMI DEMO Webserver" to the project. To do so, we will use the "Guided Actions" located in the menu bar.

  1. Choose Guided Actions ‣ Add atvise webMI DEMO Webserver from the menu bar.

  2. Choose a project directory for the demo server.

  3. Now you can choose a layout and size for your default display.

    Hint

    The webMI DEMO Webserver will start in a console window. The server uses port 81 to deliver the webMI visualization.

    Hint

    You could also start the DemoServer after adding it to the project by choosing Guided Actions ‣ Start atvise webMI DEMO Webserver

  4. Confirm the dialog which appears by clicking Yes to start the demo web server (if you haven't started it yet).

  5. Now the "DemoServer" appears in the server list at the upper left side of the atvise builder interface

../../_images/add_server.png

Adding an atvise webMI DEMO Webserver to the project

../../_images/demoserver.png

The DemoServer appears in the server list

2.2 Importing data variables

In this step, we will import the data variables that are integrated in the "DemoServer" (the corresponding data structure is defined in the variables.xml file located in the [atvise_folder]/webmi folder).

  1. Choose Guided Actions ‣ Import all variables from ‣ DemoServer from the menu bar.

  2. Confirm the dialog which appears by clicking Yes. Now the data variables will be imported into the atvise builder's object structure.

  3. A window will appear, informing you that all variables were imported successfully. Apply the dialog by clicking OK.

../../_images/import_xml.png

Import the data structure of the DemoServer (defined in the variables.xml file)