Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 16 tasks
splatch opened this issue Mar 27, 2024 · 1 comment
Open
2 of 16 tasks
Assignees
Labels
CANopen https://plc4x.apache.org/users/protocols/canopen.html feature java Pull requests that update Java code

Comments

@splatch
Copy link
Contributor

splatch commented Mar 27, 2024

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

  • plc4j
  • plc4go
  • plc4c
  • plc4net

Protocols

  • AB-Ethernet
  • ADS /AMS
  • BACnet/IP
  • CANopen
  • DeltaV
  • DF1
  • EtherNet/IP
  • Firmata
  • KNXnet/IP
  • Modbus
  • OPC-UA
  • S7
@chrisdutz
Copy link
Contributor

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.

@splatch splatch added java Pull requests that update Java code CANopen https://plc4x.apache.org/users/protocols/canopen.html and removed driver-canopen labels Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CANopen https://plc4x.apache.org/users/protocols/canopen.html feature java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

3 participants