|
|
| (11 intermediate revisions by 2 users not shown) |
| Line 17: |
Line 17: |
| ==Component Source Code== | | ==Component Source Code== |
|
| |
|
| Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_DSP_InputPin.fcfx FC_Comp_Source_DSP_InputPin.fcfx] | | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DSP_InputPin.fcfx FC_Comp_Source_DSP_InputPin.fcfx] |
|
| |
|
| Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_InputPin.fcfx FC_Comp_Source_DSP_InputPin.fcfx] | | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_InputPin.fcfx FC_Comp_Source_DSP_InputPin.fcfx] |
|
| |
|
| ==Detailed description== | | ==Detailed description== |
| | |
| | |
| | |
| | |
|
| |
|
|
| |
|
| Line 44: |
Line 48: |
|
| |
|
| ==Examples== | | ==Examples== |
| | |
| | |
| | |
| | |
|
| |
|
|
| |
|
| Line 67: |
Line 75: |
|
| |
|
|
| |
|
| ==Macro reference==
| |
|
| |
|
| {| 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;" | '''SamplePin'''
| |
| |-
| |
| | colspan="2" | Reads the value on the selected pin and based on the state outputs a value to the DSP buffer.
| |
| |-
| |
| |-
| |
| | 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''
| |
| |}
| |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
| ==Property reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
| |-
| |
| |-
| |
| | 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.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
| | width="90%" | Buffer Type
| |
| |-
| |
| | colspan="2" | Sets the buffer data type, data is automatically scaled to fit and make full use of the data type.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| |
| | width="90%" | Pin Connection
| |
| |-
| |
| | colspan="2" | Pin which is sampled to provide the DSP input to the buffer.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
| |
| | width="90%" | High Value
| |
| |-
| |
| | colspan="2" | Value to write to the buffer when the pin is in the high state.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
| |
| | width="90%" | Low Value
| |
| |-
| |
| | colspan="2" | Value to write to the buffer when the pin is in the low state.
| |
| |}==Macro reference==
| |
|
| |
|
| {| 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;" | '''SamplePin'''
| |
| |-
| |
| | colspan="2" | Reads the value on the selected pin and based on the state outputs a value to the DSP buffer.
| |
| |-
| |
| |-
| |
| | 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''
| |
| |}
| |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
| ==Property reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
| |-
| |
| |-
| |
| | 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.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
| | width="90%" | Buffer Type
| |
| |-
| |
| | colspan="2" | Sets the buffer data type, data is automatically scaled to fit and make full use of the data type.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| |
| | width="90%" | Pin Connection
| |
| |-
| |
| | colspan="2" | Pin which is sampled to provide the DSP input to the buffer.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
| |
| | width="90%" | High Value
| |
| |-
| |
| | colspan="2" | Value to write to the buffer when the pin is in the high state.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
| |
| | width="90%" | Low Value
| |
| |-
| |
| | colspan="2" | Value to write to the buffer when the pin is in the low state.
| |
| |}==Macro reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | |
| | ==Macro reference== |
| | |
| | ===SamplePin=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SamplePin''' | | | width="90%" class="mtx-class-macrohead" | '''SamplePin''' |
| |- | | |- |
| | colspan="2" | Reads the value on the selected pin and based on the state outputs a value to the DSP buffer. | | | colspan="2" | Reads the value on the selected pin and based on the state outputs a value to the DSP buffer. |
| Line 178: |
Line 103: |
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| |} | | |} |
|
| |
|
| |
|
| |
|
|
| |
|
| ==Property reference== | | ==Property reference== |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | | width="90%" class="mtx-class-macrohead" | '''Properties''' |
| |- | | |- |
| |- | | |- |
| Author
|
Matrix Ltd
|
| Version
|
1.2
|
| Category
|
DSP Inputs
|
Allows the values from a buffer to be assigned from a digital input pin. The input values for high and low state can be assigned using properties.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_InputPin.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_InputPin.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
SamplePin
|
SamplePin
|
| Reads the value on the selected pin and based on the state outputs a value to the DSP buffer.
|
- VOID
|
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.
|
|
Pin Connection
|
| Pin which is sampled to provide the DSP input to the buffer.
|
|
High Value
|
| Value to write to the buffer when the pin is in the high state.
|
|
Low Value
|
| Value to write to the buffer when the pin is in the low state.
|