Import and Export
What This Chapter Covers
This chapter explains how to bring external files (ARXML, DBC) into a PAIO project and how to export the project model back out as AUTOSAR ARXML or DBC. It also covers conflict resolution, the Extract of a single ECU, and the separate ECUC import.
- Who this is for: users moving ARXML or DBC files from another tool into PAIO, or handing a PAIO model over to another tool.
- Prerequisites: a project is open (04. Workspaces and Projects).
13.1 At a Glance
| What you want to do | Where to start |
|---|---|
| Import an ARXML or DBC file into a project | The Import icon in the DESIGN header of the EDITOR view |
| Export the whole project as ARXML, DBC or both | The Export icon in the DESIGN header of the EDITOR view |
| Export one CAN cluster as DBC | Right-click the CAN cluster in the System editor ▸ Export to DBC |
| Export a single ECU or HPC | Right-click the node in the System editor ▸ Extract ECU / Extract Machine |
| Import ECUC configuration values only | Right-click Configuration under MODULE ▸ Import ECUC Configuration |
| Add the PopcornSAR AP base configuration | The PARA Platform Import button in the Machine Configuration dialog |

① Import, ② Export, ③ the four header icons: Import, Export, PRTE Code Generation, PARA Code Generation.
The same two commands are on the context menu of the design folder in the Explorer.

① The design folder, ② Import, ③ Export.
License Conditions
Export (ARXML and DBC) and Extract need both an active license and online server validation. Import works even when the license has expired.
13.2 Importing ARXML and DBC
13.2.1 Procedure
- Click the Import icon in the DESIGN header. The dialog
Select files to importopens. - Select the files. You can select several files at once and mix ARXML and DBC.
- Confirm. All unsaved edits in the project are written to disk first.
- The progress dialog
Importing ARXML Filesappears. Cancel stops the import and restores every file it already wrote. - Depending on the result, the import continues along one of three paths (13.2.3 to 13.2.5).

① The current stage name, ② the stage row with the percentage and element counter, ③ Cancel.
Source files are read in place; they are not copied into the project's import/ folder.
13.2.2 When an Import Is Rejected
Only one import can run at a time. While a previous import is unfinished, a new one is rejected with Import rejected: <reason>. Finish or cancel it first.
13.2.3 Result 1 — Success
Import complete: N elements imported from M file(s) appears and the dialog closes on its own. The open editors reload the new content.
13.2.4 Result 2 — Import Source Conflicts
If several files selected in one go define the same element differently, the Import Source Conflicts dialog appears before anything is written to disk.

① Divergent Elements, ② the variant cards, ③ the default badge, ④ the field table, ⑤ the Result: line, ⑥ the footer.
- Select an element in the Divergent Elements list on the left.
- Click a variant card to take that variant whole, or click cells in the field table to take single fields.
- To decide every remaining element at once, pick a file in Prefer source: and click Apply to remaining.
- Click Resolve d/N. Undecided elements take the variant with the default badge.

① Variant A taken whole, ② one cell taken from Variant B, ③ the Result: line shows · mixed definition (matches no single file).

① Every dot is lit, ② the file chosen in Prefer source:, ③ Apply to remaining, ④ Resolve 7/7.
Cancel Import stops the import; nothing has been written yet.
13.2.5 Result 3 — Conflict Resolution
When an element already in the project and an incoming element hold different values, the Conflict Resolution dialog appears.

① The Conflicts tree, ② the summary line, ③ the element-level decision buttons, ④ the footer.
-
Select an item in the Conflicts tree on the left and compare the project value with the imported value.
-
Choose one of the four buttons under
Element-level decision.Button Behavior Keep Project Version Leaves the value already in the project as it is Use Imported Version Replaces it with the imported value Merge Fields Lets you choose which side's value to use, field by field Keep Both Keeps both by giving the imported element a new name -
Click Resolve n/N to commit.
Items you have not decided are overwritten with the imported value, not kept. If undecided items remain, the
Unresolved Conflictsdialog asks first.
To handle a whole area at once, click its header and use All → Use Imported or All → Keep Project.

① The area header (IVC), ② the bulk buttons, ③ the rows with their current decision.

① Merge Fields, ② the field tree of the item, ③ Use Import taken for one field.

① The Unresolved Conflicts dialog (Cancel, Overwrite & Continue).
Cancel stops the import and restores the project to its pre-import state.

① The Cancel Import? dialog (Keep Resolving, Cancel Import).
13.2.6 What an Import Handles Together
One ARXML import handles all of these together: network topology, signals, SWC, interfaces, data types, services, system, security events, diagnostics, software clusters, ECU resources, Machine configuration, and ECUC module definitions and configuration values. Definitions are read before configuration values, so both may be in the same file.
The whole import is one undo step: one Ctrl+Z returns the project to its pre-import state.
13.2.7 Re-importing Merges Rather Than Overwrites
An element already in the project is combined field by field, not replaced.
- If only one side has a value, that value is used.
- A conflict is raised only when both sides have a value and the two differ.
- Diagram coordinates and sizes are not content, so the existing layout is kept.
13.2.8 DBC Encoding Caveat
A DBC file is read as UTF-8 only when it has a UTF-8 BOM, and as ISO-8859-1 otherwise. If characters come in broken, add a BOM to the file or save it again as ISO-8859-1.
13.3 Exporting a Project (ARXML, DBC)
13.3.1 Procedure
- Save your edits (PROJECT ▸ Save All).
- Click the Export icon in the DESIGN header. The Export dialog opens.
- Check FOLDER.
exportis the project'sexportfolder. Type another project folder or a full path, or pick one with the icon at the right end. The icon is not shown in a remote window. - Choose one or both of ARXML and DBC in FORMAT. At least one stays chosen. The arrow on the ARXML button lists the AUTOSAR versions; today that is
R25-11only.

