Send periodic CAN message using user input

  • Software
  • Send periodic CAN message using user input
Francisco Javier Lana Romero

Posted on 24.10.2018 11:33

Good morning,

 

I’ve been trying to configure DEWE X so that, when introducing a value or pushing a button that is related to a user input button, Dewe will send a CAN Tx message periodically. The idea is to be able to send 3 different states of the same message (for example pause, start and stop) when Dewe is recording, the button will be placed in the personalized window. How can this be done?

 

Thank you.

DEWESoft Support
Technical support
Posted on 26.10.2018 15:18

Dear Francisco,


we don't quite fully understand your request. But as we understand it, we did a simple test setup file, which start periodically transmitting CAN data on "user channel" value 1 and stop transmitting on "user value" 0.


Regards

Francisco Javier Lana Romero

Posted on 29.10.2018 09:04

Good morning,

 

Thank you for the solution, I've been testing it and, the main problem I face now is that the message is sent at 1Hz but I'd like it to be sent at 500Hz, how can I change it?

 

Thank you.


DEWESoft Support
Technical support
Posted on 29.10.2018 09:23

Dear Francisco,


you can change the square conditions, in "TransmitPulse" formula, this will change the periodic rate.


Regards,


Login to reply to this topic. If you don't have account yet, you can signup for free account .