Page 39 of 48 FirstFirst ... 2930313233343536373839404142434445464748 LastLast
Results 381 to 390 of 477

Thread: RRFusion- My Fusion Brain plugin for RR

  1. #381
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,121
    Blog Entries
    51
    Quote Originally Posted by sxtnitehawk View Post
    ok.

    do i have to use your settings screen(s) to change the settings? because my skin already takes care of naming inputs and outputs as well as selecting which port is routed to what name...
    If your skin takes care of it dont use my settings at all, come up with your own set of labels and supply their values through skin.ini or however else its done. There's nothing binding you to using the settings file, but it does have to exist at least for RRFusion to run.

    Quote Originally Posted by sxtnitehawk View Post
    also...while your plugin may have monitors that can read any port on any brain... i have calculations that require the same access...

    for the moment, all of my inputs are on 1 brain, but that's only because i dont have multiple brains in the car yet....

    can you please make it so i can read all inputs at the same time by adding an instance selector to the label code?

    The next time i work on RRFusion, probably at the point that i start working with the v6 brain, i'll add it in.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  2. #382
    Constant Bitrate
    Join Date
    Jul 2005
    Posts
    221
    Gday Sonic.

    Is just like to take this opportunity to thank you for all the time uve put into this plugin! this has made my life so much easier and couldn't have achieved what i have thus far without your help! so thanks!

    As far as my question i basically just created a quick video to explain what i want todo, i cant really find any information or explanations on how to acheive if then else statements or similiar to trigger relays and halt relays... if you could maybe link me to info? or maybe you can enlighten me here on the basics and i can try and nut this one out..

    Thanks for your help..

    The video:


  3. #383
    Variable Bitrate
    Join Date
    Sep 2007
    Location
    Export, PA
    Posts
    265
    to do IF...THEN...ELSE statements in RR, use the RRExtended plugin and use teh BYVAR, BYRANGE, and BYIND commands. I use these quite often in my skin to do some pretty trick stuff

    From what i can see you're doing, you're going to have 4 sensors tell you the air pressure inside each bag, correct? The way I would do this, is have the FULL button turn on your outputs for the pumps/solenoids/whatever, then create a timer (also in RRExtended) that will shut off the outputs when the inputs read a certain level. its a pretty simple setup and I use very similar commands for my own stuff...

    Any idea if you can/will add the instance modifier to the label code? I really need to be able to access all of the inputs at the same time without using the monitors you give us because my stuff works on its own calculations and timers and such...
    Last edited by sxtnitehawk; 04-17-2011 at 12:52 PM.
    Planning: [|||||||||-] 90%
    Purchased: [|||||||||/] 99%
    Installation: [|||||||||-] 90% (when is anyone's project ever REALLY done...)

  4. #384
    Constant Bitrate
    Join Date
    Jul 2005
    Posts
    221
    im not really sure what the instance modifier is or how to implement it nitehawk, i thankyou for pointing me in the right direction, alot of this is new to me so its hard to grasp the way the skins interact and are coded, im used to php code.. so this is totally new to me, any more guidance would be appreciated for sure.


    i know what im trying to acheive is very easy im just not sure on how i can get it done.

  5. #385
    Constant Bitrate
    Join Date
    Jul 2005
    Posts
    221
    ok so i think i have my head around the BYRANGE, i think the newest version of that plugin has different names from what u mentioned.

    but im not quite getting how i can set up the timers? or how they work.?
    wouldnt i need to loop the function?


    EDIT:

    Ok so i played alot here and learning as i go.. i have come up with this but im sure this isnt the most efficient way of doing this so it someone could enlighten me, that would be nice.. heres what i have which in my mind does some things i want but not all.

    "FULL","GblTmr_Add;Tmr2;1;FILL"
    "FILL","BYRANGE;rearright;0;190;RUNFULL<<NULL<<Gbl Tmr_Del;Tmr2"
    "RUNFULL","BAG5||BAG6||BAG7||BAG8"
    "BAG5","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINSTANCE $;5;1"
    "BAG6","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINSTANCE $;6;1"
    "BAG7","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINSTANCE $;7;1"
    "BAG8","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINSTANCE $;8;1"

    Ok 'FULL' is called off the button press, once run if the 'Rear Right' airbag sensor reads between 0-190 PSI, it will run 'RUNFULL' which opens all 4 solenoids to fill all the air bags for one complete second, then it loops, untill it reachs 190psi then it deletes the timer..

    now a few things here,

    * i would want it to check all 4 sensors, so i would make 4 of these blocks and call all four off the button press? if i did this each would only open one solenoid each as it only checks one airbag sensor.

    secondly, i would like it to just hold a function until 190psi is met then shut it off, instead of a 1 second flutter for an amount of time, which can take upto 10mins to fill all 4?

    Thanks for your help guys, im starting to get my head around this more.

    Ryann,
    Last edited by Ryann; 04-18-2011 at 06:22 AM.

  6. #386
    Variable Bitrate
    Join Date
    Sep 2007
    Location
    Export, PA
    Posts
    265
    "FillBags","AllOn||SetTimers"
    "AllOn","BAG5||BAG6||BAG7||BAG8"
    "BAG5","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINST ANCE $;5;1"
    "BAG6","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINST ANCE $;6;1"
    "BAG7","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINST ANCE $;7;1"
    "BAG8","RRFUSION_DIGITALOUTPUTSWITCH;$MYFBINST ANCE $;8;1"
    "SetTimers","Btimer1||Btimer2||Btimer3||Btimer 4"
    "Btimer1","GblTmr_Add;Timer1;.25;CHECKFILLED1"
    "Btimer2","GblTmr_Add;Timer2;.25;CHECKFILLED2"
    "Btimer3","GblTmr_Add;Timer3;.25;CHECKFILLED3"
    "Btimer4","GblTmr_Add;Timer4;.25;CHECKFILLED4"
    "CHECKFILLED1","BYRANGE;RFBAG;0;190;<< <<BAG5OFF"
    "CHECKFILLED2","BYRANGE;RRBAG;0;190;<< <<BAG6OFF"
    "CHECKFILLED3","BYRANGE;LFBAG;0;190;<< <<BAG7OFF"
    "CHECKFILLED4","BYRANGE;LRBAG;0;190;<< <<BAG8OFF"
    "BAG5OFF","GblTmr_DEL;Timer1||RRFUSION_DIGITALOUTP UTSWITCH;$MYFBINSTANCE $;5;1"
    "BAG6OFF","GblTmr_DEL;Timer2||RRFUSION_DIGITALOUTP UTSWITCH;$MYFBINSTANCE $;6;1"
    "BAG7OFF","GblTmr_DEL;Timer3||RRFUSION_DIGITALOUTP UTSWITCH;$MYFBINSTANCE $;7;1"
    "BAG8OFF","GblTmr_DEL;Timer4||RRFUSION_DIGITALOUTP UTSWITCH;$MYFBINSTANCE $;8;1"

    Now granted, this can be done a little bit better, but i threw all that together just from memory as i dont have any documentation in front of me at the moment...

    What this does it is turns on all of the bag ouputs, then creates timers to monitor the pressures, when each monitor sees the correct pressure (measured at 0.25second intervals to prevent overpressurizing), it will delete the timer and turn the output off again.

    You can simplify it even more using some other variables and such to help cut the BAGOFF down to 1 command, and i would also advise using the HOLD and RELEASE functions in RRFusion instead of just SWITCH, but i dont have documentation in front of me so i cant begin to tell you what the syntax is... HOLD turns an output on, and RELEASE turns an output off...

    Hope this helps
    Planning: [|||||||||-] 90%
    Purchased: [|||||||||/] 99%
    Installation: [|||||||||-] 90% (when is anyone's project ever REALLY done...)

  7. #387
    Constant Bitrate
    Join Date
    Jul 2005
    Posts
    221
    Thankyou so very much i cant wait to check this out in detail tomorow!

  8. #388
    Constant Bitrate
    Join Date
    Jul 2005
    Posts
    221
    Ok so another couple of hours gone and ive stumbled across a problem..

    i have all 3 buttons coded now, but ill chase an answer for the 'FULL' and 'LAYED' button problem and i think i should be able to fix the "RIDE' button after that myself, id hope. ok

    So in the function BYRANGE, ive been putting in test numbers instead of feeding in the PSI readings because i have all this inside and away from the vehicle.. now with test numbers inserted they always work flawlessly the first button click, its any other button click after that it seems to die. now im thinking i need to reset variables somewere on button click... i have it currently closing all fusion brain relays before attempting to test and run a new button click. but it seems i think having problems with BYRANGE.. can anyone look at this and figure it out? do you think its me feeding in fixed numbers? and not reading from the label?

    Please note, the code had been changed since the video recording... to only turn on the instances once its checked the BYRANGE, as before it was turning on instances first then checking the pressures.

    "fb1r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;1"
    "fb2r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;2"
    "fb3r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;3"
    "fb4r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;4"
    "fb5r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;5"
    "fb6r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;6"
    "fb7r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;7"
    "fb8r","RRFUSION_DIGITALOUTPUTRELEASE;$MYFBINSTANC E$;8"

    "fb1h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 1"
    "fb2h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 2"
    "fb3h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 3"
    "fb4h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 4"
    "fb5h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 5"
    "fb6h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 6"
    "fb7h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 7"
    "fb8h","RRFUSION_DIGITALOUTPUTHOLD;$MYFBINSTANCE$; 8"



    /, LAYED BUTTON __________________________________________________ ________________________

    "LAYED","RELEASE1||SETTIMERS1"

    "RELEASE1","||BAG5OFF||BAG6OFF||BAG7OFF||BAG8O FF"

    "SETTIMERS1","Btimer1||Btimer2||Btimer3||Btime r4"
    "Btimer1","GblTmr_Add;Timer1;.20;CHECKFILLED1"
    "Btimer2","GblTmr_Add;Timer2;.20;CHECKFILLED2"
    "Btimer3","GblTmr_Add;Timer3;.20;CHECKFILLED3"
    "Btimer4","GblTmr_Add;Timer4;.20;CHECKFILLED4"
    "CHECKFILLED1","BYRANGE;15;10;200;fb1h<<BAG1OFF<<N ULL"
    "CHECKFILLED2","BYRANGE;5;10;200;fb2h<<BAG2OFF<<NU LL"
    "CHECKFILLED3","BYRANGE;91;10;200;fb3h<<BAG3OFF<<N ULL"
    "CHECKFILLED4","BYRANGE;5;10;200;fb4h<<BAG4OFF<<NU LL"
    "BAG1OFF","GblTmr_DEL;Timer1||fb1r"
    "BAG2OFF","GblTmr_DEL;Timer2||fb2r"
    "BAG3OFF","GblTmr_DEL;Timer3||fb3r"
    "BAG4OFF","GblTmr_DEL;Timer4||fb4r"


    /, FULL BUTTON __________________________________________________ _________________________

    "FULL","RELEASE2||SETTIMERS2"

    "RELEASE2","||BAG1OFF||BAG2OFF||BAG3OFF||BAG4O FF"

    "SETTIMERS2","Btimer5||Btimer6||Btimer7||Btime r8"
    "Btimer5","GblTmr_Add;Timer5;.20;CHECKFILLED5"
    "Btimer6","GblTmr_Add;Timer6;.20;CHECKFILLED6"
    "Btimer7","GblTmr_Add;Timer7;.20;CHECKFILLED7"
    "Btimer8","GblTmr_Add;Timer8;.20;CHECKFILLED8"
    "CHECKFILLED5","BYRANGE;189;0;190;fb5h<<NULL<<BAG5 OFF"
    "CHECKFILLED6","BYRANGE;189;0;190;fb6h<<NULL<<BAG6 OFF"
    "CHECKFILLED7","BYRANGE;195;0;190;fb7h<<NULL<<BAG7 OFF"
    "CHECKFILLED8","BYRANGE;195;0;190;fb8h<<NULL<<BAG8 OFF"
    "BAG5OFF","GblTmr_DEL;Timer5||fb5r"
    "BAG6OFF","GblTmr_DEL;Timer6||fb6r"
    "BAG7OFF","GblTmr_DEL;Timer7||fb7r"
    "BAG8OFF","GblTmr_DEL;Timer8||fb8r"



    Another video also.
    Last edited by Ryann; 04-20-2011 at 06:41 AM.

  9. #389
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,121
    Blog Entries
    51
    I honestly wish i could help but all that "RR syntax" i'll never understand lol. If it boils down to an RRFusion problem i'll work with you to solve it.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  10. #390
    Constant Bitrate
    Join Date
    Jul 2005
    Posts
    221
    hopefully somebody can chime in. thanks sonic

Similar Threads

  1. *NEW* USB Input/Output Board -- Fusion Brain
    By 2k1Toaster in forum Fusion Brain
    Replies: 1123
    Last Post: 02-22-2010, 02:33 AM
  2. Replies: 15
    Last Post: 09-22-2008, 08:02 AM
  3. Noob has some biginner questions about the Fusion Brain
    By phreaknes in forum Fusion Brain
    Replies: 14
    Last Post: 04-29-2008, 02:57 AM
  4. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 08:55 AM
  5. Replies: 5
    Last Post: 10-22-2007, 08:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •