RTBox - scopes working in multi-tasking but not in single-tasking

Hi,

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:

then, I can see the signal in my scope.

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?

Thanks in advance! :slight_smile:

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:

  1. 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.
  2. 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).

Hello Bryan,
Thank you for your answer! After rechecking all the scopes, I still don’t find any error. So, I’ll have to contact support@plexim.com.

Louis