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

Communicate to a Silkit CAN participant #6

Open
qureshiappliedev opened this issue Dec 18, 2024 · 1 comment
Open

Communicate to a Silkit CAN participant #6

qureshiappliedev opened this issue Dec 18, 2024 · 1 comment

Comments

@qureshiappliedev
Copy link

Hi Community,

I am new to Silkit environment and i want your suggestions on a use case. If i use fmu importer, i came to know that the variables (inputs/outputs) of a fmu gets exposed as publishers subscribers to the silkit. Is it possible that i create a can participant using the silkit sdk which subscribes to the publisher of fmu importer and publishes to the subscriber of the fmu importer and then parse this data in a payload of can frame to transmit and receive as a can controller. I am not too sure if this is possible or if i am on the right path. If yes please can you guide how to do it or direct me to the right direction.

Thanks

@VSvenMorgenthaler
Copy link
Contributor

Hi @qureshiappliedev,

if I understand your use case correctly, the easiest way to accomplish what you described should be to make CANoe a participant of your FMUs Publish/Subscribe SIL Kit network. CANoe can represent the Publish/Subscribe data elements as Distributed Objects. If you also add CANoe as a participant to your SIL Kit CAN network you should be able to introduce a small CAPL node in CANoe which is extracting the CAN payload and forwarding it to the Distributed Object data element and vice versa.

I hope that general concept matches your use case.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants