How can I live-stream and visualize signals from my Speedgoat target computer running a real-time application?
17 views (last 30 days)
Show older comments
MathWorks Support Team
on 11 Jul 2024
Edited: MathWorks Support Team
on 12 Dec 2024
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?
Accepted Answer
MathWorks Support Team
on 12 Dec 2024
Edited: MathWorks Support Team
on 12 Dec 2024
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!