Hi,
I'm trying to recieve multiple CAN Messages and then retransmit them over the CAN Bus (to make sure the data is being correctly recieved.
I'm trying to do this with messages at similar intervals, i.e: I'm trying to read 2 CAN Messages, each one sent at 2ms intervals, if that makes sense?
Unfortunately, I'm running into some fundamental issues:
- With the attached model, the only message being transmitted is 0x400, regardless of the ID of the message being recieved; message 1D8 or 1D7
- When both messages are being transmitted from my PCAN-USB, message 0x400 then doesn't contain the contents of message 0x1D8 and instead appears to fairly sporadically transmit the contents of 0x1D7, only at really strange intervals.
I've tried with Rx FIFO enabled and RX FIFO disabled but I still can't get it to work.
I suspect I've got some fundamentally incorrect settings however I've no clue what they are.
Any help is greatly appreciated.
Thanks,
Crispin
Solved! Go to Solution.
Hi,
I Found what I believe to be the solution; if I move the CAN Tx blocks to their own timed subsystems (see attached .zip file), the CAN Tx messages appear to behave as they should, according to the PCAN-VIEW anyway.
Thanks,
Crispin