Jump to content

Component: Injector (COM) (Test Injectors)

From Flowcode Help
Revision as of 19:47, 16 November 2021 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.2 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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...

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable 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 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
 
Connections
Simulations