Page 32 of 33 FirstFirst ... 222324252627282930313233 LastLast
Results 311 to 320 of 328

Thread: Fusion Brain Version 6 -- Beta Testing

  1. #311
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by waltersaegir View Post
    The web browser is displaying: "This XML file does not appear to have any style information associated with it. The document tree is shown below.".
    The XML data "looks" ok, but this is a new message and XMLHttpRequest is having trouble believing that the data is XML now.
    That's normal because there is no schema. There has been no change to that. You can see it in my screenshots above too. But when you use ajax to pull the data, it doesn't matter because you aren't displaying the xml, you are displaying html using the xml data.
    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. #312
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116
    Strange that it was working.
    Last edited by waltersaegir; 03-25-2012 at 03:20 PM.

  3. #313
    Variable Bitrate Grrrmachine's Avatar
    Join Date
    Sep 2005
    Location
    Warsaw, Poland
    Posts
    346
    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.

  4. #314
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by Grrrmachine View Post
    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.
    Good to know. I have tried a few computers, but generally I emulate old machines and not run directly on them. Glad it works!

    Quote Originally Posted by Grrrmachine View Post
    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.
    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.

    Quote Originally Posted by Grrrmachine View Post
    As I progress, any documentation will be covered over in this thread, and all bugs or quirks will be addressed here.
    Cool beans. See my reply in that thread.

    Quote Originally Posted by Grrrmachine View Post
    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 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

  5. #315
    Variable Bitrate Grrrmachine's Avatar
    Join Date
    Sep 2005
    Location
    Warsaw, Poland
    Posts
    346
    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.

  6. #316
    Variable Bitrate Grrrmachine's Avatar
    Join Date
    Sep 2005
    Location
    Warsaw, Poland
    Posts
    346
    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.

  7. #317
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116
    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.

  8. #318
    Newbie
    Join Date
    Jul 2011
    Posts
    14
    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.

  9. #319
    Newbie
    Join Date
    Jul 2011
    Posts
    14
    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)

  10. #320
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by venfayon
    Hi,

    <snip>I noticed in the xml file that the command:

    <onmousedown action="FB.ToggleDigitalOutput" inputArgs="Port:0.0" />

    In order to turn off the digital out, instead of using the toggle, basic programming command should be Low = off, high = on.

    I tried renaming FB.ToggleDigitalOutput to FB.LowDigitalOutput and it doesn't do anything. What I'm trying to accomplish it if I turn on one button, five other buttons would shut off. Specifically only one button would be on at a time for my HVAC fan motor or it will burn out it more than one would be on. Do you know what I would have to add the the .xml file or is there a different file I have to edit?

    Jason
    Close, but on the right path. You just needed the syntax.

    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>
    It is just "TurnOffDigitalOutput" and "TurnOnDigitalOutput" instead of the "ToggleDigitalOutput".

    So if you want all of them to turn off then 1 on, you could have something like:

    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>
    Does that help?

    -- 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

Similar Threads

  1. ** NEW Fusion Brain Version 6, Pre-Order NOW **
    By 2k1Toaster in forum Fusion Brain
    Replies: 259
    Last Post: 04-07-2013, 02:48 PM
  2. Fusion Brain version 4
    By MattFreitag in forum Fusion Brain
    Replies: 7
    Last Post: 08-01-2010, 04:32 PM
  3. Fusion Brain -- Digital Encoder Beta Test
    By 2k1Toaster in forum Fusion Brain
    Replies: 52
    Last Post: 09-18-2009, 02:11 PM
  4. Fusion Brain Version 4 Manual
    By greenman100 in forum FB Documentation and Tutorials
    Replies: 0
    Last Post: 12-19-2008, 02:11 PM
  5. Fusion Brain Version 4 ready for Beta Testers!
    By greenman100 in forum Fusion Brain
    Replies: 15
    Last Post: 11-13-2008, 10:21 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
  •