No permission to access serial port or TCP port
You don't have permission to access the serial port or TCP port. Run the program as root. If the error is related to a serial port, change the access privilege. If it is related to TCPIP use TCP port number which is outside the IPPORT_RESERVED range.
BusProtocolErrors Class | FieldTalk Namespace