Results 1 to 4 of 4

Thread: FusionConfiguration XML Examples

  1. #1
    Newbie
    Join Date
    Dec 2007
    Location
    Victoria, Australia
    Posts
    21

    Question FusionConfiguration XML Examples



    For: MDX-18-02-2008 (doesnt have sence logic for guages)

    It would be really helpful if some FusionConfiguration.XML files could be posted that have coding for digital input/output, and analogue input that work-
    ie:
    (digital) on/off switch
    (analogue) temperture sensor

    It would then be easier to modify files to work other items

    thankyou in advance

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Look at the file "FusionConfigurationOLDBMV2.xml"

    If you want a button to trigger an output, then make a button and set the function to "trigger output" and the vote opinion to be "on" if you want the output on when the button is on, and "off" if you want the output on when the button off. The target ID must be the same id as the output you want to control. That easy.

    Code:
        <button id="Output2_Button" enabled="yes" function="trigger output" functionTargetID="Test Output 2" vote="attached" vote_opinion="off" vote_priority="medium">
          <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
          <display size="190,50" location="225,25" page="0"></display>
        </button>
    To setup the I/O channels, go to the IO section of the config file...

    Code:
        <iochannel id="Ultrasonic" port="9" brain="MainBrain" type="analogue_input">
          <options history="15" auto_average="false"></options>
        </iochannel>
    		<iochannel id="Heater" port="10" brain="MainBrain" type="digital_output">
    			<defaults defaultstate="off"></defaults>
    		</iochannel>
    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. #3
    Constant Bitrate
    Join Date
    Jul 2005
    Posts
    221
    im likin this, keep examples flowing

  4. #4
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Hopefully once the configurator is up and running, you wont ever need to touch the code
    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. gas price in xml
    By bembowe in forum General MP3Car Discussion
    Replies: 1
    Last Post: 12-20-2006, 12:27 AM
  2. NMEA extraction AppleScript need help
    By zapwizard in forum MacCar
    Replies: 15
    Last Post: 05-05-2006, 02:10 AM
  3. Google Earth for OSX
    By zapwizard in forum MacCar
    Replies: 52
    Last Post: 05-01-2006, 12:52 AM
  4. Delphi SDK examples?
    By Nisos in forum FreeDrive
    Replies: 11
    Last Post: 04-23-2005, 06:22 PM
  5. PhoneControl XML files editing tool
    By zorro in forum PhoneControl
    Replies: 0
    Last Post: 10-17-2004, 07:25 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
  •