plc4x icon indicating copy to clipboard operation
plc4x copied to clipboard

[Feature Request]: Support for software/hardware timestamp information in CANopen driver

Open splatch opened this issue 1 year ago • 1 comments

What would you like to happen?

JavaCAN library (see pschichtel/JavaCAN#5) recently introduced support for access to hardware or software timestamp tracked by socketcan interfaces. We can integrate this information within our driver to better track timing of operations.

Programming Languages

  • [X] plc4j
  • [ ] plc4go
  • [ ] plc4c
  • [ ] plc4net

Protocols

  • [ ] AB-Ethernet
  • [ ] ADS /AMS
  • [ ] BACnet/IP
  • [X] CANopen
  • [ ] DeltaV
  • [ ] DF1
  • [ ] EtherNet/IP
  • [ ] Firmata
  • [ ] KNXnet/IP
  • [ ] Modbus
  • [ ] OPC-UA
  • [ ] S7

splatch avatar Mar 27 '24 11:03 splatch

Currently the PlcSubscriptionEvent should have a getTimestamp() method ... I think this should be what you're looking for.

However am I currently brainstorming a bit on how to refactor the SubscriptionAPI to use one callback per request and not per field, so this API is a bit in flux right now.

chrisdutz avatar Mar 27 '24 11:03 chrisdutz