I’m trying to upload my simulation on my RTBox 3. So far, the model is uploading and is running on the target. All my model fits within a subsystem with this configuration:
And I have one scope in my simulation which shows a signal of the model.
When I’m in single-tasking with 50e-6 sample time, my scope doesn’t show anything.
But once I chose multi-tasking in the coder parameters with the same sampling time inside a default task:
Unfortunately, I can’t find any related themes in the RTBox tutorials, and I would like to know if we always have to choose multi-tasking in order to see the signal on a scope?
I would like to know if we always have to choose multi-tasking in order to see the signal on a scope?
The scopes work in Single Tasking and Multi-tasking.
There are two possibilities:
User error. For example even as a frequent RT Box user, I often find myself not activating autotriggering or connecting to the wrong subsystem and opening scopes in a different subsystem/model.
Bug. If you simply cannot get it to work, then email support@plexim.com with a representative model, instructions on how to recreate the bug, and details of: PLECS version, operating system, and MATLAB release (if relevant).