# Send Data

Sends a byte array or a string, via TCP/IP or serial protocols. The Block has a single input pin, and its type is determined by the Data Type parameter (Byte or String). This block does not have any output pins.

When the block is executed, the data is sent via the selected device.

Setting | Description
--- | ---
Selected Device | Sets the device associated with the block, either a TCP/IP or Rs232 device.
Data Type | Sets the data type, byte array or string. By default, string is set.
Encoding | Sets the type of encoding to use. By default, Unicode (UTF-8) is set. This setting is ignored if the Data Type is set to byte.