Page 19 of 33 FirstFirst ... 91011121314151617181920212223242526272829 ... LastLast
Results 181 to 190 of 327

Thread: Fusion Brain Version 6 -- Beta Testing

  1. #181
    Variable Bitrate rEegLer's Avatar
    Join Date
    Jul 2008
    Location
    Mechanicsburg, PA
    Posts
    266
    Quote Originally Posted by 2k1Toaster View Post
    Put the newest exe in a folder all by itself, and delete every other file except the exe. Press F10 when it starts, configure, add a button to control a digital output. Exit config mode (F10 again) and see if it still does it.
    Ok I will. I don't have my FB with me right now though so I'll have to do it Monday.
    Love

  2. #182
    Variable Bitrate rEegLer's Avatar
    Join Date
    Jul 2008
    Location
    Mechanicsburg, PA
    Posts
    266
    Tried it and it still is not working right. Deleted UserConfig file, opened FuseGL and made two buttons each of which controlled two digital outputs and it still will only allow one digital output to be on at a time.
    Love

  3. #183
    Variable Bitrate rEegLer's Avatar
    Join Date
    Jul 2008
    Location
    Mechanicsburg, PA
    Posts
    266
    Quote Originally Posted by 2k1Toaster View Post
    The default state in MDX was only during program startup.

    But it seems like you want the output to be ON whenever the computer is on, correct? In that case in some cs code make a timer that goes off every so often (like 100ms or something) and just turns the port on. When the computer wakes up, that timer will fire again and turn it on.
    What's the syntax for that? I just don't know how to implement that.
    Love

  4. #184
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,031
    Sorry for the delay I didn't see you had responded.

    You make the timer code similar to in post #159

    Code:
                System.Timers.Timer _timer = new System.Timers.Timer();
                _timer.AutoReset = true;
                _timer.Interval = how_often_in_milliseconds;
                _timer.Elapsed += delegate(object sender, System.Timers.ElapsedEventArgs e)
                {
                    someDigitalOutputPort.Value = 255;
                };
                _timer.Start();
    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. #185
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,031
    Ok, sensor configuration is almost done. Probably this week an update will be pushed. Major update that allows code to be called for text of objects from within the text of the object, not just on startup events. Very very useful for display items and you don't have to keep track of them in a separate spot.
    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. #186
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,031
    Ok, temperature sensors are fully supported now as labels. The other sensors will be cake (cross your fingers).

    Also I looked into the only one digital output at a time, and you are correct. I had a "release mode" compiler directive that changed the behaviour versus my debug mode operations. I have fixed that.

    A new release will go out tonight with the fixes and additions. It shouldn't have broken anything, I am trying to make everything backwards compatible.
    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

  7. #187
    Variable Bitrate rEegLer's Avatar
    Join Date
    Jul 2008
    Location
    Mechanicsburg, PA
    Posts
    266
    Quote Originally Posted by 2k1Toaster View Post
    Ok, temperature sensors are fully supported now as labels. The other sensors will be cake (cross your fingers).

    Also I looked into the only one digital output at a time, and you are correct. I had a "release mode" compiler directive that changed the behaviour versus my debug mode operations. I have fixed that.

    A new release will go out tonight with the fixes and additions. It shouldn't have broken anything, I am trying to make everything backwards compatible.
    Perfect! Thanks for the update!
    Love

  8. #188
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,031
    The update actually didn't go out last night. I am uploading it now. It should be live in 5 minutes or so.
    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

  9. #189
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,031
    Update is live
    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

  10. #190
    Variable Bitrate rEegLer's Avatar
    Join Date
    Jul 2008
    Location
    Mechanicsburg, PA
    Posts
    266
    Tested it, running version 1.1.0.286. It still only lets me have one output on at a time.

    Also, I still can't get the digital output timer to work right. Here is my Config file startup action:

    Code:
    <startup action="FuseGL.ExecuteCode" inputArgs="Logic/Amp_ON.cs;AMP_ON_NS.TURN_AMP_ON;DigitalOutputPort___TurnOn;{FB.DigitalOutput(0.10)};{(int)100};" />
    Here's my cs file named Amp_ON.cs:

    Code:
    using System;
    using System.Collections.Generic;
    using FB_USB_2011;
    using FuseGL.GUI.Text;
    using FuseGL.Logic;
    
    namespace AMP_ON_NS
    {
        class TURN_AMP_ON
        {
            public object DigitalOutputPort___TurnOn(FB_Monitor.DigitalOutputPort _port, int how_often_in_milliseconds)
            {
                if (allAnaloguePortsToDisplay.ContainsKey(_port)) { return true; }
                System.Timers.Timer _timer = new System.Timers.Timer();
                _timer.AutoReset = true;
                _timer.Interval = how_often_in_milliseconds;
                _timer.Elapsed += delegate(object sender, System.Timers.ElapsedEventArgs e)
                {
                    someDigitalOutputPort.Value = 255;
                };
                _timer.Start();
            }
        }
    }
    Love

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
  •