I have a Simulink model that I would like to run on supported hardware (e.g. Speedgoat real-time computer). The goal is to log and/or stream signals using External Mode (that is, by pressing the "Monitor & Tune" or "Run on Target" button in my model), using File Log blocks, or instrument objects.
I am able to log scalar signals. But as soon as I try to log or stream virtual bus signals, no data is showing in Simulink Data Inspector (SDI), Display blocks, Scope blocks or Dashboard blocks. I see the following warnings:
Warning: Streaming to SDI is not available for bus signal named 'mySignal' at output port 1 of block 'foo/Bus Creator'.
Warning: Streaming to SDI is not available for signal at output port X of block 'foo/Bus Selector'.
Warning: Cannot instrument 'foo/Demux:1': Unable to stream signal 'foo/Demux:1'.
Possible reasons include:
(1) Signal is not available in application.
(2) Signal does not use globally accessible memory in application.
(3) Signal connects to a MessageSend block.
(4) Signal has inherited sample time.
(5) Signal is discontiguous.