Component: Bits to Data Queue (DSP Outputs): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 71: | Line 71: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''CollectNextDataBit''' | ||
|- | |- | ||
| colspan="2" | Gets the next value from the DSP buffer and attempt to add as a bit to the data queue. | | colspan="2" | Gets the next value from the DSP buffer and attempt to add as a bit to the data queue. | ||
| Line 85: | Line 85: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''CountQueueData''' | ||
|- | |- | ||
| colspan="2" | Returns the number of data bytes received and stored in the queue. | | colspan="2" | Returns the number of data bytes received and stored in the queue. | ||
| Line 99: | Line 99: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetByte''' | ||
|- | |- | ||
| colspan="2" | Returns a byte value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns a byte value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 113: | Line 113: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetByteArray''' | ||
|- | |- | ||
| colspan="2" | Returns an array of byte values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns an array of byte values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 137: | Line 137: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetFloat''' | ||
|- | |- | ||
| colspan="2" | Returns a float value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns a float value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 151: | Line 151: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetFloatArray''' | ||
|- | |- | ||
| colspan="2" | Returns an array of float values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns an array of float values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 175: | Line 175: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetInt''' | ||
|- | |- | ||
| colspan="2" | Returns an integer value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns an integer value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 189: | Line 189: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetIntArray''' | ||
|- | |- | ||
| colspan="2" | Returns an array of integer values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns an array of integer values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 213: | Line 213: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetLong''' | ||
|- | |- | ||
| colspan="2" | Returns a long value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns a long value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 227: | Line 227: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetLongArray''' | ||
|- | |- | ||
| colspan="2" | Returns an array of long values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | | colspan="2" | Returns an array of long values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
| Line 251: | Line 251: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetString''' | ||
|- | |- | ||
| colspan="2" | Collects a string from the receive buffer. | | colspan="2" | Collects a string from the receive buffer. | ||
| Line 270: | Line 270: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | DSP Connection Properties | ||
|- | |- | ||
|- | |- | ||
| Line 283: | Line 283: | ||
| colspan="2" | DSP component with output buffer to collect our data from. | | colspan="2" | DSP component with output buffer to collect our data from. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Data Queue Properties | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | DSP Outputs |
Bits to Data Queue component
Allows data to be input a bit at a time from the DSP system and passed into a buffer. Useful for things like communications where data is modulated and sent out a bit at a time.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_BitsToData.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_BitsToData.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
CollectNextDataBit
| CollectNextDataBit | |
| Gets the next value from the DSP buffer and attempt to add as a bit to the data queue. | |
| Return | |
CountQueueData
| CountQueueData | |
| Returns the number of data bytes received and stored in the queue. | |
| Return | |
GetByte
| GetByte | |
| Returns a byte value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Return | |
GetByteArray
| GetByteArray | |
| Returns an array of byte values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Data | |
| Count | |
| Return | |
GetFloat
| GetFloat | |
| Returns a float value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Return | |
GetFloatArray
| GetFloatArray | |
| Returns an array of float values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Data | |
| Count | |
| Return | |
GetInt
| GetInt | |
| Returns an integer value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Return | |
GetIntArray
| GetIntArray | |
| Returns an array of integer values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Data | |
| Count | |
| Return | |
GetLong
| GetLong | |
| Returns a long value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Return | |
GetLongArray
| GetLongArray | |
| Returns an array of long values from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
| Data | |
| Count | |
| Return | |
GetString
| GetString | |
| Collects a string from the receive buffer. | |
| MaxLength | |
| Maximum number of characters to try and receive | |
| Return | |