Overview
Sets the array elements in the Target module Filters with data from input wire
Discussion
The Array Set module reads the data coming in from the input wire and reaches into instance structure of the target module to copy the data to the target array. The Array data structure of the target module is pointed to by the argument " MOD.VAR". See the Param Set module for more details on how to specify the target module and array.
...
This can be confirmed by generating a .AWS file and looking at the order which the modules are added to the layout, which set the execution order.
Type Definition
Code Block |
---|
typedef struct _ModuleArrayset { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 setBehavior; // Controls the behavior of the module void * modPtr; // Points to the module to set void * varPtr; // Points to the variable to set within the module instance structure } ModuleArraysetClass; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
setBehavior | int | parameter | 0 | 2 | Unrestricted | |
modPtr | void * | parameter | 1 | Unrestricted | ||
varPtr | void * | parameter | 1 | Unrestricted |
Pins
Input Pins
Name: control
Description: Input control signal
...
Complex support: Real and Complex
MATLAB Usage
File Name: arrayset_module.m
...