Author Topic: Driver communications log (error log)  (Read 4235 times)

timryder

  • Jr. Member
  • **
  • Posts: 84
  • Still trying to figure it out
    • View Profile
Driver communications log (error log)
« on: February 27, 2020, 10:48:48 AM »
It would be amazing if there was an ability to set a Log file for the communications driver. I would have saved so much time if I could go back and look at the driver to see what error's occurred when testing something.  Could it be possible to enable a Log feature into the driver and have it store to a .txt file locally?
Still just trying to figure out this thing called Life.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Driver communications log (error log)
« Reply #1 on: February 27, 2020, 12:32:54 PM »
Some of the drivers, the serial drivers, do have an EnableLogging property. This would be a good idea to add to the other drivers since I often ask to do a WireShark capture.

timryder

  • Jr. Member
  • **
  • Posts: 84
  • Still trying to figure it out
    • View Profile
Re: Driver communications log (error log)
« Reply #2 on: February 27, 2020, 03:04:14 PM »
Agreed, as do I.  I haven't looked in depth at the driver code but I imagine it can't be that hard to do.  It would make for a VERY useful debug tool.  Thanks for the consideration.
Still just trying to figure out this thing called Life.