Difference between revisions of "Component: Rx/Tx Flasher (Advanced Shapes)"

From Flowcode Help
Jump to navigationJump to search
(Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 2.0 |- | width="20%" style="color:gray...")
 
 
(11 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
Simple indicator panel intended as a sub-component of communications components. The two arrow shapes  can be set to flash by the host component to represent incoming and outgoing data packets. The panel can be labelled and use a custom icon for easy identification.  The icon area can be set to open a pre-defined console window when clicked. LEDs can also be flashed by sending the component a User Notify event.  Event 'Message ID' is ignored.  Data should be:  1, to flash to Rx LED or 2 to flash the Tx LED.
 
Simple indicator panel intended as a sub-component of communications components. The two arrow shapes  can be set to flash by the host component to represent incoming and outgoing data packets. The panel can be labelled and use a custom icon for easy identification.  The icon area can be set to open a pre-defined console window when clicked. LEDs can also be flashed by sending the component a User Notify event.  Event 'Message ID' is ignored.  Data should be:  1, to flash to Rx LED or 2 to flash the Tx LED.
  
==Component Pack==
+
==Component Source Code==
  
FREE
+
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]
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
''No detailed description exists yet for this component''
 
''No detailed description exists yet for this component''
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  
Line 29: Line 63:
  
  
==Downloadable macro reference==
 
  
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
==Macro reference==
 +
 +
===FlashRx===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 44: Line 89:
  
  
 +
===FlashTx===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 57: Line 103:
  
  
 +
===SetConsole===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 73: Line 120:
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  
Line 99: Line 144:
 
|-
 
|-
 
| 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="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colors
 +
|-
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
 
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
Line 119: Line 168:
 
|-
 
|-
 
| colspan="2" | LED colour when the receive LED (left) is unlit. 
 
| colspan="2" | LED colour when the receive LED (left) is unlit. 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
 
|-
 
 
|}
 
|}

Latest revision as of 13:09, 7 February 2023

Author Matrix Ltd
Version 2.0
Category Advanced Shapes


Rx/Tx Flasher component

Simple indicator panel intended as a sub-component of communications components. The two arrow shapes can be set to flash by the host component to represent incoming and outgoing data packets. The panel can be labelled and use a custom icon for easy identification. The icon area can be set to open a pre-defined console window when clicked. LEDs can also be flashed by sending the component a User Notify event. Event 'Message ID' is ignored. Data should be: 1, to flash to Rx LED or 2 to flash the Tx LED.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Comms_indicators.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Comms_indicators.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

FlashRx

Fc9-comp-macro.png FlashRx
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. 
Fc9-void-icon.png - VOID Return


FlashTx

Fc9-comp-macro.png FlashTx
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. 
Fc9-void-icon.png - VOID Return


SetConsole

Fc9-comp-macro.png SetConsole
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). 
Fc9-h32-icon.png - HANDLE Handle
Handle of the console to call up. 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-10-icon.png Label
Text for the label at the top of the component. 
Fc9-type-13-icon.png Icon
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. 
Fc9-type-14-icon.png Flash Time (ms)
How long each LED should remain lit following a trigger event. 
Fc9-conn-icon.png Colors
Fc9-type-1-icon.png Tx On
LED colour when the transmit LED (right) is lit. 
Fc9-type-1-icon.png Tx Off
LED colour when the transmit LED (right) is unlit 
Fc9-type-1-icon.png Rx On
LED colour when the receive LED (left) is lit. 
Fc9-type-1-icon.png Rx Off
LED colour when the receive LED (left) is unlit.