PreambleLength

The PreambleLength is the byte count of the specified character 0xFF. It is the first part of every HART command.

The default value is 10. The PreambleLength should be a value between 5 and 20.

To change the length use the property PreambleLength.
[Test]
public void ChangePreambleLength()
{
  HartCommunicationLite communication = new HartCommunicationLite("COM1");
  communication.PreambleLength = 7;
}

Last edited Feb 28, 2011 at 3:13 PM by schubertj, version 3

Comments

No comments yet.