How can I live-stream and visualize signals from my Speedgoat target computer running a real-time application?

40 Ansichten (letzte 30 Tage)
What are the different methods to live-stream signals running in my Speedgoat real-time application, and monitor them on my host computer?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 21 Mär. 2025 um 0:00
Bearbeitet: MathWorks Support Team am 21 Mär. 2025 um 16:14
There are several methods to live-stream signals running in a Speedgoat real-time application, and monitor them depending on the interface that you use to interact with the real-time application.
For more details on the streaming workflow, refer to Signal Logging and Streaming Basics.
The graphic below shows the different real-time signal streaming options:

1. Simulation Data Inspector (SDI)

You can live-stream and store your signals in the Simulation Data Inspector (SDI), where you can visualize and export the data for post-processing.
To configure a signal for streaming to SDI, you can mark signals for logging inside your model. Alternatively, you can use instruments to change the signals set for streaming without the need to rebuild the real-time application. This allows you to add or remove signals from live streaming before starting the application, or even while the simulation is running.
The following MATLAB Answer has all the details:

2. Connected Model: Scope, Display and Dashboard Blocks

You can access live signal plots from the model canvas by adding Simulink Scope or Dashboard Scope blocks to your model. Start the simulation through a Connected Model (formerly "External Mode") by using the "Run on Target" button.

3. SLRT Explorer Axes Tab

Starting in R2023b, you can add axes as a custom instrumentation tab in SLRT Explorer. For more information, see Customize Instrumentation Display.

4. SLRT App created with MATLAB App Designer & SLRT App Generator

Design a custom SLRT app to stream data using instrument objects. This app can also be deployed as a standalone executable using MATLAB Compiler. See the following MATLAB Answer for an overview:
 

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by