Please ensure Javascript is enabled for purposes of website accessibility
Home Background Target
[featured_image]
Please login to download
Download is available until [expire_date]
  • Version
  • Download 69
  • File Size 157.18 KB
  • File Count 1
  • Create Date August 18, 2023
  • Last Updated August 18, 2023

Background Target

Normally if you would like to show 10 targets on the screen at once you would have to send 10 VCodes at a time each cycle. This is not much of a problem, but now imagine you would like to show 30 targets at a time, this can be a bit cumbersome. The "show target in background" block helps get around this. A background target is one that is always shown in its "current" state until you send a new command that overrides the current state. Background VCodes are the same as normal VCodes except for 2 small things:
The target type is (normal target type + 100). i.e. a circle is 101.
There is an ID with the VCode that can be 1-1500. This is how you interact and change your permanent target states.

This sample task makes use of the "set target in background" block. The example protocol defines 30 targets of which 10 are shown at a time. When a target is touched its color changes. This is meant purely as an example of how to properly use background targets that are defined in your target table.

P.S. For some reason this task can take a very long time to compile (5+ minutes on my machine that normally takes 1-2 minutes to compile a task)

The task was last tested for Dexterit-E 3.10 and MATLAB 2015a SP1, 18-Aug-23.

Contact Support

Statement to reach out for help. Message around expectation for how long it will take for a response and whether there will be an auto-response /Cc on the original message.

"*" indicates required fields

Max. file size: 256 MB.