Create and Open the Application:
New PROMOTIC application can be created and opened several ways:
Create and Open the Application:
Launch the PROMOTIC system (\Promotic\PmManager.exe
) and press the "Add" button
on the "Applications
New dialog is opened. It can be used to select the application type to be created. If you want to create the Application with examples
, select the application type accordingly. If you want to create standard SCADA application do not change the settings and press "Next" button. The system detects, that the application is empty and therefore opens a window with series of queries. Based on the information entered here, new preconfigured objects are going to be created in the application.
Then choose the desired application location and file name. For the purpose of this example #apps: Tutorial/ Tutorial.pra.
- Application name: Enter "Boiler room visualization" here
- Insert the "About" window: Check this checkbox in order to add the "About" ("about") window
- Application designer/company name: This text will be used only in the "About" window ("about").
- Application designed for: This text will be used only in the "About" window ("about").
- Enable application for Web:
Check this checkbox in order to allow your application become a Web server offering HTML and XML pages. This selection adds a PmaWeb
object into the application and other objects become preconfigured for Web usage.
Leave the other configurators unmodified and confirm by the Next
Note: Based on practocal experience, we recommend to use short filenames. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, spaces and the first character must not be a number.
In the following windows select the application main window layout nad toolbar design. Then confirm your selections. The system now creates the preconfigured objects (these will be explained in the following chapter). All these settings can be modified later as the development of your application continues.
By following the previous steps you have created an application, opened it and let the system create some basic preconfigured objects. The following chapters of this coursebook will teach you how to create the content of an application in order to achieve the desired functionality. Creating application content can be formally divided into three parts:
a) Static Part:
In this part the designer creates his application by adding and using Pma objects (e.g. timer, data, communications), modifies the properties of such objects and places them into the hierarchical tree. This way, the internal structure of the application is being created.
b) Visual Part:
In this part the designer creates graphic panel, places desired Pmg objects into the panels and defines the its properties. These Pmg objects are then being connected by data bindings with the objects that have been created in the static part. An outer appearance of the application is created here - graphic interface.
Note: Fully functional application not having any graphic user interface can also be created.
c) Dynamic Part:
In this part the designer defines the main application functionality itself, for example repeated actions of objects in defined time periods, what should happen when the user presses a button or key, etc..
Note: Some very simple applications (e.g. used only for diplaying incoming values) may not need this part.
In fact, these three defined parts of the application development are only formal and very often blend together. In the system itself this division is not strictly defined. But it can help us with the following explanation that is divided into these three parts.