Introduction

Quick Overview

Getting started

Release Notes

CSV file converter

CSV file converter

CSV File Converter in Twin Fabrica

While Twin Fabrica natively supports data import through .mat files, users often work with data in .csv format. Twin Fabrica includes a built-in CSV File Converter that lets you preview and convert .csv files into .mat format. You can then import these converted files directly into any project.

This section guides you through the conversion and import process.

1. Start the CSV Import Tool

Go to the PROJECT tab and click the CSV files button in the Import section to open the CSV import and conversion tool.

2. Select a CSV File

Click Click to select a .csv file in the import window.

Use the file browser to locate and select your CSV file.

3. Load the File into Twin Fabrica

Click Open to load the file for preview and conversion.

4. Define the Delimiter

Specify the delimiter used in your data (e.g., comma, tab, space).

Choose the appropriate delimiter from the dropdown list and click OK.

5. Wait for the File to Load

The file will take a few seconds to load, depending on its size.

Wait while the data is parsed and displayed.

6. Preview the Table

The file will appear under the Selected file section once loaded.

You can now preview and adjust the table before continuing.

7. View Table Content

Click the file name under Selected file.

All signals and columns from the CSV file will display on the right side of the window.

8. Proceed to Configuration

Click the right arrow at the bottom of the window to continue.

This opens the second panel where you can select signals and view data previews.

9. Select Signals to Include

In the configuration panel, choose which signals or columns to include in the final .mat file.

Deselect unnecessary columns to avoid importing redundant data.

10. Live Data Preview

A dynamic chart on the right shows the selected signals as time-series data.

The preview updates automatically as you make selections, helping you verify the correct signals.

11. Save the Converted Table

Click SAVE when you're satisfied with your signal selection.

This prepares the data for export in .mat format.

12. Name and Export the File

Enter a name for your new .mat file and click Save.

Your selected data is now converted and saved as a .mat file, ready for use in Twin Fabrica.

13. Import the Converted File

Return to the MAT files import window in the PROJECT tab.

Load your newly created file as you would any other .mat file.