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

20 ビュー (過去 30 日間)
What are the different methods to live-stream and visualize signals from Speedgoat hardware running a real-time application, and how can each method be configured?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 12 月 12 日
編集済み: MathWorks Support Team 2024 年 12 月 12 日
There are several methods to live-stream and visualize signals from Speedgoat hardware running a real-time application, 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 them 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 rebuilding 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:
How can I stream signals from Speedgoat hardware to Simulation Data Inspector (SDI) using Simulink Real-Time R2020b and beyond?

2. 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. Axes tab in SLRT Explorer

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:
How can I use App Designer to control, tune and visualize my real-time application running on a Speedgoat computer?  
 

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeReal-Time Parameter Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by