Flexible SCADA Help
Development environment

Projects

A project is one file on the server with everything the engineer has built. Here — how projects are created, opened, organised in folders, moved and rolled back.

Create and open

Project menu itemWhat it does
Create ▸, Import ▸create a channel, folder, object, window, program, trend, alarm, report, variable at the project root; import a window or a program from a file
Copy all project contents Ctrl+Cto the clipboard — paste into another project (right-click → “Paste”)
Publish to a server…move the project to another Flexible SCADA server (see Several servers)
Export project…as a .wscada or .scada.json file (see below)
ISA-95 equipment: check the hierarchycheck the equipment hierarchy by ISA-95 (project folders and objects) — the one MES and the OPC UA server see
ISA-95 equipment: B2MML export for MESthe equipment hierarchy as a B2MML file — for MES and ERP
Import project from file…, New project…another project on this server
Renamethe project name (F2)
Open the scripts folder in VS Codeall project programs in VS Code with hints for the project variables
Download the scripts folder (.zip)an archive of the project programs
Delete projectdelete it from the server (with a question); export it first if it is still needed
Expand all, Collapse allproject branches in the tree
Copy path Ctrl+Shift+Cthe path to the project file on the server
The project menu in the tree.
The project menu in the tree.

Folders

Project contents are organised in folders — like equipment by area: “Boiler house → Circuit 1 → Pumps”. A folder holds windows, objects, trends, programs, reports, alarms and local variables; folders nest inside each other. Everything can be dragged between folders with the mouse.

Folder propertyValuesMeaning
Nametexthow the folder appears in the tree and for the operator
Code for namesshort text without dots and spaces: E1, C1, AHU1; empty — nonebecomes part of the names of object variables and new local variables of the folder: “E1.C1.AHU1.Pump.Run”. This keeps variables of identical areas apart
Descriptiontextthe purpose of the area — shown in Properties

A folder is also an alarm area: alarms of objects in the folder get its name as their area, and an “Alarm journal” window in the folder shows only its alarms.

Import and export

File → Export project… (or right-click the project) downloads the project as a file. There are two kinds:

KindContentsWhen it is needed
Project package .wscadaprotocols, variables, windows, objects, trends, alarms, programs (C#, ST, FBD), screen versions and the library types the project uses; by checkboxes — also the history archive, the alarm journal and the retained values (setpoints and modes with the “retain” flag)moving the whole project to another server, a backup before a big change
Project file only .scada.jsonwithout programs, screen versions, archive and journal; the needed library types are insidecomparing versions, starting the server with this file (--config)

The the whole server library checkbox puts all server types into the file, not only those the project uses. A package with years of archive takes up to several minutes to build — the download starts when it is ready.

File → Import project from file… loads such a file as a new project. Single windows are exported and imported the same way: Export window in the window header and right-click a folder → Import → Window from file….

The draft: “Save”

Channels, variables and object variable bindings are what is working right now: device polling, the archive, alarms. That is why their changes are not applied one by one but accumulate in a draft:

  1. You edit channels and variables — next to the Save button “Not saved: 3 changes to variables and channels” appears.
  2. The server checks the draft at once; errors are shown at the fields (name taken, wrong address…).
  3. Save (Ctrl+S) applies all changes at once: changed channels reconnect, the others keep working without a break.

Windows, objects, types, trends and programs are saved immediately as you edit — Save is not needed for them.

Edit history and undo

Every project change is written to the version journal with a label — what was changed and by whom. Ctrl+Z undoes the last change, Ctrl+Y restores it. Edit → Edit history… shows the whole journal: the project can be returned to any point, including one from last week. Undo also covers changes to server library types (unless another project has touched them).

The project edit history.12
The project edit history.