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
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
Yes, it is running multiple times without fail! Very nice! I even ran it through an extreme testI 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
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
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?
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.
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.
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 hasand 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.Code:<brain id="My Fusion Brain 0" version="3">BRAIN ID 0</brain>
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)!
Bookmarks