Send CAN Messages
Use this script when you want a quick way to transmit a repeated CAN frame for debugging or bench testing.
What it does
The script prompts for the serial CAN adapter, a CAN ID, eight data bytes, and a delay, then keeps sending the frame until you stop it.
How to use it
- Run the script.
- Enter the COM port or adapter path.
- Enter the CAN ID in hex.
- Enter the eight payload bytes.
- Enter the repeat delay.
- Stop the loop with
Ctrl+Cwhen you are done.
Good fit for
- quick message injection during bring-up
- checking whether a receiver reacts to a specific frame
- timing checks for a simple repeated CAN signal
Notes
This is the lightweight option. If you want extra validation while entering values, use the stricter repeat sender instead.
