Search found 11 matches

by roostinds
Tue Sep 29, 2015 8:49 pm
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

Any Progress on this??
by roostinds
Fri Sep 18, 2015 4:52 pm
Forum: Lua Scripting
Topic: AEM Infinity CAN Message ID
Replies: 1
Views: 1812

AEM Infinity CAN Message ID

I pulled the CAN information and have attached the logs and for whatever reason i am only receiving the even Hexadecimal. ANything on the odd hexadecimal is not coming through even though i see it working on the AEM.. Why would this be?
by roostinds
Thu Sep 17, 2015 10:45 pm
Forum: Lua Scripting
Topic: scripts for staged, variable blinking ShiftX light
Replies: 14
Views: 8728

Sorry, i am such a noob at Lua scripting. currently this is my can bus information for the RPM

CAN_map = {
[32546816] = function(data)
map_chan(rpmId, data, 0, 2, 0.39063, 0)

How would i translate this?

RPM = [32546816] rpmId??

Sorry, still trying to wrap my head around Lua
by roostinds
Mon Sep 14, 2015 9:26 pm
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

SO i got it to work but not all channels are displaying. I have attached the script and the can bus data log. Also, how do i pull the RPM data for the shiftx script. I see everyone using getRPMtimer but i am assuming everyone is tapping the Tach wire where i am pulling it from CAN.. Thanks.
by roostinds
Sun Sep 13, 2015 9:19 pm
Forum: Lua Scripting
Topic: scripts for staged, variable blinking ShiftX light
Replies: 14
Views: 8728

How would I apply this if I am getting my RPM from can bus through my AEM Infinity. I would prefer to use the analog out as we race during the day so Higher light output is best.. Thanks.
by roostinds
Sat Sep 12, 2015 12:05 am
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

So I cleared everything and put the script in and now I get this message:

running lua script len(1455)...lua: startup script error: ([string "startup"]:13.0: malformed number near '00a0')
done
by roostinds
Fri Sep 11, 2015 4:41 am
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

So I tried the script and I am getting this error message: running lua script len(7161)...lua: startup script error: ([string "startup"]:196.0: unexpected symbol near '+') done Any idea what this means? Current script I am using: setTickRate(25) initCAN(0, 500000) CAN_chan = 0 CAN_map = { [3...
by roostinds
Thu Sep 10, 2015 4:49 am
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

I see you have this command as well

setChannel(cid, (value * mult) + add)

with the new virtual channels I am not seeing them in the dashboard function. Does setchannel how ever I labeled it apprear in the dashboard drop down menu?

Thank you btw. You have been extremely helpful!!
by roostinds
Wed Sep 09, 2015 10:10 pm
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

So if there data on other ID's not associated with this first one, can i add it to the end of this script CAN_map = { [32546816] = function(data) map_chan(rpmId, data, 0, 2, 0.39063, 0) map_chan(tpsId, data, 4, 2, 0.0015259, 0) map_chan(atsId, data, 6, 1, 1, 0) map_chan(ctsId, data, 7, 1, 1, 0) end ...
by roostinds
Wed Sep 09, 2015 10:02 pm
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

Got it thanks. This helps out so much. I will try this when i get home tonight.. I will definitely let you know if there is anything else i can't figure out..
by roostinds
Wed Sep 09, 2015 4:08 am
Forum: Lua Scripting
Topic: AEM infinity CAN BUS data
Replies: 23
Views: 13486

AEM infinity CAN BUS data

Hello all, please excuse my noobness but I am just not understanding how to translate the can bus data i am receiving and creating a virtual channel to display that information. I have converted the ID that AEM gives Message ID: 0x01F0A000 Sources: AEM V2 & EMS‐4 (30‐6XXX) Infinity EMS (...