Overview
Copies the data at the input pin and stores it in an internal buffer
Discussion
This module copies the data at the input pin to an internal buffer (value). The copy operation occurs at each block process and thus the data continuously updates. This module is used to store the value of a wire and make it available to the control code, or a host processor.
To temporarily pause the copying, place the module into the INACTIVE state.
Type Definition
Code Block |
---|
typedef struct _ModuleSinkInt { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32* value; // Captured values } ModuleSinkIntClass; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
value | int* | state | 0 | [32 x 1] | Unrestricted |
Pins
Input Pins
Name: in
Description: audio input
...
Complex support: Real and Complex
MATLAB Usage
File Name: sink_int_module.m
...