Author Topic: Driver Error  (Read 793 times)

daakers

  • Newbie
  • *
  • Posts: 9
    • View Profile
Driver Error
« on: October 10, 2016, 01:50:33 PM »
Ever so often I get this error? I'm sure it's something I'm doing wrong.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5270
    • View Profile
    • AdvancedHMI
Re: Driver Error
« Reply #1 on: October 10, 2016, 04:44:29 PM »
This means a packet was returned from the device with no data attached. There could also be another cause....Modbus specification calls for a silent period to indicate the end of a packet. If something delays the packet in the middle, it could exceed this delay and cause the driver to count it as the end of the packet.

If you are using code to read values, it is important to wrap your code in a Try-Catch block to catch these type of exceptions.

daakers

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Driver Error
« Reply #2 on: October 10, 2016, 05:44:15 PM »
Thank you, that is right on point. I am reading these with code.