How can I live-stream and visualize signals from my Speedgoat target computer running a real-time application?
20 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2024 年 7 月 11 日
編集済み: MathWorks Support Team
2024 年 12 月 12 日
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
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:
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?
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.
Starting in R2023b, you can add axes as a custom instrumentation tab in SLRT Explorer. For more information, see Customize Instrumentation Display.
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!