I cant remember...what's the current hard limit on fastest timer speed? 10hz? any way you could get this bumped up to 20-30Hz so i can better control a wastegate actuator solenoid?
Printable View
I cant remember...what's the current hard limit on fastest timer speed? 10hz? any way you could get this bumped up to 20-30Hz so i can better control a wastegate actuator solenoid?
Just downloaded latest RR and RRExtended, all is good!!!
Thanks Blue;
Guys!
i ifnally got the chance to test my skin again.. only down to one problem now! yay lol
ok so, firstly, Thanks so much to blue for fixing it. it works now, i can go from each button and it doesnt muddle up... i set it up to release all valves, and delete all timers before firing off a new button of commands.. altho it does fumble 1/10 times.. so u will see at the start of the code it runs 'DEL_ALL' then starts a timer to run 'FULL1' in which it will run 'DEL_ALL' again, sometimes for some unknown reason that first 'DEL_ALL' doesnt always fire.. i dont know why! driving me insane, but since adding that safe there, it seems to always catch it on the second run thru if it misses the first one.
Now ive attached a video again to help explain what my problem is, i can go from button to button and it all seems to be working good, i have set all my BYRANGE to 150, so its always testing that fixed number... i do need pointing in the right direction to making them read my fusion brain air sender numbers.. but anyways..
so the FULL button should read that 150 is the set number and fire off all the fusion items to raise.. instead it only fires 2??? the 2 other buttons work fine but just not FULL...
ive copied and pasted the button code below that lives in 'execTBL' file... the other 2 buttons are basically very similiar.
http://www.youtube.com/watch?v=YkCxf_o3u1k
/, FULL BUTTON __________________________________________________ _________________________
"FULL","DEL_ALL3||GblTmr_Add;START2;1;FULL1;onesho t"
"FULL1","DEL_ALL3||GblTmr_Del;START2||SETTIMER S3"
"DEL_ALL3","||GblTmr_Del;TIMER01b||GblTmr_Del;TIME R02b||GblTmr_Del;TIMER03b||GblTmr_Del;TIMER04b||Gb lTmr_Del;TIMER05b||GblTmr_Del;TIMER06b||GblTmr_Del ;TIMER07b||GblTmr_Del;TIMER08b||GblTmr_Del;TIMER09 b||GblTmr_Del;TIMER10b||GblTmr_Del;TIMER11b||GblTm r_Del;TIMER12b||RRFUSION_DIGITALOUTPUTRELEASE;$MYF BINSTANCE$;5||RRFUSION_DIGITALOUTPUTRELEASE;$MYFBI NSTANCE$;1||RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINS TANCE$;6||RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTA NCE$;2||RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;7||RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANCE$ ;3||RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANCE$;8 ||RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANCE$;4"
"SETTIMERS3","TIMER09||TIMER010||TIMER11||TIMER012 "
"TIMER09","GblTmr_Add;TIMER09b;.30;CHECK09"
"TIMER10","GblTmr_Add;TIMER10b;.30;CHECK10"
"TIMER11","GblTmr_Add;TIMER11b;.30;CHECK11"
"TIMER12","GblTmr_Add;TIMER12b;.30;CHECK12"
"CHECK09","BYRANGE;150;0;190;RRFUSION_DIGITALOUTPU THOLD;$MYFB INSTANCE$;5<<SHUTOFF09<<"
"CHECK10","BYRANGE;150;0;190;RRFUSION_DIGITALOUTPU THOLD;$MYFB INSTANCE$;6<<SHUTOFF10<<"
"CHECK11","BYRANGE;150;0;190;RRFUSION_DIGITALOUTPU THOLD;$MYFB INSTANCE$;7<<SHUTOFF11<<"
"CHECK12","BYRANGE;150;0;190;RRFUSION_DIGITALOUTPU THOLD;$MYFB INSTANCE$;8<<SHUTOFF12<<"
"SHUTOFF09","GblTmr_Del;TIMER09b||RRFUSION_DIGITAL OUTPUTRELEASE ;$MYFBINSTANCE$;5"
"SHUTOFF10","GblTmr_Del;TIMER10b||RRFUSION_DIGITAL OUTPUTRELEASE ;$MYFBINSTANCE$;6"
"SHUTOFF11","GblTmr_Del;TIMER11b||RRFUSION_DIGITAL OUTPUTRELEASE ;$MYFBINSTANCE$;7"
"SHUTOFF12","GblTmr_Del;TIMER12b||RRFUSION_DIGITAL OUTPUTRELEASE ;$MYFBINSTANCE$;8"
yeah i dont know exactly what to tell you now.....
i dont see anything in the code that's wrong.......................try this instead, redo that video (without the video), make it screw up, immediately close RR, find the error in the debug log and post it...that might give me and others better insight.
"SETTIMERS3","TIMER09||TIMER010||TIMER11||TIMER012 "
Right in front of our eyes nitehawk!!! damn it!
got it now! now just need to integrate it so it now reads my air bag senders
Hi Blue Zx3,
I try to play with the timer .
I should like to test if the timer is running and if yes i launch a command or the command is launched when the time is finished !
For that , i test if the var $poi_id1$=no !!!
So i have tried that but without success:
That whould be a cool idea to have an option as ONmytimernameTIMER that exist if the timer is running !Code:"BigWindowPoiMSG1","GblTmr_Add;BigPoi1;500"
"IFVAR;GblTmr_Status;BigPoi1=Running;ONBigPoi1TIMER<<"
"ONBigPoi1TIMER","If;strcomp("$poi_id1$";"no");;BW_PoiMSG1"
"BW_PoiMSG1","GblTmr_Stop;BigPoi1||GPSExecBigPopup1"
Thanks for your help !
Than
I'm having a problem with one part of this plugin in particular. The IniKeyToVar portion.
I am using this to load song ratings from a custom .ini file and they do load, just not when I tell them to.
Here is what I have in my skin's exec.tbl
"ONSONGSTART","LOADARTISTINFO||LOADSONGRATING||LOA DSONGINDICATORS"
"LOADARTISTINFO","SETVARBYCODE;TAGARTIST;TAGARTIST ||SETVARBYCODE;TAGALBUM;TAGALBUM||SETVARBYCODE;TAG TRACKNUMBER;TAGTRACKNUMBER||SETVARBYCODE;TAGTITLE; TAGTITLE"
"LOADSONGRATING","IniKeyToVar;$musicpath$\Song Ratings.ini;Song Ratings;$TAGARTIST$ - $TAGALBUM$ - $TAGTRACKNUMBER$ - $TAGTITLE$;currentsongrating
"LOADSONGINDICATORS","BYVAR;currentsongrating;0STA R<<1STAR<<2STAR<<3STAR<<4STAR<<5STAR"
Where xSTAR will load the 1-5 star indicators or turn them off.
Problem is that the BYVAR command is run before the INIKEYTOVAR command.
Here is what the skin tool's live debug returns the issue being those with the * at the beginning:
ONSONGSTART
SETVARBYCODE;TAGARTIST;TAGARTIST
SETVARBYCODE;TAGALBUM;TAGALBUM
SETVARBYCODE;TAGTRACKNUMBER;TAGTRACKNUMBER
SETVARBYCODE;TAGTITLE;TAGTITLE
*BYVAR;currentrating;0STAR<<1STAR<<2STAR<<3STAR<<4 STAR<<5STAR
BYVARX;PREVRATING;(<<SETIND;!1STAR;OFF<<SETIND;!2S TAR;OFF||SETIND;!1STAR;OFF<<SETIND;!3STAR;OFF||SET IND;!2STAR;OFF||SETIND;!1STAR;OFF<<SETIND;!4STAR;O FF||SETIND;!3STAR;OFF||SETIND;!2STAR;OFF||SETIND;! 1STAR;OFF<<SETIND;!5STAR;OFF||SETIND;!4STAR;OFF||S ETIND;!3STAR;OFF||SETIND;!2STAR;OFF||SETIND;!1STAR ;OFF)||SAVENSETTOINI;PREVRATING;
SETVAR;PREVRATING;
SAVETOINI;PREVRATING;
*SETVAR;currentrating;5
If anyone could help me fix this I would greatly appreciatie it. I have no clue as to why it's running the INIKEYTOVAR last.
Thanks in advance!
I know why, Its because when that Inikeytovar cmd is run, after it gets the value from the ini file, it uses fires off RR's setvar cmd. And b/c the rest of the cmd string is already in RR cmd que, it simply adds the SETVAR the cmd que. At the time RR didn't have a way to directly/instantly set a var but now there is, so I just need to update it so that it use this newer method for this particular plugin cmd.
Thanks for the quick reply Blue. Can't wait for the updated version!
Ok, fixed, see first post....