Page 4 of 42 FirstFirst 1234567891011121314 ... LastLast
Results 31 to 40 of 420

Thread: RRFusion- My Fusion Brain plugin for RR

  1. #31
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,785
    Blog Entries
    32
    well it looks like it works with framework 2.0. links PMed to testers. i'd like some feedback on the following in addition to whatever problems u find:

    -CPU usage
    -Installation issues
    -Converted Value formats (like/dislike?)
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    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. #32
    FLAC -zip-'s Avatar
    Join Date
    Sep 2004
    Location
    Ontario/Canada
    Posts
    1,266
    If you need another tester let me know, have FB working in the car with 2 temp sensors.

    Very excited about this plug in, thanks for your hard work Sonic.
    2008 350z GT Installed since April 22nd 2011 - Worklog
    2000 Protege Installed Since April 2, 2005 - Intel D201GLY|Fusion Brain|ODBPros ODBII|Engenius|GPS Rikaline|Powermate|Motorized Lilli
    Sound Stage
    Eclipse|MTX|Infinity

  3. #33
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,785
    Blog Entries
    32
    working in car = you get to test too lol. pm'ing link now
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    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

  4. #34
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    4,864
    Maybe I'll pull mine out and blow of the collected dust and give this a try sometime in the near future..
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [Beta Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

  5. #35
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,785
    Blog Entries
    32
    couple of other tidbits i should note:

    -there is currently no support for digital INPUTS. Quite honestly i dont even know what they are lol
    - i have NO IDEA how i'm going to make this plugin work for those people who have more than one fusion brain. I think eventually i'll have to make this .dll callable from a rrfusion2.dll etc etc to create multiple instances.
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    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

  6. #36
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    9,851
    Quote Originally Posted by Sonicxtacy02 View Post
    couple of other tidbits i should note:

    -there is currently no support for digital INPUTS. Quite honestly i dont even know what they are lol
    - i have NO IDEA how i'm going to make this plugin work for those people who have more than one fusion brain. I think eventually i'll have to make this .dll callable from a rrfusion2.dll etc etc to create multiple instances.
    The way you handle it is in iterate through the instances, and call initialize and free everytime you send. So 2 brains, intiialize 1 send/receive 1, free 1, initialize 2, send/receive 2, free 2, initialize 1, ... repeat. And of course for however many there are.

    Now this can get slow. So to combat this, I keep the last instance string in a temp variable. So when it goes to initialize, it checks if the brain it is going to initialize is the one it already had (meaning only 1 connected). If so it passes back true for initialized. Now if it is different, then it frees the old one, and connects the new one. and so forth. So for 1 brain it is fastest because it only initializes once and frees once. But for 2 you have to do one at a time unless there is some voodoo magic I am not aware of.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  7. #37
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    9,851
    Oh, and a digital input is an input that can only be true or false (0v or 5v) 2.4999 volts gets rounded to 0 and therefore false (binary 0). 2.5v gets rounded to 5 and therefore true (binary 1).

    So you can think of it as a 1bit analogue input, which essentially it is.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  8. #38
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,785
    Blog Entries
    32
    Quote Originally Posted by 2k1Toaster View Post
    The way you handle it is in iterate through the instances, and call initialize and free everytime you send. So 2 brains, intiialize 1 send/receive 1, free 1, initialize 2, send/receive 2, free 2, initialize 1, ... repeat. And of course for however many there are.

    Now this can get slow. So to combat this, I keep the last instance string in a temp variable. So when it goes to initialize, it checks if the brain it is going to initialize is the one it already had (meaning only 1 connected). If so it passes back true for initialized. Now if it is different, then it frees the old one, and connects the new one. and so forth. So for 1 brain it is fastest because it only initializes once and frees once. But for 2 you have to do one at a time unless there is some voodoo magic I am not aware of.
    got it... now how does the registry get set for multiple instances? i'm guessing the "0" key means the first instance and if 2 brains are connected it will add a "1" key?

    Quote Originally Posted by 2k1Toaster View Post
    Oh, and a digital input is an input that can only be true or false (0v or 5v) 2.4999 volts gets rounded to 0 and therefore false (binary 0). 2.5v gets rounded to 5 and therefore true (binary 1).

    So you can think of it as a 1bit analogue input, which essentially it is.
    understood... i can code the digital INs with a simple boolean riddle then.
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    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

  9. #39
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    9,851
    Quote Originally Posted by Sonicxtacy02 View Post
    got it... now how does the registry get set for multiple instances? i'm guessing the "0" key means the first instance and if 2 brains are connected it will add a "1" key?



    understood... i can code the digital INs with a simple boolean riddle then.
    digital inputs will be gone in the next version since any analogue input can be used a digital input, but a digital input is locked to digital only.

    Also the FCC software does nothing to the registry other than put in where it was started from so the updater can update all instances.

    The keys in the registry are created by windows. And there is no method to its madness. That is what the huge VID/PID/InstanceID string is in the device manager and it is uniquely assigned to each device, but not something that can be guessed. There is a function in the dll to try and get all device instances connected so you could try to use that. But I dont use it as it doesnt work all the time.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  10. #40
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,785
    Blog Entries
    32
    Quote Originally Posted by 2k1Toaster View Post
    digital inputs will be gone in the next version since any analogue input can be used a digital input, but a digital input is locked to digital only.

    Also the FCC software does nothing to the registry other than put in where it was started from so the updater can update all instances.

    The keys in the registry are created by windows. And there is no method to its madness. That is what the huge VID/PID/InstanceID string is in the device manager and it is uniquely assigned to each device, but not something that can be guessed. There is a function in the dll to try and get all device instances connected so you could try to use that. But I dont use it as it doesnt work all the time.
    well that might be a problem. I may have to change the my plugin so that u can manually enter a instance #. I dunno.. i'll wait til the second FB comes to see if i can see how windows creates its instances. Its good to know that FCC doesnt add the registry entry. That means FCC is officially NOT required for this plugin to work.
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    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

Similar Threads

  1. *NEW* USB Input/Output Board -- Fusion Brain
    By 2k1Toaster in forum Fusion Brain
    Replies: 1123
    Last Post: 02-22-2010, 03:33 AM
  2. Replies: 15
    Last Post: 09-22-2008, 09: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, 03:57 AM
  4. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 09:55 AM
  5. Replies: 5
    Last Post: 10-22-2007, 09: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
  •