This project is read-only.

The MaxNumberOfRetries is the count for retries if communication problems occours. If an communication error occours (first ResponseCode byte is higher 0x80) the last request is repeated. Set MaxNumberOfRetries to zero for no retires.
The default value for retires is two.

Use the property MaxNumberOfRetries to change the maximum number of retires.

  public void UseProperty()
    HartCommunicationLite communication = new HartCommunicationLite("COM1");
    communication.MaxNumberOfRetries = 4;
Or use the constructor to change the value.

  public void UseConstructor()
    int maxRetries = 4;
    HartCommunicationLite communication = new HartCommunicationLite("COM1", maxRetries);

Last edited Feb 25, 2011 at 1:35 PM by schubertj, version 5


No comments yet.