Timeout

The 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);
}

Last edited Feb 28, 2011 at 2:14 PM by schubertj, version 2

Comments

No comments yet.