Results 1 to 4 of 4

Thread: How to save values of variables from MDX

  1. #1
    Newbie
    Join Date
    Oct 2010
    Location
    Canada
    Posts
    55

    How to save values of variables from MDX

    Hi guys,
    So I've managed to finally complete my skinning and customizing of MDX to create HVAC controls for my carputer. The last feature that I would like to implement is the ability to save data for the variables, so that if the program is closed, I can open it, and rather than having the variables set to some default value from the config file, values could be loaded that were set within the program the last time it was running. This is more important for the graphical parts of the interface to retain fan speed indicators and temperature settings, ect.

    I have absolutely no idea of how to code this within MDX (if its even possible), so detailed suggestions/help would be greatly appreciated.

    -Nick

  2. #2
    Newbie
    Join Date
    Oct 2010
    Location
    Canada
    Posts
    55
    Is this not possible at all?

  3. #3
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Hi sorry I missed this thread.

    Currently not possible is the short answer. You can do some fancy things with calling an external exe or batch file with variables and that can save and then reopen the variables. But currently 100% completely contained in MDX is only default values.

    The new software will allow saved variable states.
    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. #4
    Newbie
    Join Date
    Oct 2010
    Location
    Canada
    Posts
    55
    Thanks 2K. Saving the variable state will definitely make things almost perfect especially since my HVAC controls are 100% digital, rather than having the FB control the system directly, I am wiring it to the original circuit board for the HVAC system in my car and having the software mimic pushing the actual buttons with relays. Thus i have to have the software remember how may times the button has been pushed to give me the correct display of temp, fanspeed, mode, ect.

    Any idea when the new software will be out? I've tried to port my work over to rrfusion, as I believe i could save variable states with it, but i've found the programming even more confusing than MDX, and am not sure if I could accomplish the same sort of function with a skin in rr as i can in MDX.
    Last edited by doctr_nick; 03-02-2011 at 08:22 PM.

Similar Threads

  1. System Metric Values
    By ssteger in forum VaultWiki
    Replies: 0
    Last Post: 02-11-2010, 10:26 AM
  2. Dashcommand PID values?
    By hakkow in forum DashCommand
    Replies: 3
    Last Post: 12-20-2009, 11:49 PM
  3. Interpreting values
    By finnj6 in forum FB Software
    Replies: 5
    Last Post: 04-19-2009, 10:36 AM
  4. Fluctuating Input Values
    By thwack in forum Fusion Brain
    Replies: 4
    Last Post: 09-22-2008, 08:32 PM
  5. WinAMP .PST Values
    By Tissy in forum Car Audio
    Replies: 1
    Last Post: 01-08-2007, 07:14 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
  •