Difference between revisions of "Component: Multiplex (DSP)"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{| style="width:50%"
 
 
{| width="50%"
 
 
|-
 
|-
| width="20%" style="color: gray;" | Author
+
| width="20%" style="color:gray;" | Author
 
| Matrix Ltd
 
| Matrix Ltd
 
|-
 
|-
| width="20%" style="color: gray;" | Version
+
| width="20%" style="color:gray;" | Version
| 1.2 (Release)
+
| 1.2
 
|-
 
|-
| width="20%" style="color: gray;" | Category
+
| width="20%" style="color:gray;" | Category
 
| DSP
 
| DSP
 
|}
 
|}
  
  
 
+
==Multiplex component==
==[[File:Component Icon a9e01aa0_f224_4902_a558_6a199fc039c5.png|Image]] Multiplex component==
 
 
Allows multiple input buffers to be multiplexed to a single output buffer.
 
Allows multiple input buffers to be multiplexed to a single output buffer.
  
==Examples==
+
==Component Pack==
''<span style="color:red;">No additional examples</span>''
 
  
 +
DSP
  
==Downloadable macro reference==
+
==Detailed description==
  
===<span style="font-weight: normal;"><u><tt>Multiplex</tt></u></span>===
 
Passes a single value from the selected input buffer into the output buffer.
 
  
'''Parameters'''
 
  
:''This macro has no parameters''
 
  
  
'''Return value'''
 
  
:''This call does not return a value''
 
  
  
===<span style="font-weight: normal;"><u><tt>SetMultiplexSource</tt></u></span>===
 
Specifies the source buffer to copy through to the output buffer.
 
  
'''Parameters'''
 
  
:[[Variable Types|BYTE]] ''Source''
 
  
:[[Variable Types|BOOL]] ''ResetInputIndex''
+
''No detailed description exists yet for this component''
::0=Leave Index, 1=Reset Index to 0
 
  
 +
==Examples==
  
'''Return value'''
 
  
:''This call does not return a value''
 
  
  
===<span style="font-weight: normal;"><u><tt>MultiplexArray</tt></u></span>===
 
Passes an entire buffer through the multiplexer.
 
  
'''Parameters'''
 
  
:''This macro has no parameters''
 
  
  
'''Return value'''
 
  
:''This call does not return a value''
 
  
  
  
==Simulation macro reference==
+
''<span style="color:red;">No additional examples</span>''
  
''This component does not contain any simulation macros''
 
  
 +
==Downloadable macro reference==
  
==Property reference==
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
<span style="font-weight: normal;"><u>Connect To 0</u></span>
+
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Multiplex'''
 +
|-
 +
| colspan="2" | Passes a single value from the selected input buffer into the output buffer.&nbsp;
 +
|-
 +
|-
 +
| 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''
 +
|}
  
This property is of type ''Panel object'' and can be referenced with the variable name ''ConnectTo''.
 
  
DSP component with output buffer to collect our data from.
+
{| 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;" | '''SetMultiplexSource'''
 +
|-
 +
| colspan="2" | Specifies the source buffer to copy through to the output buffer.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Source
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
 +
| width="90%" | ResetInputIndex
 +
|-
 +
| colspan="2" | 0=Leave Index, 1=Reset Index to 0&nbsp;
 +
|-
 +
| 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''
 +
|}
  
<span style="font-weight: normal;"><u>Connect To 1</u></span>
 
  
This property is of type ''Panel object'' and can be referenced with the variable name ''ConnectTo2''.
+
{| 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;" | '''MultiplexArray'''
 +
|-
 +
| colspan="2" | Passes an entire buffer through the multiplexer.&nbsp;
 +
|-
 +
|-
 +
| 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''
 +
|}
  
DSP component with output buffer to collect our data from.
 
  
<span style="font-weight: normal;"><u>Buffer Size</u></span>
 
  
This property is of type ''Unsigned integer'' and can be referenced with the variable name ''BuffSize''.
 
  
Number of individual elements the buffer can store, default 1.
+
==Property reference==
  
<span style="font-weight: normal;"><u>Buffer Type</u></span>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
+
|-
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''BuffType''.
+
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
Sets the buffer data type.
+
|-
 
+
|-
<span style="font-weight: normal;"><u>Number of Inputs</u></span>
+
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
 
+
| width="90%" | Connect To 0
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''NumInputs''.
+
|-
 
+
| colspan="2" | DSP component with output buffer to collect our data from.&nbsp;
The number of inputs the multiplexer can switch between.
+
|-
 +
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
 +
| width="90%" | Connect To 1
 +
|-
 +
| colspan="2" | DSP component with output buffer to collect our data from.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
 +
| width="90%" | Buffer Size
 +
|-
 +
| colspan="2" | Number of individual elements the buffer can store, default 1.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
 +
| width="90%" | Buffer Type
 +
|-
 +
| colspan="2" | Sets the buffer data type.&nbsp;
 +
|-
 +
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Multiplex
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
 +
| width="90%" | Number of Inputs
 +
|-
 +
| colspan="2" | The number of inputs the multiplexer can switch between.&nbsp;
 +
|}

Latest revision as of 17:19, 9 November 2022

Author Matrix Ltd
Version 1.2
Category DSP


Multiplex component

Allows multiple input buffers to be multiplexed to a single output buffer.

Component Pack

DSP

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png Multiplex
Passes a single value from the selected input buffer into the output buffer. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetMultiplexSource
Specifies the source buffer to copy through to the output buffer. 
Fc9-u8-icon.png - BYTE Source
 
Fc9-bool-icon.png - BOOL ResetInputIndex
0=Leave Index, 1=Reset Index to 0 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png MultiplexArray
Passes an entire buffer through the multiplexer. 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Connect To 0
DSP component with output buffer to collect our data from. 
Fc9-type-16-icon.png Connect To 1
DSP component with output buffer to collect our data from. 
Fc9-type-21-icon.png Buffer Size
Number of individual elements the buffer can store, default 1. 
Fc9-type-16-icon.png Buffer Type
Sets the buffer data type. 
Fc9-conn-icon.png Multiplex
Fc9-type-16-icon.png Number of Inputs
The number of inputs the multiplexer can switch between.