L67 Knock Check

General Tuning Questions And Discussions
Brados
Posts: 34
Joined: Tue Jan 25, 2011 2:59 pm
cars: VY Manual Ute

Re: L67 Knock Check

Post by Brados »

Is their anyway to bring up "knock detected" in the monitors page, like the way knock retard is displayed? Is it the "knock detected" under "Item list" that tells of true knock?
User avatar
The1
Posts: 4812
Joined: Mon Jan 04, 2010 10:23 am

Re: L67 Knock Check

Post by The1 »

you can't view Bitmasks in the monitor, i have asked for this to be put into tunerpro before as efilive had it and was usefull but never heard back.
User avatar
charlay86
Posts: 584
Joined: Thu Sep 17, 2009 2:00 pm
cars: VT S1 SS (L67)
Location: Perth, WA

Re: L67 Knock Check

Post by charlay86 »

you can.
add a new value corresponding to the byte containing the bitflag that you want. (byte 0x21?)
in the conversion use an equation like this: X & 0x01
this will perform a bitwise AND on the byte and will mask the first bit (which is knock detected in this case)
User avatar
The1
Posts: 4812
Joined: Mon Jan 04, 2010 10:23 am

Re: L67 Knock Check

Post by The1 »

you little cookie, totally evaded me :mrgreen:
Post Reply