Difference between revisions of "Component: Output Digital (DSP)"
From Flowcode Help
Jump to navigationJump to search(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
==Output Digital component== | ==Output Digital component== | ||
Allows the values from a buffer to be read. Either a value at a time or as an array. | Allows the values from a buffer to be read. Either a value at a time or as an array. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | DSP | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 24: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 40: | Line 56: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIntArray''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIntArray''' | ||
|- | |- | ||
− | | colspan="2" | Returns an array of values from the specified buffer | + | | 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 63: | Line 79: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLongArray''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLongArray''' | ||
|- | |- | ||
− | | colspan="2" | Returns an array of values from the specified buffer | + | | 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 77: | Line 93: | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''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. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
+ | | width="90%" | Data | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | ||
+ | | width="90%" | Count | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFloat''' | ||
+ | |- | ||
+ | | colspan="2" | Returns a float value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 86: | Line 138: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLong''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLong''' | ||
|- | |- | ||
− | | colspan="2" | Returns a value from the specified buffer | + | | colspan="2" | Returns a long value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. |
|- | |- | ||
|- | |- | ||
Line 99: | Line 151: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetInt''' | ||
|- | |- | ||
− | | colspan="2" | Returns | + | | colspan="2" | Returns an integer value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. |
|- | |- | ||
|- | |- | ||
Line 112: | Line 164: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetByteArray''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetByteArray''' | ||
|- | |- | ||
− | | colspan="2" | Returns an array of values from the specified buffer | + | | 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 135: | Line 187: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetByte''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetByte''' | ||
|- | |- | ||
− | | colspan="2" | Returns a value from the specified buffer | + | | colspan="2" | Returns a byte value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. |
|- | |- | ||
|- | |- | ||
Line 153: | Line 205: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9-type- | + | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] |
| width="90%" | Connect To | | width="90%" | Connect To | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | DSP component with output buffer to collect our data from. |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | width="10%" align="center | + | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] |
− | | width="90% | + | | width="90%" | Auto Scale |
|- | |- | ||
+ | | colspan="2" | Automatically scale the buffer type to the output type Yes: Provide automatic scaling No: Transfer data as is, maybe truncated | ||
|} | |} |
Latest revision as of 17:19, 9 November 2022
Author | Matrix Ltd |
Version | 1.2 |
Category | DSP |
Contents
Output Digital component
Allows the values from a buffer to be read. Either a value at a time or as an array.
Component Pack
DSP
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
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 |
![]() |
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 |
![]() |
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 |
![]() |
GetFloat |
Returns a float value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
![]() |
Return |
![]() |
GetLong |
Returns a long value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
![]() |
Return |
![]() |
GetInt |
Returns an integer value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
![]() |
Return |
![]() |
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 |
![]() |
GetByte |
Returns a byte value from the specified buffer. Auto increments the read location if the buffer size is greater than 1. | |
![]() |
Return |