Skip to main content

Task Net - Serial Send​

The Serial Send Task writes text to a device on a serial (COM) port of the VisualCron Server computer. It only sends: it does not read a reply from the device.

Serial Send Task settings, with the Connection group and the Send text group

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

In the Connection group:

  • Serial port: the COM port, "COM1" by default

    The list shows the COM ports of the VisualCron Server.

  • Baud rate: the speed in bits per second: "150", "300", "600", "1200", "2400", "4800", "9600", "19200", "38400", "57600" or "115200"

    The default is "9600".

  • Data bits: the Task always uses 8 data bits

    A value you choose here is not saved.

  • Handshake: the flow control: "None" (default), "XOnXOff", "RequestToSend" or "RequestToSendXOnXOff"

  • Parity: "None" (default), "Odd", "Even", "Mark" or "Space"

  • Stop bits: "One" (default), "Two" or "OnePointFive"

    "None" is also listed, but the serial port does not accept it, and the Task fails.

In the Send text group:

  • New line: what is added after the text: "None" (default), "Cr" (a carriage return) or "CrLf" (a carriage return and a line feed)

    Choose the one the device expects.

  • String to write: the text to send to the device. The field is required.