DataBits must be greater than 0

The DataBits argument specified for the My.Computer.Ports.OpenSerialPort method must be greater than zero.

To correct this error

  • Change the value of the DataBits argument to a positive number.

See Also

Reference

My.Computer.Ports.OpenSerialPort Method