Jump to content

Component: Injector (COM) (Test Injectors)

From Flowcode Help
Revision as of 16:48, 30 January 2023 by Wiki bot (talk | contribs)
Author Matrix Ltd
Version 1.2
Category Test Injectors


Injector (COM) component

Comms data injector to allow a COM port peripheral to be attached to a comms component. The component will forward any outgoing bytes to the COM port and forward any incoming bytes to the comms component. Useful for controlling hardware such as Bluetooth, RS232, USB to Serial, MODBUS...

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples



Macro reference

UARTBaud
 
- BYTE Channel
 
- BYTE Rate
 
- VOID Return


UARTCheckRX
 
- BYTE Channel
 
- BYTE Return


UARTInitialise
 
- BYTE Channel
 
- VOID Return


UARTReceive
 
- BYTE Channel
 
- BYTE Return


UARTSend
 
- BYTE Channel
 
- BYTE Data
 
- VOID Return



Property reference

Properties
COM Injector Settings
COM Port
Selects which port to communicate with, only lists ports which are currently available.  
Refresh COM Ports
When set to yes the COM port list is rescanned for newly connected or available ports. Note that refreshing the ports list may take a few seconds depending on the number of connected ports. 
Baud Rate
Baud rate passed to the COM port to control the rate of data in bits per second. 
Timeout Value
Value to specify what is returned when no incoming receive data is present. 
Receive Timeout
Maximum amount of time to wait in milliseconds before returning the timeout value 
Show Console