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

Remote CAN network monitor GUI (à la EasySetup) #225

Closed
PeterBowman opened this issue Aug 3, 2019 · 6 comments
Closed

Remote CAN network monitor GUI (à la EasySetup) #225

PeterBowman opened this issue Aug 3, 2019 · 6 comments
Labels

Comments

@PeterBowman
Copy link
Member

YARP provides an ICanBusErrors interface to access several CAN network-related parameters stored in a CanErrors structure. It is yet to determine their purpose since no documentation is available, but here they are:

  • txCanErrors
  • rxCanErrors
  • busoff
  • rxCanFifoOvr
  • txCanFifoOvr
  • txBufferOvr
  • rxBufferOvr

The ICanBusErrors interface would need to be implemented by CAN devices, currently CanBusHico and CanBusPeak. In this way, CanBusControlboard could check the network state periodically and watch for RX/TX overruns, network errors and, most interestingly, bus load (having the new PDO implementation in mind as detailed in #223).

Perhaps those parameters are not suitable for the goal of this issue. It is, however, a starting point I'd like to explore. All relevant parameters (per CAN bus) would be presented to users via GUI app (#224).

@PeterBowman
Copy link
Member Author

First attempt at 0867506, not tested.

@PeterBowman
Copy link
Member Author

Note to self: expose simultaneous CAN reads/writes?

@PeterBowman
Copy link
Member Author

We may feel somewhat constrained by the ICanBusErrors interface in that it allows to expose only a subset of available CAN status items (not so surprisingly). See #231 regarding more sophisticated tools; I'm marking this as blocked for said reason.

@PeterBowman
Copy link
Member Author

Actually blocked by #160, which targets streaming CAN data through YARP ports.

@PeterBowman PeterBowman changed the title Monitor CAN network CAN network monitor GUI (à la EasySetup) Jan 2, 2020
@PeterBowman PeterBowman changed the title CAN network monitor GUI (à la EasySetup) Remote CAN network monitor GUI (à la EasySetup) Jan 2, 2020
@PeterBowman
Copy link
Member Author

Since remote connection to active YARP ports streaming CAN data is desired, keep in mind the following issue raised at #160 (comment) regarding lost packets and YARP carriers.

@PeterBowman
Copy link
Member Author

I'm closing this as invalid. Bus-off state is now monitored as described in #242, CAN bus load is streamed via YARP port thanks to #160, and everything GUI-related will be discussed at #224.

@PeterBowman PeterBowman closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant