Skip to content

Communicator

The Communicator connects to your target, holds the X2C model running on it and opens the Scope.

Important

The Communicator reads from the target only when you start it, e.g. by connecting, with Update on the Status tab or with Upload all Block Parameters. It does not refresh its display by itself, so what it shows can differ from the current state of the target.

The Communicator window

From top to bottom; the numbers are those in the picture:

The Communicator window, connected, with the Status tab

Part What it is for Details
1 Toolbar Connect, generate code, download the application, open the Scope Toolbar
2 Tabs Status: DSP state of the target and the log Status
Setup: interface and protocol of the connection Setup
Model: structure of the model, properties and parameters of its blocks Model
Dashboard: control and data of a loaded dashboard Dashboard
3 Status bar Connection state; while connected also error type, error ID and CPU load of the target Status bar

Available in

The Model and Dashboard tabs are available once a model is loaded.

Working with the Communicator

  1. Connect to the target: choose the interface on the Setup tab and click Connect to target, see Setup.
  2. Load the model with Model → Load Model from File, unless Simulink or Xcos has handed it over, see Model.
  3. Generate the code and download the application with the toolbar, see Toolbar.
  4. Tune parameters of the blocks on the Model tab, see Model.
  5. Watch signals in the Scope.
  6. Keep the settings in a settings file, see Files.

Toolbar

Button Function
Connect to target / Disconnect from target Opens or closes the connection, see Setup
Generate code Generates the C code of the loaded model
Download settings Options for downloading the application
Download application to target Flashes the application
Scope Opens a Scope window, see Scope
Execution Time Estimator Starts the Execution Time Estimator
What's This? Help cursor: click a control to open its help

Available in

  • File: "Load Settings", "Save Settings" (see Files), "Load Dashboard Config", "Clear Dashboard Config" (see Dashboard), "Settings" (see Files), "Exit".
  • Model: the model and its block parameters, see Model.
  • Window: "Style", see Window style.
  • Help: these pages, the help cursor and "About X2C".

Window style

Window → Style chooses between "Classic", "Light" and "Dark". The style applies to the Communicator and its Scope windows from the next start of the Communicator; until then the menu shows the chosen style as "(after restart)". It is saved with the settings (see Files), so the Communicator opens in the style of the settings file it starts with. Loading another settings file does not change the style.