Strange that it was working.
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
Strange that it was working.
Last edited by waltersaegir; 03-25-2012 at 03:20 PM.
This thread fizzled out, so I'll pick it up again.
Got my v6, plugged it in, downloaded FuseGL and the driver package and got it installed on two machines with no issues. One is a relatively modern quad-core AMD running Vista, the other machine an ancient P3 IBM Thinkpad from 2002 which doesn't even have USB 2.0, running XP. FuseGL installed fine on both, and is able to take readings and activate relays.
So now I'm toying around with FuseGL from a completely novice perspective. I have no C# experience, I'm not really sure what's so special about an XML or .cs file. I'm just an enthusiast clicking around, trying to make the Brain a car-worthy tool.
As I progress, any documentation will be covered over in this thread, and all bugs or quirks will be addressed here.
For now, I can see that FuseGL will only let me destroy one element per session. If I make two sensors, I can destroy one. When I right click the second one I still have the destroy option, but I'm not asked to confirm and the element remains, still working, and can still be repositioned and redrawn. . To properly destroy it, I have to close FuseGL, reload, and destroy it again.
Good to know. I have tried a few computers, but generally I emulate old machines and not run directly on them. Glad it works!
My hope is that you don't need to know coding to make it work. But then it is easy to make a little code for the more advanced features. I always value your input.
Cool beans. See my reply in that thread.
Good eye. I spotted what I think to be the problem and it could potentially effect a few things. I have implemented a change, and it seems to work on this end. If you open FuseGL on an internet connected device, you should automatically be updated.
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
Yep, that update works and everything checks out. I can make a sensor, an output button and a label (which I tested reading the voltage of a car coolant sender via a voltage divider - worked fine). And I can destroy and redraw elements.
There's nothing under the Variable options to play with, so I think I've exhausted all of the current offerings of FuseGL's GUI interface for now.
Are there any planned feature updates for FuseGL? I'm getting close to the point where I'll be able to take live data readings from my engine, and it would be interesting to have the same tools I had from MDX, such as data logging and the ability to customise the look of the front end.
I know nothing of code, but I might be able to work out how to modify an existing sensor's code (temp sensor for example) to a custom sensor, with time.
Back after Medical Break and revisiting XML HTTP interface.
I am getting the XML into AJAX/Java Script through HTML served by an Apache server software, but only in Internet Explorer. Both Chrome and Firefox are achieve readyState === 4, but never achive status === 200.
So, I'm looking at Cross-Origin Resource Sharing (CORS) http://kb2.adobe.com/cps/142/tn_14213.html and doing a little thrashing/testing.
Three questions:
1.) Will FuseGL's HTTP capabilities support serving web pages or is it limited to the XML data over port 42422?
2.) Is CORS support implemented in FuseGL's HTTP capabilities?
3.) Especially in case that CORS is not currently implemented, do you have and thoughts related to Chrome and Firefox failing to achieve status === 200? I have implemented a very promiscuous crossdomain,xml file.
I am integrating my HVAC heater controls and connecting my blower motor to the fusion brain. I have 5 positions for the blower speed. How to I set an instance for if I have one button, it automatically turns the other buttons off? I am using FuseGL with FB6. Can someone show me the code to do this and what file I have to edit.
For FuseGL buttons, I want to turn on a button and it will turn off all other buttons. What kind of code can I use and what file can I insert in? Can someone provide a code for me? I am using tit to turn on my HVAC blower motor, which has Off position (digital output 0), On positions 1-5 (digital output 1-5)
Close, but on the right path. You just needed the syntax.Originally Posted by venfayon
It is just "TurnOffDigitalOutput" and "TurnOnDigitalOutput" instead of the "ToggleDigitalOutput".Code:<?xml version="1.0" encoding="utf-8" ?> <FuseGL_User_Settings> <User_Object type="FuseGL_Object"> <setting type="string" name="Digital Output Test Button ON" /> <image location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButton" /> <image_hover location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" /> <image_click location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" /> <text text="Turn On 0.10" /> <!-- Make all the customizations like font size, and the actual font optional --> <setting type="bool" mouse_cursor_to_hand_on_hover="true" /> <size width="200" height="33" /> <location x="100" y="100" z="0" alignment="center" /> <events> <onMouseDown action="FB.TurnOnDigitalOutput" inputArgs="Port:0.10" /> <onMouseDown action="FuseGL.ExecuteCode" inputArgs="Config/FlyCompile_ButtonManipulationCodeTest.cs;FuseGL_ButtonManipulation.FlyCompile_ButtonManipulationCodeTest;ChangeButtonTextOnDigitalOutput;{FB.DigitalOutput(0.10)};" outputTo="this.text.text" /> </events> </User_Object> <User_Object type="FuseGL_Object"> <setting type="string" name="Digital Output Test Button OFF" /> <image location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButton" /> <image_hover location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" /> <image_click location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" /> <text text="Turn On 0.10" /> <setting type="bool" mouse_cursor_to_hand_on_hover="true" /> <size width="200" height="33" /> <location x="100" y="150" z="0" alignment="center" /> <events> <startup action="FuseGL.ExecuteCode" inputArgs="Config/FlyCompile_ButtonManipulationCodeTest.cs;FuseGL_ButtonManipulation.FlyCompile_ButtonManipulationCodeTest;ChangeButtonTextOnDigitalOutputPersistant;{FB.DigitalOutput(0.10)};{this.text};" outputTo="this.text.text" /> <onMouseDown action="FB.TurnOffDigitalOutput" inputArgs="Port:0.10" /> </events> </User_Object> </FuseGL_User_Settings>
So if you want all of them to turn off then 1 on, you could have something like:
Does that help?Code:<User_Object type="FuseGL_Object"> <setting type="string" name="Digital Output Test Button OFF" /> <image location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButton" /> <image_hover location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" /> <image_click location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" /> <text text="Turn On 0.10" /> <setting type="bool" mouse_cursor_to_hand_on_hover="true" /> <size width="200" height="33" /> <location x="100" y="150" z="0" alignment="center" /> <events> <startup action="FuseGL.ExecuteCode" inputArgs="Config/FlyCompile_ButtonManipulationCodeTest.cs;FuseGL_ButtonManipulation.FlyCompile_ButtonManipulationCodeTest;ChangeButtonTextOnDigitalOutputPersistant;{FB.DigitalOutput(0.10)};{this.text};" outputTo="this.text.text" /> <onMouseDown action="FB.TurnOffDigitalOutput" inputArgs="Port:0.0" /> <onMouseDown action="FB.TurnOffDigitalOutput" inputArgs="Port:0.1" /> <onMouseDown action="FB.TurnOffDigitalOutput" inputArgs="Port:0.2" /> <onMouseDown action="FB.TurnOffDigitalOutput" inputArgs="Port:0.3" /> <onMouseDown action="FB.TurnOnDigitalOutput" inputArgs="Port:0.4" /> </events> </User_Object>
-- Nick
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
Bookmarks