HartCommunicationLite

Create an instance of HartCommunicationLite with a COM port name.

  [Test]
  public void SimpleInstance()
  {
    HartCommunicationLite communication = new HartCommunicationLite("COM1");
  }

Or use the overloading constructor with a COM port name and the number of maximum retries (MaxNumberOfRetries).

  [Test]
  public void SimpleInstance()
  {
    int maxRetries = 4;
    HartCommunicationLite communication = new HartCommunicationLite("COM1", maxRetries);
  }


Last edited Feb 25, 2011 at 10:02 AM by schubertj, version 2

Comments

No comments yet.