Page 3 of 32 FirstFirst 12345678910111213 ... LastLast
Results 21 to 30 of 313

Thread: Fusion Control Centre Uber Edition -- Need Testers

  1. #21
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    What does <button vote="attached"> do? Does it hold the <button functionTargetID="xxx"> equal to it's opinion? What is the other valid state; "detached"? I see you've omitted it in some of the examples where a functionTargetID's value is incremented.

    As the program runs through the skin's contribution, does it pass through the <all variables> portion each time? Would the variable's values reset if not held by an attached button's state? If I send "true" to a variable but do not use <button vote="attached"> would it send a pulse of true to the variable for one tick, and then that variable would go back to false?

    I'm looking for that functionality, that of a momentary pushbutton, making a variable true only when pushed.

    EDIT:

    I'd like to know if you change a boolean variable that's referenced in a button's functionTargetID field from it's opinion field state, can that affect the button's state? I've been trying and failing.

    ( I want to affect a button's state from the <all statements> section, How do I do it?)

  2. #22
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    So far, this:
    Code:
          <variable
            name="setProcessAuto">
            <boolean>false</boolean>
          </variable>
    gives me an error, "Error in a variable delcaration in the configuration file. Variable must have an initial value.

    So does this:
    Code:
          <variable
            name="setProcessAuto">
            "false"
          </variable>
    and this:
    Code:
          <variable
            name="setProcessAuto">
            false
          </variable>
    using

    Code:
          <variable do="set" name="setProcessAuto">
            <boolean>false</boolean>
          </variable>
    will work in the statements area, but even if put in the variable area after setting it to 0 prior, I get that error.

    So it looks like my boolean variables have to be initialized as something like 0.


    ???

  3. #23
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    9,851
    Quote Originally Posted by h3rk View Post
    What does <button vote="attached"> do? Does it hold the <button functionTargetID="xxx"> equal to it's opinion? What is the other valid state; "detached"? I see you've omitted it in some of the examples where a functionTargetID's value is incremented.
    Yes it is "attached" and "detached". As of right now it only applies to "trigger output" because I didnt thnik about doing it for variables... Will do though. See this is why I need testers!

    Quote Originally Posted by h3rk View Post
    As the program runs through the skin's contribution, does it pass through the <all variables> portion each time? Would the variable's values reset if not held by an attached button's state? If I send "true" to a variable but do not use <button vote="attached"> would it send a pulse of true to the variable for one tick, and then that variable would go back to false?
    No the all variables is only gone through once on skin reading. So it is only used for setting a variable with an intial state really. Right now, a variable cannot be "attached" but I will make it so for next time.

    And attached means that it directly depends on the value of the variable. So if the variable is true, then it will display imagePrimary, then if it is false it will display imageSecondary. That is controlled directly. If it is detached, then it goes off of the own buttons state. If the button is in imagePrimary, and the vote opinion is true, then when you click it, it will change to imageSecondary, and send a false command to the variable. Now if the variable is independantly changed to true by some other button, the original button here will still have the same image.

    And things that dont have "functionTargetID"'s are ones that dont have a specified target such as the page buttons. The "target" is where it is directed to such as a variable name or output name or something.

    Quote Originally Posted by h3rk View Post
    I'm looking for that functionality, that of a momentary pushbutton, making a variable true only when pushed.
    Momentary... Hmmm I will have to think on this. You want it to send on when first touched and then false when released... Ok I think I can do something.

    Quote Originally Posted by h3rk View Post
    EDIT:

    I'd like to know if you change a boolean variable that's referenced in a button's functionTargetID field from it's opinion field state, can that affect the button's state? I've been trying and failing.
    Not right now but explained above hopefully. Basically yes if attached, and no if detached.

    Quote Originally Posted by h3rk View Post
    ( I want to affect a button's state from the <all statements> section, How do I do it?)
    It will be in the "then" section that doesnt do much as of right now. I am working on that right now though. I will make some example code in the skin file.
    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

  4. #24
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    9,851
    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
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    Buttons set to increment/decrement a value, do so the moment they are released from a push, it seems.
    Is there any way to set up these buttons so they operate on the "leading edge", perhaps with 'holding the button down' increasing the target's value by the opinion after a specified number of timer runs? Not a necessity for me, but it's a neat functionality to have.

  6. #26
    Maximum Bitrate bratnetwork's Avatar
    Join Date
    Oct 2007
    Location
    Haledon, NJ
    Posts
    501
    I'm loving this new software more and more and I haven't even gotten nearly as far into as it seems h3rk has.

    An issue I ran into is when I change the font_size of a button it doesn't make any difference; it always stays the same size visually when i launch the exe.

    Also is there a way to make button fonts bold?

  7. #27
    Variable Bitrate Arrow's Avatar
    Join Date
    Feb 2006
    Location
    West Lafayette, IN
    Posts
    288
    2k1, I need a nudge in the right direction. I need to make certain relays fire at certain points in a song. I figure I will just sync the start of the song playing with a timer in the skin. I need to be able to program the triggers to the millisecond so that they are in sync with the song. How can I do this in the new skin setup? In case you haven't seen it, this is what I'm trying to do: Christmas Car Project

  8. #28
    Variable Bitrate
    Auto Apps:loading...
    thekl0wn's Avatar
    Join Date
    Apr 2005
    Location
    PoCo, Indiana
    Posts
    283
    I've gotta get my project up-and-rolling, that way I can start playing with one of these! I really like the look of this!
    Play with it, 'til it's broke.

  9. #29
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    9,851
    Quote Originally Posted by Arrow View Post
    2k1, I need a nudge in the right direction. I need to make certain relays fire at certain points in a song. I figure I will just sync the start of the song playing with a timer in the skin. I need to be able to program the triggers to the millisecond so that they are in sync with the song. How can I do this in the new skin setup? In case you haven't seen it, this is what I'm trying to do: Christmas Car Project
    That is one heck of a car!

    The FB's output timing resolution is not in the 1ms range. If you disable the inputs, you can probably get it down to 30ms or 35ms, but the CPU/USB will be taxed.

    I think the easiest would be to use a high/low pass filter for the basic thumping and use the FB for timed major flashing. As of now, the V2 software is your best bet as animations are not yet supported with the V3 Beta.

    Quote Originally Posted by thekl0wn View Post
    I've gotta get my project up-and-rolling, that way I can start playing with one of these! I really like the look of this!
    It's a good little board!
    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. #30
    Variable Bitrate
    Auto Apps:loading...
    thekl0wn's Avatar
    Join Date
    Apr 2005
    Location
    PoCo, Indiana
    Posts
    283
    Depending on the API calling, would it not be a "somewhat" easy task to write your own app for this special purpose task? I'm guessing Purdue, which would lead me to think that you're some form of a science major and may have exposure to some form of programming?

    I like the idea of the bandpass crossover network for the "beat", but as for scripting for a saved song... I could think of a few generic ways to accomplish this, but I'm not sure how well these ideas would cross over for anything else...

    I'm guessing the driver for the FB uses some form of a .dll with get/set commands to/from the board, and then checks/sets in a big DO..WHILE TRUE loop? I also know this is a thread on the new look of the control app, but couldn't this all be accomplished in a matter of minutes with just about any language with easy API calls? I'm thinking possibly a maintenance app to set his "big" events, and then an player app that he could select from a list what to play, and load the event times into variables, start playback, and enable a timer?

    Or am I in left field at a hockey game?
    Play with it, 'til it's broke.

Similar Threads

  1. *NEW* USB Input/Output Board -- Fusion Brain
    By 2k1Toaster in forum Fusion Brain
    Replies: 1123
    Last Post: 02-22-2010, 03:33 AM
  2. Need wiring help for 2005 Grand Prix.
    By derekmac in forum Car Audio
    Replies: 33
    Last Post: 09-21-2007, 10:42 PM
  3. Remote Control Fusion Brain.
    By alexgray104 in forum Fusion Brain
    Replies: 9
    Last Post: 09-06-2007, 04:16 AM
  4. Replies: 2
    Last Post: 07-24-2007, 10:11 AM
  5. Replies: 1
    Last Post: 12-03-2005, 09:58 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
  •