Serial
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2628349686-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fwnv17cpjDin2deSlOz0z%252Fuploads%252Fgit-blob-b028aaa7bd813772378d397c708d6613bb1f8b47%252Fprojectsettings_serialnew.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=3fc9d506&sv=1)
The Serial Settings allow the user to manage the Serial Connections and cover the necessary data to provide functionality to the Serial Nodes.
Serial Communication in Incari is available as a plugin and is enabled as default. However, in the case that it is disabled in the Plugins Editor, it will not appear in the Project Settings. Please refer to the Plugins Editor to find out more information.
Name
is an identifying name of a Serial connection chosen at the user's discretion.
ChannelName (Linux)
is the serial or USB port that a Serial set-up is connected to on Linux. Naming conventions for serial ports in Linux look like: /dev/ttyUSB0, /dev/ttyS0, /dev/ttyS1, etc.
ChannelName (Windows)
is the serial or USB port that a Serial set-up is connected to on Windows. In Windows, serial ports are known as COM ports. Naming conventions for COM ports in Windows look like: COM1, COM2, COM3, etc.
Furthermore, the ChannelNames
can both be specified, in the case that the user's platform is different than the target platform. If there is no difference in platforms, only one ChannelName
needs to be filled in.
Baudrate
is the speed of the communication for a channel. More information about this metric can be found in the External Links section.
Message Limiting
determines how Serial messages are received and parsed. There are three options:
None
: Any incoming data is directly passed to the On Serial Packet Receive Node.ByteCount
: Incoming data is partitioned into messages of a given size which then are individually forwarded to the On Serial Packet Receive Node.Delimiters
: Incoming data is parsed until any of the given symbols are encountered. The message is then forwarded to the On Serial Packet Receive Node. This process repeats until the end of the received data is reached. If the received data exceeds 1024 bytes without a delimiter found, that data is passed whole to the On Serial Packet Receive Node. Please note that the end symbols will not be part of the forwarded message and empty messages will not be forwarded.
Byte Count Limit
specifies the message size in bytes for the ByteCount
mode from Message Limiting
. Currently, only positive values can be handled.
End Delimiters
: These specifies the message end symbols for the Delimiters
mode from Message Limiting
. Since some symbols are difficult to enter (e.g. newlines), this field parses the following symbols, too:
“\n” → linefeed
“\r” → carriage return
“\t” → tabulator
“\”” → “
“'“ → '
“\” → \
“\xx” → the byte representation of some hexadecimal number xx. For example, \00 would become a null byte and \03 would become <ETX>. All other symbols will be parsed as the symbol itself. The symbols are checked individually. This means that specified delimiters “\n\03” means that if either a linefeed or <ETX> is encountered it will end the message not that these two have to appear in that order.
See Also
External Links
More information on the Baud metric.
More information on control characters.
Last updated