Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 42

Thread: Fusion Control Centre MDX & Configurator -- Major Update 22/12/2008

  1. #21
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    And I never sleep
    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

  2. #22
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Quote Originally Posted by JohnWPB View Post
    Ok, sorry, something else I just ran into.....

    I started tweaking the label names, and when I change one, MDX crashes for some reason.

    For Analog in 1 I had a label of "Temperature 1". I loaded the XML in the configurator, double clicked the temp 1, and changed the label to "Computer Temp". I saved out the XML. When I run MDX, It errors out (Has caused a problem and needs to close, just a generic error). I opened the configurator, changed it back to "Temperature 1" and saved it, ran mdx and it ran correctly. I did this 3 times, just to verify that it was the changing of a label causing it. With the label as Temperature 1, I can open, close, open, close the MDX, soon as I change it with the configurator and save it, it crashes on loading.

    It's possibly changing the label in one location of the XML and not updating another part or something?

    If you need to remote into my machine again for testing, just let me know.
    Can you run in debug mode and screenshot the error
    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

  3. #23
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,689
    Blog Entries
    1
    Yes, it is running multiple times without fail! Very nice! I even ran it through an extreme test I turned on one relay, and another off. Unplugged the USB and power to the FB. Plugged in the power and the USB to the FB, and the one relay came on, and the other remained off! ! !

    VERY NICE!

    Sorry, never ran a debug on the FB as of yet, need to look where to turn it on.

    As for the screen cap of the error, it is just a generic error, "Has caused an error and needs to close" no useful information at all.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  4. #24
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    It will have useful info when run in debug mode. In the start folder there is a shortcut to MDX with "DEBUG" in its name. That will run it in debug mode.
    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

  5. #25
    Constant Bitrate mx270a's Avatar
    Join Date
    Aug 2003
    Location
    Iowa
    Posts
    167
    Under what circumstance would someone use the timer delayed output shutoff? I assume you have people using this feature since it has been carried over from the v3 feature set? In my mind, when I heard you were going to add PWM to the v4, I was thinking there would be 1 byte per output. 0 would be off, 255 would be on, and any number in between would be the PWM scale.

    If the 7 PWM bits are all 0, is the output completely off, or is it still on like 1% of the time when the state bit is on?

  6. #26
    Constant Bitrate mx270a's Avatar
    Join Date
    Aug 2003
    Location
    Iowa
    Posts
    167
    2k1, I think I found a bug in the driver. On my system, the only thing I have connected is a v3 FB. I wrote an auto-detect routine to connect to the first FB, looking for a v4 first, then looking for a v3. Here is what happens.

    If I start the program and run FindMyDevice(0, 4), it returns false just like it should.
    I then run FindMyDevice(0, 3), and it returns true, because it found the v3 FB that is connected.
    If I then disconnect, and try to connect to a v4 again, this time FindMyDevice(0, 4) will return true, even though no brain is connected. At this point, it thinks it has connected to a brain that doesn't exist. I can then disconnect and try to connect to a v4 FB again, and it will now have figured out that there isn't one, so it will return false.

  7. #27
    Constant Bitrate mx270a's Avatar
    Join Date
    Aug 2003
    Location
    Iowa
    Posts
    167
    Got my v4 FB today. Very nice. Form factor is compact. The blue LED is so bright I put some electrical tape over it so it wouldn't blind me.

    A few days ago I started writing code based on the bytestream format the 2k1 posted in this thread. Right now, I can toggle the outputs on and off, and read all the inputs.

    - I cannot get the PWM part to work. I have a slider to control that, and if it is less than 127, it puts the output into PWM mode. However, the output LED never dims.

    - The timer to shutoff doesn't work for me either. I've tried 0, 1, and 3 seconds, but the outputs remain on after I quit sending data to the FB.

  8. #28
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Quote Originally Posted by mx270a View Post
    Got my v4 FB today. Very nice. Form factor is compact. The blue LED is so bright I put some electrical tape over it so it wouldn't blind me.

    A few days ago I started writing code based on the bytestream format the 2k1 posted in this thread. Right now, I can toggle the outputs on and off, and read all the inputs.

    - I cannot get the PWM part to work. I have a slider to control that, and if it is less than 127, it puts the output into PWM mode. However, the output LED never dims.

    - The timer to shutoff doesn't work for me either. I've tried 0, 1, and 3 seconds, but the outputs remain on after I quit sending data to the FB.


    PWM and timers aren't in the public firmware yet. They'll be released soon.

  9. #29
    Constant Bitrate mx270a's Avatar
    Join Date
    Aug 2003
    Location
    Iowa
    Posts
    167
    Ah, that explains it. Thanks.

  10. #30
    Low Bitrate UniqelyCommon's Avatar
    Join Date
    Nov 2008
    Location
    Behind you.
    Posts
    76
    Well, I'm at a loss. I have reinstalled the drivers as explained (of course including the deletion of v4) and see the following in Device Manager:


    and I make sure that FusionConfiguration.xml has
    Code:
    <brain id="My Fusion Brain 0" version="3">BRAIN ID 0</brain>
    and yet when I run MDX (in administrator mode, Vista doesn't like me running it straight like everything else) none of the buttons are responsive and the inputs all read "0.00" In v4 there was at least some "noise" reading.

    I also created a copy of the MDX directory to play with to make a custom file (again, with the "version" declaration included) and this time the input changes based on the sensor (IR distance) and the buttons "click," but none of the LED's light up or the attached relays "click." Perhaps this is due to my "irritating" usage of "quotes"?

    I tried running a fresh install of MDX on a fresh (updated, SP3) install of XP (different machine) but it didn't even want to run there. Even running with the debugger command Windows closes with no real explanation other than the classic "There was a problem and needs to close. We're sorry that your life is so pointless." Maybe I get custom messages?

    Aaaaanyway, I might just go back to v4 if this is just a weird "I have gained the displeasure of the Supreme Electron" occurrence, but the easiness of the new DLL is appealing. Sorry for the wrench, thanks for the help (and what a swell product)!

Page 3 of 5 FirstFirst 12345 LastLast

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. Fusion Control Center skin
    By sxtnitehawk in forum Software & Software Development
    Replies: 1
    Last Post: 10-14-2007, 07:39 PM
  3. Need wiring help for 2005 Grand Prix.
    By derekmac in forum Car Audio
    Replies: 33
    Last Post: 09-21-2007, 09:42 PM
  4. Remote Control Fusion Brain.
    By alexgray104 in forum Fusion Brain
    Replies: 9
    Last Post: 09-06-2007, 03:16 AM
  5. Replies: 2
    Last Post: 07-24-2007, 09:11 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
  •