transmitting data from CAN 4 to CAN 1 only when RTR is received
Posted: Fri 6. Oct 2023, 15:26
Hey,
I have a constant stream of data to CAN 4 and I want to pass one message to CAN 1, only when a RTR is sent to CAN 1. Is it possible to save the latest CAN message from CAN 4 in a buffer and when the RTR is sent on CAN 1, this buffer is emptied? Currently I am using the PPCAN editor 2 software.
I tried it like below, where the message from CAN 4 is transferred to CAN 1, but I need to send a second RTR to stop the router from passing the data, and I want to only sent this RTR once.
When I change the direction from receive to transmit, I can see by the LED's that data is being transferred only when a RTR is sent, but the transmitted data are always 0's.
I am still new with this software, so thank you in advance.
I have a constant stream of data to CAN 4 and I want to pass one message to CAN 1, only when a RTR is sent to CAN 1. Is it possible to save the latest CAN message from CAN 4 in a buffer and when the RTR is sent on CAN 1, this buffer is emptied? Currently I am using the PPCAN editor 2 software.
I tried it like below, where the message from CAN 4 is transferred to CAN 1, but I need to send a second RTR to stop the router from passing the data, and I want to only sent this RTR once.
When I change the direction from receive to transmit, I can see by the LED's that data is being transferred only when a RTR is sent, but the transmitted data are always 0's.
I am still new with this software, so thank you in advance.