Closed konradhermsdorf closed 2 years ago
Hi,
I see your point, I believe the intention was that leaving out cb_set_outputs from the if-clause above would serve the purpose. But, some variables might act as an outputs without beeing an physical output, so it make sense. Ex an FSoE frame.
I’m out of office this week and would like to test it first. So, I’ll verify the use case running FSoE CTT and complete the PR if it works.
regards Andreas
Hi,
I see your point, I believe the intention was that leaving out cb_set_outputs from the if-clause above would serve the purpose. But, some variables might act as an outputs without beeing an physical output, so it make sense. Ex an FSoE frame.
I’m out of office this week and would like to test it first. So, I’ll verify the use case running FSoE CTT and complete the PR if it works.
regards Andreas
We saw the intent there as well. And for sure from an encapsulation point of view it makes sense to perform the actual switching of outputs inside the application code. The problems we faced on this approach are:
As always there are many possible solutions and every application has different needs. This one is just my approach to deal with the problem we found through testing. So I wanted to share it with you :)
Conformance Test was succesful on my testbench but FSoE is not part of our scope so no FSoE test-cases are executed on my bench FYI
it works fine, thanks
Just read SM data to reset SM Watchdog but do not update the output variables linked to the RxPDOs in SafeOp
Closes #122