[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
rusefi.com • FSIO output methods
Page 1 of 1

FSIO output methods

Posted: Wed Aug 16, 2017 11:30 pm
by NBytevenom
I believe it would be helpful to add in methods as available outputs for FSIO.
I was looking at the two FSIO files, and am having trouble figuring out exactly where the "output" end is.
I was planning on adding in a separate class for handling the FSIO functions. Example, spark cut, fuel cut...

Also, how is the TS interface generated? I've seen the java tools, but am unsure how to use them.

I know this might sound a bit noob-ish, I'm just trying my best to orient myself here.

Re: FSIO output methods

Posted: Thu Aug 17, 2017 5:14 am
by AndreyB
Not exactly sure what exactly are you asking but this could be related to useFSIO16ForTimingAdjustment - I guess one of the approaches could be to expand this with useFSIO15ForFuelCut and useFSIO15ForSparkCut etc

Also just added a tiny comment into rusefi.ini header see https://github.com/rusefi/rusefi/commit/4f235e67bcf8fdc991519d94bdd0a36742693afe

Re: FSIO output methods

Posted: Sun Aug 20, 2017 10:02 pm
by NBytevenom
But then we'd end up with having to add a new FSIO for every function. I can't think of much else other than revlimit functions right now.

Do you mind giving a brief explanation on how you added the Fsio16? I'd like to try my luck at adding it myself.

Re: FSIO output methods

Posted: Mon Aug 21, 2017 1:35 am
by AndreyB
NBytevenom wrote:Do you mind giving a brief explanation on how you added the Fsio16? I'd like to try my luck at adding it myself.
Here are the commits which would hopefully explain it:

https://github.com/rusefi/rusefi/commit/a3ac4547bd12477bb9d1c8c6f0ea7f826d857d8b
https://github.com/rusefi/rusefi/commit/e78a11d16c460f858274bb2d2f1a02a5f4871f72
https://github.com/rusefi/rusefi/commit/7fd158f547b687db1478ac255f455b216097eb28

Re: FSIO output methods

Posted: Fri Aug 25, 2017 2:53 pm
by NBytevenom
Okay, I could be missing some things really, really stupid here. I can't run gen config because it won't see the paths to my rusefi_config.txt and rusef.input files.

Code: Select all

set config=C:\Users\Schni\Documents\GitHub\rusefi\firmware\integration\rusefi_config.txt
set input=C:\Users\Schni\Documents\GitHub\rusefi\firmware\tunerstudio\rusefi.input
set console=C:\Users\Schni\Documents\GitHub\rusefi\java_console
java -jar C:\Users\Schni\Documents\GitHub\rusefi\java_tools\ConfigDefinition.jar %config% %input% %console%
PAUSE
I keep on getting an error in console that the jar cannot find any files/paths.

Re: FSIO output methods

Posted: Fri Aug 25, 2017 3:07 pm
by AndreyB
Does the original gen_config.bat work for you?

Do not see the error message. Why do you need your own script?

Re: FSIO output methods

Posted: Fri Aug 25, 2017 3:18 pm
by NBytevenom
russian wrote:Does the original gen_config.bat work for you?

Do not see the error message. Why do you need your own script?
Nvm.......Now the original seemed to work. No idea why.