Guest User

Untitled

a guest
Jun 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. variables {
  2. message 0xA m1;
  3. // 0xA is the message ID from your *.dbc can database used in the simulation
  4. timer timer100;
  5. }
  6.  
  7. on start {
  8. timer100.set(100);
  9. }
  10.  
  11. on timer100 {
  12. // reset timer
  13. timer100.set(100);
  14. // do stuff to your message content
  15. // for instance m1.signalA = 0x01;
  16. // ...
  17. output(m1) // send m1 on CAN bus
  18. }
  19.  
  20. on message m2 {
  21. // ...
  22. }
Add Comment
Please, Sign In to add comment