Component: Input Digital (DSP Inputs)
Author | Matrix Ltd |
Version | 1.2 |
Category | DSP Inputs |
Contents
Input Digital component
Allows the values from a buffer to be assigned. Either a value at a time or from an array. The input signal would usually take the form of an ADC reading or raw data values.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_Input.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_Input.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Here is a basic example demonstrating how to pass a value into the DSP chain.
Delay
The input value in the example uses an ADC reading but this can be taken from anything such as a reading from a CSV file on a SD card or a value passed by a sensor on a I2C bus etc.
Macro reference
![]() |
AddByte |
Adds a single byte value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddLong |
Adds a single long value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddInt |
Adds a single integer value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddFloat |
Adds a single float value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Buffer Size |
Number of individual elements the buffer can store, default 1. | |
![]() |
Buffer Type |
Sets the buffer data type, data is automatically scaled to fit and make full use of the data type. |
==Macro reference==
![]() |
AddByte |
Adds a single byte value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddLong |
Adds a single long value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddInt |
Adds a single integer value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddFloat |
Adds a single float value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Buffer Size |
Number of individual elements the buffer can store, default 1. | |
![]() |
Buffer Type |
Sets the buffer data type, data is automatically scaled to fit and make full use of the data type. |
==Macro reference==
![]() |
AddByte |
Adds a single byte value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddLong |
Adds a single long value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddInt |
Adds a single integer value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddFloat |
Adds a single float value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Buffer Size |
Number of individual elements the buffer can store, default 1. | |
![]() |
Buffer Type |
Sets the buffer data type, data is automatically scaled to fit and make full use of the data type. |
==Macro reference==
![]() |
AddByte |
Adds a single byte value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddLong |
Adds a single long value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddInt |
Adds a single integer value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
![]() |
AddFloat |
Adds a single float value to the current location in the specified buffer. Auto increments current location if output buffer size is greater than 1. | |
![]() |
Data |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Buffer Size |
Number of individual elements the buffer can store, default 1. | |
![]() |
Buffer Type |
Sets the buffer data type, data is automatically scaled to fit and make full use of the data type. |