Bench Test Decoder

For discussing and developing different RPM/Position decoders using our superior modular architecture! One thread per pattern, please.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

I just tweaked the BenchTest decoder to produce a J Series pattern. If you want the same functionality, change this:

Code: Select all

		// Output the sync pulse only once per "engine cycle"
		if(KeyUserDebugs.currentEvent == 0){
To this:

Code: Select all

		// Output the sync pulse only once per "engine cycle"
		if(KeyUserDebugs.currentEvent == 0 ||
				KeyUserDebugs.currentEvent == 4 ||
				KeyUserDebugs.currentEvent == 8 ||
				KeyUserDebugs.currentEvent == 12){
And get this:

Image




This works for 2245b23028d877fa2002f1886522168db24429aa or later. It was completely broken for a few commits before this, unsure how many.

The command to produce the above output is:

Code: Select all

./pempheridae2 -r -i 1 -m 0 -t 12 -j 400 -k 500
However only the -m 0 and -t 12 are important, the rest you can do what you like with.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

For those that haven't seen it, or can't get MTX to not crash, here's the BenchTest panel:

Image
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bench Test Decoder

Post by Fred »

Updated earlier post to reflect current payload ID and prevent further errors. The final reference should always be the source, Luke. My mistake, now made more difficult to make again.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply