RegisterSearchFAQMemberlistUsergroupsLog in
Search found 18 matches
Author Message
PostForum: CAN mapping discussion   Posted: Wed May 23, 2018 7:32 pm   Subject: AEM Infinity Decoding Bit Word

Hi all,

I'm trying to decode Can byte 7 where every bit represents a digital state. Could you please help me with this. Believe its bit mode but I can't get a handle on it.[/img]
PostForum: Lua Scripting   Posted: Wed Apr 26, 2017 8:27 pm   Subject: Big endian txCAN

Made some more progress on splitting Longitude into individual bytes by using code above. This data is to be transmitted to my AEM Infinity ECU. I think my issue is I don't know how to create the conv ...
PostForum: Lua Scripting   Posted: Wed Apr 26, 2017 8:21 pm   Subject: Big endian txCAN

initCAN(0, 500000)
tickRate = 1000

function onTick()

function splitWord16(value)
return, 0xFF), bit.rshift(, 0xFF),Cool

function splitWord32(value)
retu ...
PostForum: Lua Scripting   Posted: Sun Jan 15, 2017 4:54 pm   Subject: Big endian txCAN

Hi MikeD,

thanks for the help. I gave the code a shot but using printl within Racecapture to verify if the code was splitting Latitude into 8 bit segments but no luck. I'm not sure if Lua allows fo ...
PostForum: Lua Scripting   Posted: Tue Jan 10, 2017 8:58 pm   Subject: Big endian txCAN

Hi all,

was wondering if anyone has an idea how to split a 32bit message into 8 bit sections for Can transmission.

Regards and thanks,

PostForum: Lua Scripting   Posted: Mon Dec 26, 2016 2:08 pm   Subject: Big endian txCAN

The script below is verified to send Racecapture Pro2 Canbus data to an AEM Infinity 506 to simulate an AEM Vehicle Dynamics Module. The only channels that are not transmitted are:

latitude (unsure ...
PostForum: Lua Scripting   Posted: Sun Dec 25, 2016 12:22 pm   Subject: Big endian txCAN

Excellent thank you Brent,

I'm trying to emulate AEM's vehicle dynamics module using the RCP. So far my code looks like this but I'm still unsure of how I would create a 32bit message using bitwise ...
PostForum: Lua Scripting   Posted: Sat Dec 24, 2016 4:29 pm   Subject: Big endian txCAN

Hi all,
How do you send CAN messages that are more than 8 bit long in Big endian format?

I am trying to send can message to my AEM Infinity ECU and can send 8 bit messages but I'm struggling with ...
PostForum: Lua Scripting   Posted: Mon Oct 10, 2016 6:34 pm   Subject: MBE Canbus Setup

Yes, effectively the ID is generated by the first address "814.0" and the offset being the second entry "1". The ecu output will then cycle through up to 8 different rows of inform ...
PostForum: Lua Scripting   Posted: Mon May 16, 2016 9:20 pm   Subject: MBE Canbus Setup

Thought this might work. Still no luck. No idea now

local msg = 0
local id, e, data = rxCAN(chan, 0)
if data[0] == 1 then
if id ~= nil the ...
PostForum: Lua Scripting   Posted: Mon May 16, 2016 8:45 pm   Subject: Mux Script

Tried the script below to try deal with the Multiplex problem but with no luck. Any help would be gratefully accepted!

--This example configured for MBE 992CAN mapping
--how frequently we poll for ...
PostForum: Lua Scripting   Posted: Mon May 16, 2016 10:27 am   Subject: MBE Canbus Setup

Had a chat with a friend in work who has said that MBE is using a multiplex. The first code after the address refers to the offset. Looks like I will have to set up an if statement to seperate the dat ...
PostForum: Lua Scripting   Posted: Sun May 15, 2016 8:38 pm   Subject: MBE Canbus Setup

Is the raw stream on Canbus from MBE different?

The address ID does not increment but the first bit becomes the offset.
How can I script to ensure Racecapture can read this properly

Address ID ...
PostForum: Lua Scripting   Posted: Sun May 15, 2016 8:21 pm   Subject: MBE Canbus Gains and Offsets

After a bit of searching through the Microsoft Access based database for AIM Mxl software I believe I've managed to isolate the gains and offsets required to convert the Canbus stream into something u ...
PostForum: Lua Scripting   Posted: Sun May 15, 2016 3:30 pm   Subject: Further issues with number of channels

Some progress being made but have run into an issue where the Canbus results flicker/jbberish when I configure MBE to output more than in CANID of data. My AIM dash noes not have this issue. Data comi ...
Page 1 of 2 Goto page 1, 2  Next
All times are GMT