Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Fusion Brain Plugin

  1. #11
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,153
    Blog Entries
    51
    Quote Originally Posted by Ineffigy View Post
    @SonicXtasy, could you email/send me your source code?

    I'm going to work with Proph's FB and create a Facade for FusionBrain. Then I'll work on making the Interface for CF. I've already written an application to query for the FB devices and read the data off of them but I don't have the FB in front of me to verify that everything works. Hopefully next week I'll have a facade ready for any other .NET developers to use.
    I'll be sending the source to proph later today in its current form. Excuse the mess!
    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. #12
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    Ok, I got the code and looked at it. It looks like you bypassed the .NET assembly that comes with the Fusion Brain. Any particular reason why that was done?
    --------------------------
    Software Developed:
    DS-ATX Controller Interface
    Laptop Shutdown Controller

    Considered Projects:
    TPMS Interface
    Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

  3. #13
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    Well, after digging into the history of UsbLibDotNet and then looking up FusionUSB.dll, it looks like UsbLibDotNet is a generic USB device assembly for .NET. Bad thing is, it requires the .INF file or a kernel service to report the devices. Looks like using the FusionUSB.dll will probably be the easiest to work with. I'll start with the facade tonight, as late as it is, I'll probably finish it up tomorrow. I'll see if I can get a FB as well so I can test all the inputs and outputs.
    --------------------------
    Software Developed:
    DS-ATX Controller Interface
    Laptop Shutdown Controller

    Considered Projects:
    TPMS Interface
    Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

  4. #14
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    I didn't get home until midnight tonight so no progress on this tonight.
    --------------------------
    Software Developed:
    DS-ATX Controller Interface
    Laptop Shutdown Controller

    Considered Projects:
    TPMS Interface
    Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

  5. #15
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by Ineffigy View Post
    Well, after digging into the history of UsbLibDotNet and then looking up FusionUSB.dll, it looks like UsbLibDotNet is a generic USB device assembly for .NET. Bad thing is, it requires the .INF file or a kernel service to report the devices. Looks like using the FusionUSB.dll will probably be the easiest to work with. I'll start with the facade tonight, as late as it is, I'll probably finish it up tomorrow. I'll see if I can get a FB as well so I can test all the inputs and outputs.
    FusionUSB.dll is a wrapper for Microsofts generic USB driver, written in C++
    LibUsbDotNet.dll is a wrapper for LibUSB generic USB driver, written in C#.

    Both cases you can bypass them and go straight to the source, but then you are on your own with the enumeration and correctly managing the handles. A real pain in a managed environment. If you are using C or something, then probably easiest to go for the source.

    And as a heads up, we are using the LibUSB drivers as a standard now, although not sure for howlong, so FusionUSB is outdated.

    Also a note is that FusionUSB is a simplistic wrapper with minimal error control. If you dont clear the handle on exit properly, it will never re-initialize the pointer until the program is restarted. That is the biggest reproduceable problem I have had with it so far, but like I said, it is phased out, so I have not edited the source to fix it.
    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

  6. #16
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    Well, I started using the LibUSBDotNET driver at first but could not enumerate any USB devices until I installed a kernal service. I suppose there was an option to use an .INF file. Which are you using for LibUSBDotNET?
    --------------------------
    Software Developed:
    DS-ATX Controller Interface
    Laptop Shutdown Controller

    Considered Projects:
    TPMS Interface
    Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

  7. #17
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by Ineffigy View Post
    Well, I started using the LibUSBDotNET driver at first but could not enumerate any USB devices until I installed a kernal service. I suppose there was an option to use an .INF file. Which are you using for LibUSBDotNET?
    The Fusion Brain drivers which are based off of the LibUSB drivers enable the dll.
    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. #18
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,153
    Blog Entries
    51
    Quote Originally Posted by Ineffigy View Post
    Ok, I got the code and looked at it. It looks like you bypassed the .NET assembly that comes with the Fusion Brain. Any particular reason why that was done?
    two reasons..

    1. the plugins code that communicates with the FB was based on the first driver version.

    2. I'm teaching myself how to do this stuff and i'm taking the as long as it works approach.
    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. #19
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    Thanks SonicXtacy02, I was just trying to determine the best way to write this thing.
    --------------------------
    Software Developed:
    DS-ATX Controller Interface
    Laptop Shutdown Controller

    Considered Projects:
    TPMS Interface
    Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

  10. #20
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    Work has been hecktick lately, but I finally have some time this weekend to do some testing with the FusionBrain. Hopefully all will go well and I can say that the Facade is complete. Then on to creating the Centrafuse plugin.
    --------------------------
    Software Developed:
    DS-ATX Controller Interface
    Laptop Shutdown Controller

    Considered Projects:
    TPMS Interface
    Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. RRFusion- My Fusion Brain plugin for RR
    By Sonicxtacy02 in forum RR Released Plugins
    Replies: 476
    Last Post: 04-07-2014, 02:16 PM
  2. *NEW* USB Input/Output Board -- Fusion Brain
    By 2k1Toaster in forum Fusion Brain
    Replies: 1123
    Last Post: 02-22-2010, 02:33 AM
  3. How to add a Fusion Brain instance to your configuration file
    By 2k1Toaster in forum FB Documentation and Tutorials
    Replies: 0
    Last Post: 06-07-2008, 08:42 AM
  4. 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
  5. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 08:55 AM

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
  •