ReadSerial
This block reads data from the serial port
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
port | Communication port | Defines the communication port used for serial communication. | String | |
baudrate | Baud rate | Defines the speed of the communication. It should match the one on the device. | Scalar | 300 |
packetSize | Packet size | Defines the packet size. If set to -1, it is computed automatically. | Scalar | |
bytesize | Byte size | Defines the number of data bits in each character. | Scalar | 5 |
stopbit | Stop bits | Defines the number of stop bits sent at the end of every character. This allows the receiving signal hardware to resynchronise with the stream. | Scalar | 1 |
parity | Parity | Defines the parity method used for the communication. | String | 'None' |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | output | 1 | |
Port 2 | activation | input | 1 |