TimeoutThe
Timeout describe the waiting time between send and receive data for a command. If you send a command to a field device and the device don't answer, a timeout is signaled. If no more retires available, the
Send method returns null.
The default value for
Timeout is 4 seconds.
To change Timeout use the property setter.
[Test]
public void ChangePreambleLength()
{
HartCommunicationLite communication = new HartCommunicationLite("COM1");
communication.Timeout = TimeSpan.FromSeconds(2);
}