Algorithm Designer offers the flexibility to create a custom SigmaStudio+ block with runtime control over the parameters. SigmaStudio+ Algorithm Designer has two use cases:
This page describes the steps required to use Algorithm Designer as Designer Control module as well as steps required to generate a custom SigmaStudio+ Plug-In using CrossCore Embedded Studio tools and Algorithm Designer.
Algorithm Designer Module is a generic module which can be inserted in the schematic. Once inserted in the schematic, this module can be used to directly implement custom block processing algorithms without the need of generating a Plug-In. Run-time control of parameters are also supported on the Algorithm Designer Module.
This module is listed under “Designer” category in the tool-box. This module is available only on the block processing schematic. When inserted in the schematic, the module will have no input-output pins. The Algorithm Designer window can be launched by double clicking on the Algorithm Designer module inserted in the schematic.
Algorithm Designer will be used to configure the algorithm source code and parameters of the Algorithm Designer Module. Steps involved are:
Refer to Designing Module for more details.
Once the above steps are completed, the input-output pins on the Algorithm Designer module can be connected to the schematic. Link-Compile-Download the schematic. The Algorithm Designer window can be either left open or closed before compiling the schematic. Ensure to save the Designer project before closing the Algorithm Designer window.
Tune Parameters
Module parameters can be modified by changing the runtime variables and runtime buffers. Since the module parameters are assigned with the runtime parameters, changing the runtime parameters changes the module parameters. Runtime variables can be modified using the numeric up-down control. Runtime buffers can be modified using the ‘Edit” button. After the table entries and edited, press ‘Update’ to send the updated parameters to the target.
Modify Source Code
Changes to the module source code can be made in the source editor within Algorithm Designer. Note that it is required to recompile the schematic once the source code has been modified.
Modify Memory Requirements
Note that it is required to recompile the schematic once the memory requirements have been modified in the Algorithm Designer.
Once the module is finalized, it can be built as a Plug-In and distributed. Click here for instructions to Generate Plug-In Assembly.
Algorithm Designer can be launched in 2 ways.
Algorithm Designer will be used to configure the source, pins, parameters, memory and UI of the new module.
Refer to Designing Module for more details.
Click here for instructions to Generate Plug-In Assembly
Click here for Algorithm Designer Coding Conventions