① FOLDER, ② FORMAT with both formats chosen, ③ the AUTOSAR version, ④ Export.
- Click Export. The formats are written one after the other and overwrite files of the same name. Cancel stops the run.
✓ Complete!appears, with one result line per format. Click Close.

① ✓ Complete!, ② the result of each format, ③ Close.
If a format fails, ✗ Finished with errors appears and the line of that format shows the reason. The other format is still written.
13.3.2 Files That Are Created
The ARXML export writes several files named <project>_<suffix>.arxml (for example MyProject_System.arxml, MyProject_COM.arxml). A file is created only when its area has content; _COM and _DataType are always created. The DBC export writes one <cluster>.dbc file per CAN cluster (13.6).

① The exported files in the EXPORT section, ② a file opened by double-click.
13.3.3 The Data an Export Reads
The ARXML export reads only the saved files in the design/ folder. Unsaved edits are not exported, even while their editor is open. Save before exporting.
13.3.4 Output Specification
The AUTOSAR namespace is fixed at R25-11. A reference with no value is not exported.
13.3.5 Package Layout of the Result
The AR-PACKAGE structure of the result is fixed by rule.
13.3.6 Information That Does Not Go Out to AUTOSAR
- Ownership relations, such as which ECU an ECUC configuration belongs to, travel in the ARXML ADMIN-DATA SDG and survive a re-import.
- Diagram coordinates and screen layout do not go out to ARXML. Re-imported into an empty project, the nodes are laid out automatically. Re-imported into the same project, the existing layout is kept (13.2.7).
13.4 ECU / Machine Extract
Extract cuts out one node (an ECU or an HPC) with only what it references and writes it to a separate ARXML. Use it to hand a specific ECU owner only the part they need.
13.4.1 Procedure
- Save your edits, then open the System editor (System in the DESIGN list of the EDITOR view).
- Right-click the target node and select Extract ECU (Classic ECU) or Extract Machine (Adaptive HPC).

① The ECU node DoorCtrl_FL, ② Extract ECU.
- On success, the files that were created are listed by area. Close the dialog with Close.

① The subtitle DoorCtrl_FL → export/DoorCtrl_FL/, ② the checklist of areas that were written.
13.4.2 Result
The files go to <project>/export/<node name>/ and use the node name as the prefix (DoorEcu_System.arxml). Only the saved model is read.

① The DoorCtrl_FL folder, expanded with the chevron at the left of the row.
13.4.3 What Is Cut Out
Extract keeps the target node, the frames, PDUs and signals it uses, and its ECUC configuration values. All ECUC module definitions are exported. The remaining elements are cleaned up so that they hold no dangling references.
13.5 Importing an ECUC Configuration on Its Own
Right-click Configuration under MODULE in the EDITOR view and choose Import ECUC Configuration.

① The Configuration row under MODULE, ② Import ECUC Configuration.
13.5.1 Procedure
- Select one ARXML file in
Select ARXML File to Import ECUC Configuration. - If the file contains an
ECUC-MODULE-DEF, the module definition is imported first. - If a configuration already exists at the same path, the conflict dialog of 13.2.5 appears.
- The result is reported. A skipped or rejected module is listed with its reason.
The whole import is one undo step.
13.5.2 Reasons for Rejection
If a container, parameter or reference of a configuration value is not in the definition, the whole module is rejected.
13.6 DBC
- Import: select a
.dbcfile in the same Import dialog as in 13.2. A multiplexed message comes in as a MULTIPLEXED-I-PDU, and whether a bus is CAN or CAN FD is read from the file. - Export of every CAN cluster: choose DBC in the Export dialog of 13.3. One
<cluster>.dbcis written per CAN cluster. A project without a CAN cluster gets one<project>.dbc. - Export of one CAN cluster: in the System editor, right-click the CAN cluster and choose Export to DBC. The Exporting to DBC dialog shows
DBC export complete: 1 fileand closes by itself. The file isexport/<cluster>.dbc.

① The CAN cluster WestCAN, ② Export to DBC.
A DBC file holds only the nodes with a CAN connector. When the project has CAN clusters, a frame that none of them carries is in no DBC file.
13.7 Adding the PARA Platform Base Configuration
This adds the base configuration of the PopcornSAR AUTOSAR Adaptive Platform to the project. The set shipped with the product is used; you choose no file.
13.7.1 Procedure
- In the VFB editor, open the Machine Configuration dialog of a composition mapped to an HPC.
- Click PARA Platform Import in the header.
- Click Import in the confirmation dialog. From here it behaves like an ARXML import.

① PARA Platform Import, ② the confirmation dialog, ③ Import.
13.7.2 Limits and Constraints
The operation is rejected while another import is running, and when the license has expired.
13.8 Situations You Will Often Meet
- Export shows only an upgrade notice: the license has expired. Import remains available.
- An existing value changed after Resolve: undecided items are overwritten with the imported value (13.2.5).
- The Extract or export is missing your latest edits: save first.
13.9 Importing in an SSH Window
In a window connected over SSH, an import writes to the SSH server.
- The files are picked on the server first: the picker opens at the top of the window on the project folder. Click a file and click Open. In Import,
Ctrl+click adds more files. Show Local opens the PC's file dialog instead. Import and Import ECUC Configuration both work this way. - If the connection closes during the import, the import fails with
Import failed: The remote connection closed during the import. Part of it may be on the server; reconnect and import again.Nothing is written to your PC. Reconnect and import again. - Closing the connection yourself while an import runs asks first; Close Connection cancels the import. See 17.7.