|
|
| (12 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_Comms_indicators.fcfx FC_Comp_Source_Comms_indicators.fcfx] | | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Comms_indicators.fcfx FC_Comp_Source_Comms_indicators.fcfx] |
|
| |
|
| Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Comms_indicators.fcfx FC_Comp_Source_Comms_indicators.fcfx] | | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Comms_indicators.fcfx FC_Comp_Source_Comms_indicators.fcfx] |
| Line 33: |
Line 33: |
|
| |
|
|
| |
|
| ''No detailed description exists yet for this component''
| |
|
| |
|
| ==Examples==
| |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
| | |
| | ''No detailed description exists yet for this component'' |
| | |
| | ==Examples== |
|
| |
|
|
| |
|
| Line 48: |
Line 50: |
|
| |
|
|
| |
|
| ''<span style="color:red;">No additional examples</span>''
| |
|
| |
|
|
| |
|
| ==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;" | '''FlashRx'''
| |
| |-
| |
| | colspan="2" | Lights the Rx LED - the arrow on the left of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has received a packet of data.
| |
| |-
| |
| |-
| |
| | 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;" | '''FlashTx'''
| |
| |-
| |
| | colspan="2" | Lights the Tx LED - the arrow on the right of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has sent a packet of data.
| |
| |-
| |
| |-
| |
| | 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;" | '''SetConsole'''
| |
| |-
| |
| | colspan="2" | Register the handle of a console window. This console will be opened when the icon on the component is clicked (the area between the two arrows).
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| |
| | width="90%" | Handle
| |
| |-
| |
| | colspan="2" | Handle of the console to call up.
| |
| |-
| |
| | 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="color:red;">No additional examples</span>'' |
|
| |
|
| ==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-10-icon.png]]
| |
| | width="90%" | Label
| |
| |-
| |
| | colspan="2" | Text for the label at the top of the component.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-13-icon.png]]
| |
| | width="90%" | Icon
| |
| |-
| |
| | colspan="2" | Path to a bitmap image to be displayed in the icon area between the two arrows. The image will be resized to fit the area - it should ideally be a square image, and must be less than 128 pixels along each side. To ensure that the icon displays reliably, it should be stored as one of the host component's resources.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| |
| | width="90%" | Flash Time (ms)
| |
| |-
| |
| | colspan="2" | How long each LED should remain lit following a trigger event.
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colors
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Tx On
| |
| |-
| |
| | colspan="2" | LED colour when the transmit LED (right) is lit.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Tx Off
| |
| |-
| |
| | colspan="2" | LED colour when the transmit LED (right) is unlit
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Rx On
| |
| |-
| |
| | colspan="2" | LED colour when the receive LED (left) is lit.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Rx Off
| |
| |-
| |
| | colspan="2" | LED colour when the receive LED (left) is unlit.
| |
| |}==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;" | '''FlashRx'''
| |
| |-
| |
| | colspan="2" | Lights the Rx LED - the arrow on the left of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has received a packet of data.
| |
| |-
| |
| |-
| |
| | 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;" | '''FlashTx'''
| |
| |-
| |
| | colspan="2" | Lights the Tx LED - the arrow on the right of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has sent a packet of data.
| |
| |-
| |
| |-
| |
| | 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;" | '''SetConsole'''
| |
| |-
| |
| | colspan="2" | Register the handle of a console window. This console will be opened when the icon on the component is clicked (the area between the two arrows).
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| |
| | width="90%" | Handle
| |
| |-
| |
| | colspan="2" | Handle of the console to call up.
| |
| |-
| |
| | 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;"
| | ==Macro reference== |
| |-
| |
| | 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-10-icon.png]]
| |
| | width="90%" | Label
| |
| |-
| |
| | colspan="2" | Text for the label at the top of the component.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-13-icon.png]]
| |
| | width="90%" | Icon
| |
| |-
| |
| | colspan="2" | Path to a bitmap image to be displayed in the icon area between the two arrows. The image will be resized to fit the area - it should ideally be a square image, and must be less than 128 pixels along each side. To ensure that the icon displays reliably, it should be stored as one of the host component's resources.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| |
| | width="90%" | Flash Time (ms)
| |
| |-
| |
| | colspan="2" | How long each LED should remain lit following a trigger event.
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colors
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Tx On
| |
| |-
| |
| | colspan="2" | LED colour when the transmit LED (right) is lit.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Tx Off
| |
| |-
| |
| | colspan="2" | LED colour when the transmit LED (right) is unlit
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Rx On
| |
| |-
| |
| | colspan="2" | LED colour when the receive LED (left) is lit.
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
| | width="90%" | Rx Off
| |
| |-
| |
| | colspan="2" | LED colour when the receive LED (left) is unlit.
| |
| |}==Macro reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===FlashRx=== |
| | {| 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;" | '''FlashRx''' | | | width="90%" class="mtx-class-macrohead" | '''FlashRx''' |
| |- | | |- |
| | colspan="2" | Lights the Rx LED - the arrow on the left of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has received a packet of data. | | | colspan="2" | Lights the Rx LED - the arrow on the left of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has received a packet of data. |
| Line 254: |
Line 89: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===FlashTx=== |
| | {| 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;" | '''FlashTx''' | | | width="90%" class="mtx-class-macrohead" | '''FlashTx''' |
| |- | | |- |
| | colspan="2" | Lights the Tx LED - the arrow on the right of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has sent a packet of data. | | | colspan="2" | Lights the Tx LED - the arrow on the right of the component. It will turn off again automatically when the time set by the Flash Time property has expired. Intended to be called when a comm's component has sent a packet of data. |
| Line 267: |
Line 103: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===SetConsole=== |
| | {| 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;" | '''SetConsole''' | | | width="90%" class="mtx-class-macrohead" | '''SetConsole''' |
| |- | | |- |
| | colspan="2" | Register the handle of a console window. This console will be opened when the icon on the component is clicked (the area between the two arrows). | | | colspan="2" | Register the handle of a console window. This console will be opened when the icon on the component is clicked (the area between the two arrows). |
| Line 283: |
Line 120: |
| | 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''' |
| |- | | |- |
| |- | | |- |
| Line 310: |
Line 145: |
| | colspan="2" | How long each LED should remain lit following a trigger event. | | | colspan="2" | How long each LED should remain lit following a trigger event. |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colors | | | width="90%" class="mtx-class-propfolder" | Colors |
| |- | | |- |
| |- | | |- |