Customized CAN mirror (CAN1 -> CAN2)
Posted: Tue Dec 20, 2016 3:50 am
I have an RCP that's going to be hooked into a system with a Haltech ECU, Haltech WBO2 and AiM dashboard. Unfortunately, the dashboard is an older MXL unit which has a "locked" firmware with fixed expectations for Haltech CAN messages (among other shortcomings).
Since I am only using the dashboard for display, and some of the field names can be customized, I am contemplating feeding the dashboard from RCP CAN2 and having the RCP log everything coming into CAN1. For any signal that needs to be "modified" to be displayed on the dashboard (for example, rolling several statuses off the Haltech and other vehicle conditions into a general MIL/CEL)
Judging from the Lua Scripting Guide it appears that you can both read and transmit on either CAN channel independently. So, I would think that you could do something like the following without a problem:
Right?
Since I am only using the dashboard for display, and some of the field names can be customized, I am contemplating feeding the dashboard from RCP CAN2 and having the RCP log everything coming into CAN1. For any signal that needs to be "modified" to be displayed on the dashboard (for example, rolling several statuses off the Haltech and other vehicle conditions into a general MIL/CEL)
Judging from the Lua Scripting Guide it appears that you can both read and transmit on either CAN channel independently. So, I would think that you could do something like the following without a problem:
Code: Select all
function onTick()
readECUCanStuff()
writeECUCanStuff()
end