FieldTalk™ Modbus Master .NET Library

MbusSerialMasterProtocol.openProtocol Method ()

Opens a serial Modbus protocol and the associated serial port with the port parameters configured via properties

[Visual Basic]
Overloads Public Function openProtocol() As Integer
[C#]
public int openProtocol();

Return Value

BusProtocolErrors.FTALK_SUCCESS on success or error code. See BusProtocolErrors for possible error codes.

Remarks

This function opens the serial port. After a port has been opened, data and control functions can be used.

See Also

MbusSerialMasterProtocol Class | FieldTalk Namespace | MbusSerialMasterProtocol.openProtocol Overload List