Page 11 of 35 FirstFirst ... 23456789101112131415161718192021 ... LastLast
Results 101 to 110 of 345

Thread: Uber MDX Configurator Beta Testing...

  1. #101
    Constant Bitrate
    Join Date
    Jan 2008
    Location
    Texas
    Posts
    151
    that seems to work, I created a simple file, saved it and closed, it didnt ask me to save on close. Then I opened the file again and made changes, then closed the program and it asked me did I want to save.

    the only thing I noticed was when I opened the file it complained because I never put in an author name and wouldn't let me open the file, so I went in and hand edited the XML with an author name and it loaded after that. It seems to me that yesterday when I did this it was more of a warning and allowed me to open the file anyway.

  2. #102
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by jimp View Post
    that seems to work, I created a simple file, saved it and closed, it didnt ask me to save on close. Then I opened the file again and made changes, then closed the program and it asked me did I want to save.

    the only thing I noticed was when I opened the file it complained because I never put in an author name and wouldn't let me open the file, so I went in and hand edited the XML with an author name and it loaded after that. It seems to me that yesterday when I did this it was more of a warning and allowed me to open the file anyway.
    It should just be a warning still. There is no cancel opening routine, it always tries to open even with a bunch of errors. Load the example, then try to load the one with no author. See if it changes the graphics and everything.

    I suppose I should make a "saved successfully" or "open successfully" window to let you know if it was saved.
    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

  3. #103
    Constant Bitrate
    Join Date
    Jan 2008
    Location
    Texas
    Posts
    151
    Its all Good, I don't know why i thought it wouldn't let me open the file , seems to be letting me this morning, maybe i was to tired to click the x on the warning box last night!

  4. #104
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    -Add Variable window: Variable type is a combo box, which allows values to be typed that are not on source list, and that will cause errors. For instance, initially it had "Boolean" as it's value, so I typed "n" to see if it would auto complete. It did, so I hit tab to move along, but, Because I used a lower case "n", I got: "COMBO_VARIABLE_TYPE-The value you selected or entered is not valid."

    -Keypad number entries still don't work (have to use the upper row numbers).

    -Static images' display size reset to original size parameters, each time the property window is opened.

    Will there be an entry on the button property form to enter button text? How's that going to work?

    P.S.
    Also I thought that I would start trying to run my skin in FCC UberMDX.exe (2/18/08(3.0.0.0)) to see how things are going but I'm getting errors related to the one button I have. Is that an issue with the software? I seem to get the same errors with the example load skin. I guess maybe that kind of testing is for later.

  5. #105
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    The example skin's logic contains errors. I was just goofing with it. For instance it tried to multiply a boolean and a double, also tries to ask if false is greater than a number.

    I have added the necessary protection for this in the MDX program now. But the protection will be in the configurator to prevent those connections.
    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. #106
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Ok, found something interesting out that I have never known in 3 years of C# programming...

    Apparenty a "digit" and a "number" are different...

    Digit is 0-9 but only on the uptop keys. Number is 0-9 anywhere I think.

    So I have to change all my code that is if(!char.isDigit(e.KeyValue)) to if(!char.isNumber(e.KeyValue))
    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. #107
    Constant Bitrate
    Join Date
    Jan 2008
    Location
    Texas
    Posts
    151
    Hope it is as easy as "find and replace ALL" !!!!

  8. #108
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by jimp View Post
    Hope it is as easy as "find and replace ALL" !!!!
    if only
    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. #109
    Constant Bitrate
    Join Date
    Jan 2008
    Location
    Texas
    Posts
    151
    I just can't seem to get my head wrapped around this logic stuff. I know you said you would draw something up and send it to me but I know you are very busy with the program code so I thought I would try to get a grasp on this on my own. I thought I would just try to start off simple and see what I could make work or not, so I started with a simple let me see if I can make the output turn on with a variable instead of just the button click. this was really pretty simple and I can make it come on with making a variable of 0 and having a button change the variable to 1 with logic saying that if the variable is equal to or greater than 1 then command output on. this turns on the output but of course clicking the button again doesn't shut it off, so I thought well I will just use the upclick vote on the button to trigger output hoping this is a state change and not just trigger on only. well that did nothing so I tried to use the upclick vote to change the variable to -1 but again this did nothing. the out put stays active until I close the program and then reopen it so it returns to its initial state of off.
    At this point I figure I have to make this all work inside the logic, but I can't seem to figure out the logic it isn't logical to me, it seems to my feeble mind that some how I need to be able to put some kind of "else statement in there,(if variable = 1 then turn on output else if variable = 0 turn off output) but I don't see how thats done I can only have one output node and although I can make an if then statement I can't make an if else statement.
    I guess I just don't understand what is going on under the hood so if there is any reading I could do that you know of to help me grasp this, or any links to or search terms I could use to find more info I'd appreciate it.

    Thanks

  10. #110
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by jimp View Post
    I just can't seem to get my head wrapped around this logic stuff. I know you said you would draw something up and send it to me but I know you are very busy with the program code so I thought I would try to get a grasp on this on my own. I thought I would just try to start off simple and see what I could make work or not, so I started with a simple let me see if I can make the output turn on with a variable instead of just the button click. this was really pretty simple and I can make it come on with making a variable of 0 and having a button change the variable to 1 with logic saying that if the variable is equal to or greater than 1 then command output on. this turns on the output but of course clicking the button again doesn't shut it off, so I thought well I will just use the upclick vote on the button to trigger output hoping this is a state change and not just trigger on only. well that did nothing so I tried to use the upclick vote to change the variable to -1 but again this did nothing. the out put stays active until I close the program and then reopen it so it returns to its initial state of off.
    At this point I figure I have to make this all work inside the logic, but I can't seem to figure out the logic it isn't logical to me, it seems to my feeble mind that some how I need to be able to put some kind of "else statement in there,(if variable = 1 then turn on output else if variable = 0 turn off output) but I don't see how thats done I can only have one output node and although I can make an if then statement I can't make an if else statement.
    I guess I just don't understand what is going on under the hood so if there is any reading I could do that you know of to help me grasp this, or any links to or search terms I could use to find more info I'd appreciate it.

    Thanks

    Good that you are trying!

    I am sorry I havent been able to get something to you yet, I have had some issues.


    This might help though, your thinking of an if/else statement is correct. But an if/else is really just 2 if/then statements.

    So 1 logic node is "if > 0 then blah". Another seperate logic node is "if < 0 then different blah"

    I am thinking of implementing a switch/case into it, but this will be after the config is done.

    So you are close. Also the up vote should work, but this works on the "upstroke" of your mouse. So when you click you press down on the button. As soon as that button goes down, it fires its vote. Now when you release, the mouse goes up, and it fires its upclick vote if it has one.

    I just added the uplick vote and havent tested it yet. I could have an error in it preventing it to work.

    But this will work, and is used mostly as a momentary button (Do only while clicked) like for windows or air ride suspension.
    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. programing in the Uber Edition.
    By customaudioman in forum Fusion Brain
    Replies: 34
    Last Post: 02-27-2008, 11:35 PM
  2. Simulating GPS data for testing
    By god_of_cpu in forum StreetDeck F.A.Q.
    Replies: 0
    Last Post: 08-08-2006, 01:16 PM
  3. Testing with standard AC supply
    By rockthevolvo in forum Power Supplies
    Replies: 5
    Last Post: 08-18-2004, 05:12 PM
  4. Problem testing VIA EPIA w/standard atx power supply
    By khufumen in forum Power Supplies
    Replies: 4
    Last Post: 11-15-2003, 02:22 AM

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
  •