DEP — DEVlink Engineering PlatformUser Guide

Projects, Files and Recovery

Everything you build in DEP lives in one project file with the extension .rbsproj: the System, models, HMI pages, scenarios, run history and evidence. This chapter shows how to create, open, save, copy and recover projects, and how to keep a library of projects that DEP lists for you.

Before you start

RequirementWhat you need
EditionAny DEP edition opens projects. Creating and editing projects needs DEP Engineer or higher (project.edit). See Licensing and Editions.
FilesA folder you can write to, for example Documents\DEP Projects. DEP writes recovery copies and, while a project is open, companion files next to the project.

Steps

Create a new project

  1. New ProjectChoose File → New Project (Ctrl+N), or New Project on the Overview.
  2. Choose a file nameIn Create DEP Studio project, choose a folder and a name. The default is DEPproject.rbsproj. DEP creates the file and opens it.
  3. Initialise the SystemOpen System → System Engineering. A new project shows Build your test system. Type a System name and select Create system in this project. DEP makes a backup before it initialises the System.
A new project: give the System a name and select “Create system in this project”.
A new project: give the System a name and select “Create system in this project”.

Continue with Build Your First System.

Open a project

  • File → Open Project... (Ctrl+O) or Open Project… on the Overview. The dialog Open DEP Studio project accepts .rbsproj, and also .sqlite and .db files from older versions.
  • File → Open Recent Project lists recently opened files with their full paths. Files that no longer exist are greyed out.
  • Overview → Projects shows all projects in your library folder (next section).

After opening, DEP shows the project Overview. Select Open System to start working.

Choose the project library folder

The library is a folder you choose. DEP scans it and its subfolders for .rbsproj files.

Overview → Projects. The folder path is shown under “Project library”.
Overview → Projects. The folder path is shown under “Project library”.
  1. Open Overview → Projects and select Choose folder… (dialog Choose DEP project library folder). DEP remembers the folder.
  2. Select Refresh after you add files in Explorer.
  3. Use the search box to find a project by name, topic or folder.
  4. To see recovery and archive copies too, enable Include archive and recovery copies.

Recommended starters and All projects and libraries appear when the folder contains a DEP_PROJECT_CATALOG.json catalogue.

Keep one folder per team or programme, for example Documents\DEP Projects, and make it your library. A new installation uses Documents\DEP Projects when no other library has been chosen and no bundled examples are present.

Save and Save As

Most edits are written to the project immediately, for example values you Save in Component Properties or a new connection. Editors with a draft, such as Model Designer, HMI Designer and State Logic, have their own Save button and show Unsaved until you save.

  • File → Save Project (Ctrl+S) saves the project, including open drafts.
  • File → Save Project As... (Ctrl+Shift+S) writes a copy under a new name and continues in the copy. Use it to create your working copy of an example.
  • Saving a project that was opened from a .sqlite or .db file always asks for a new .rbsproj name.
  • The top bar shows Unsaved draft while a draft is open, and the status bar shows ● Unsaved native model for Model Designer drafts.

When you close DEP with an unsaved native model, DEP asks The active native model has unsaved changes. Choose Cancel to go back and save, or Discard Changes and Exit.

Switch projects safely

If a model, HMI page or object source has unsaved changes, DEP asks before it creates or opens another project. If anything is still executing, DEP keeps the current project open and stops nothing; the dialogs are listed under Troubleshooting. Select Keep current project to close such a dialog without changes. The message Current project kept open. No execution was stopped. confirms that nothing happened.

Copy, share and back up a project

While DEP has a project open, it uses two companion files, <name>.rbsproj-wal and <name>.rbsproj-shm.

  1. Close the project in DEP (open another project or exit DEP). The companion files are then merged into the main file.
  2. Copy the .rbsproj file. If -wal or -shm files remain, copy them together with it.
  3. If the project references files stored beside it or in the library, for example a .dep-assets, .assets or .dep-software-builds folder (DBC databases, FMUs or build outputs), copy those folders too and keep the same relative location.
  4. Open the copied project and select Check in System Engineering to confirm that all assets resolve.

Imported customer software keeps its original files and SHA-256 hashes in the project. Other assets, such as a DBC database, can be referenced by path. The network page shows the path, for example Replace …\.assets\…\CustomerCAN.dbc. DEP checks hashes when it runs, so it detects a changed binary instead of using it silently.

When you open a moved or copied project, DEP re-points its bundled model files to the project's own verified copy, so the project does not depend on the folder it came from.

Restore a recovery copy

  1. Close DEP.
  2. Copy <name>.rbsproj.recovery.rbsproj to a new name ending in .rbsproj.
  3. Open the copy and check it. Keep the original file until you have checked the copy.

Results

A project file holds:

ContentWhere you edit it
System graph: components, connections, profiles, valuesSystem Engineering
Canonical signals and bus mappingsSignal Mappings
Native, physical and state-logic models with their versionsModel Designer, Physical, State Logic
Imported FMUs, SSP packages and customer softwareSoftware, FMI and SSP
Networks, DBC databases, ECUs, messages and generatorsNetworks and Restbus
Scenarios, campaigns and run historyScenarios
HMI pages and faceplatesOperator HMI
Sessions, samples, frames and evidenceResults and Recordings

Recovery copies protect you against crashes and damaged files:

  • Every 60 seconds, and when you open, create or save, DEP writes <name>.rbsproj.recovery.rbsproj next to the project.
  • If the main file cannot be read when you open it, DEP opens the recovery copy automatically.
  • Initialising a System makes a project backup first, and System changes are stored as revisions, so evidence always refers to the exact revision that ran.

Limits

  • DEP keeps one recovery copy per project, under a fixed name; each new recovery copy replaces the previous one.
  • Assets referenced by path, such as a DBC database beside the project, are not inside the project file. Copy them with it.
  • The library listing hides copies with names that contain .recovery., .backup. or recovery-copy, and folders named Archive, Recovery, Development or Historical, unless you enable Include archive and recovery copies.
  • A very large library folder is not listed completely.

Troubleshooting

SymptomUsually meansAction
Stop the active run before changing projects (DEP-PROJECT-RUNNING)A System session is running, paused or faulted.Select Go to Model Flow, then Stop or Reset & release session.
Stop running software before changing projects (DEP-PROJECT-SOFTWARE)A customer software process (SoftwareUnit) is running.Select Go to owning workspace and stop the application.
Stop and reconcile the target before changing projects (DEP-PROJECT-TARGET)A HIL target session is active.Stop the target session in Runs → HIL runtime.
This folder is too large to list completelyThe library folder holds too many files.Choose a narrower folder.
A recent project is greyed outThe file was moved or deleted.Open it with File → Open Project... from its new location.
A copied project reports missing assets at CheckThe asset folders were not copied with the project.Copy the .dep-assets, .assets or .dep-software-builds folders to the same relative location.