AdvancedHMI Software

General Category => Support Questions => Topic started by: daakers on October 10, 2016, 01:50:33 PM

Title: Driver Error
Post by: daakers 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.
Title: Re: Driver Error
Post by: Archie 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.
Title: Re: Driver Error
Post by: daakers on October 10, 2016, 05:44:15 PM
Thank you, that is right on point. I am reading these with code.