Page 5 of 7 FirstFirst 1234567 LastLast
Results 41 to 50 of 63

Thread: MDX and COM big update

  1. #41
    Newbie
    Join Date
    Nov 2008
    Posts
    42
    Quote Originally Posted by 2k1Toaster View Post
    I will be getting to you and figure this out. This is just a really bad time right now.

    I had 4 finals today, 1 tomorrow, 1 wednesday, and some essays and projects to do for university.

    After Thursday/Friday, things will be calmed down a bit and I will be able to start working on this again.

    So just so you know I am not trying to ignore you, and later this week I can get back working on it.
    I totally understand, I've been there! Just whenever you get time I would really appreciate your help.

  2. #42
    JiC
    JiC is offline
    Newbie
    Join Date
    Sep 2008
    Posts
    26
    I think I'm in the same boat as faron.
    Here is my code:

    general section:
    Code:
      <general>
      <debug status="on">
       <virtual_brain id="my fusion brain 0"></virtual_brain>
      </debug>
    
    
      <!-- Begin Remote Control Configuration -->
        <remote status="disabled" user_name="default" port="4242"></remote>
      <!-- End Remote Control Configuration -->
    
      <com status="enabled">
        <commands>
          <command id="ResetUSB" minimum_delta_vote_time="100">
            <do function="trigger output" functionTargetID="digital output 0" vote_opinion="on" vote_priority="medium"></do>
            <do function="trigger output" functionTargetID="Digital Output 1" vote_opinion="on" vote_priority="medium"></do>
          </command>
        </commands>
    
    
        <executable_commands>
          <external_COM_id id="RoadRunner.SDK">
            <command internal_id="RoadRunnerCommand_PLAY" external_command="Execute">
              <parameter order="0" external_command_parameter="PLAY" />
            </command>
            <command internal_id="RoadRunnerCommand_NEXT" external_command="Execute">
              <parameter order="0" external_command_parameter="NEXT" />
            </command>
            <command internal_id="RoadRunnerCommand_PREV" external_command="Execute">
              <parameter order="0" external_command_parameter="PREV" />
            </command>
            <command internal_id="RoadRunnerCommand_VOL+" external_command="Execute">
              <parameter order="0" external_command_parameter="VOL+" />
            </command>
    	<command internal_id="RoadRunnerCommand_VOL-" external_command="Execute">
              <parameter order="0" external_command_parameter="VOL-" />
            </command>
          </external_COM_id>
        </executable_commands>
      </com>
    
      </general>
    My I/O Code:
    Code:
      <io>
      <!-- Begin Fusion Brain Instances -->
          <brain id="My Fusion Brain 0">brain id 0</brain>
      <!-- End Fusion Brain Instances -->
    
      <!-- Begin Timer Setup -->
          <timer id="input" interval="75"></timer>
          <timer id="output" interval="100"></timer>
          <timer id="gui" interval="50"></timer>
          <timer id="logic" interval="50"></timer>
      <!-- End Timer Setup -->
    
      <!-- Begin Digital Output Instances -->
          <iochannel id="Digital Output 0" port="0" brain="my fusion brain 0" type="digital_output">
            <defaults defaultstate="off"></defaults>
          </iochannel>
          <iochannel id="Digital Output 1" port="1" brain="my fusion brain 0" type="digital_output">
            <defaults defaultstate="off"></defaults>
          </iochannel>
      <!-- End Digital Output Instances -->
    
      <!-- Begin Analogue Input Instances -->
          <iochannel id="Analogue Input 0" port="0" brain="my fusion brain 0" type="analogue_input">
            <options history="15" auto_average="false"></options>
          </iochannel>
      <!-- End Analogue Input Instances -->
      </io>
    And in RR's ExecTBLE.ini:
    Code:
    "ONSONGSTART","fusion_vote_ResetUSB"
    "ONSKINSTART","fusion_vote_ResetUSB"
    "ONSUSPEND","fusion_vote_ResetUSB"
    "ONRESUME","fusion_vote_ResetUSB"
    MDX is sending the commands to RR without any problems, however I can not get RR to turn that damn input on! exe version is 3.1.0.772

  3. #43
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Ok. I used your code, and my exe and my RR, and it works. It turns both inputs on.

    Use the updater to get the new exe.

    As for the other files:

    Fusion Config file: http://www.fusioncontrolcentre.com/T...figuration.xml

    RoadRunner Skin file for BMV2: http://www.fusioncontrolcentre.com/T..._001/menu.skin

    Full BMV2 Skin if you dont have it (includes that skin file): http://www.fusioncontrolcentre.com/T...M_001/BMV2.rar


    If that doesnt work, there is something going on within RoadRunner.
    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. #44
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    And the new file version for MDX is 3.1.0.792

    Also if it doesnt work, run the "FusionCOM_Registration.cmd" file to register that dll. And dont move the dll's to RR's folder.

    Also make sure you have this in your RR skin file:

    Code:
    /, Fusion Control Centre
    X,FusionCOM
    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. #45
    Newbie
    Join Date
    Nov 2008
    Posts
    42
    thank you very much, that seems to work. I guess i was missing the:

    /, Fusion Control Centre
    X,FusionCOM

    Also I ran the updater manually, plus it runs every time i start up the machine and the version of the exe remains 3.1.0.772. The updater says no updates available.

  6. #46
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Quote Originally Posted by faron View Post
    thank you very much, that seems to work. I guess i was missing the:

    /, Fusion Control Centre
    X,FusionCOM

    Also I ran the updater manually, plus it runs every time i start up the machine and the version of the exe remains 3.1.0.772. The updater says no updates available.
    That's because I forgot to upload the xml file to the server!

    Fixed now.

    What about jic, does it work for you now?

    And again sorry for the delay, but I am all ears for a while now.
    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. #47
    JiC
    JiC is offline
    Newbie
    Join Date
    Sep 2008
    Posts
    26
    Don't worry about the delay I still think this is super timely and helpful support! I just finished some exams myself so I'm going to give this a try tonight. I was also missing the X,FusionCOM line so i have a feeling that will make the difference for me. I'm just having one other issue I'd like to figure out before I bring the new files down to the car. I made another thread.

  8. #48
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Quote Originally Posted by JiC View Post
    Don't worry about the delay I still think this is super timely and helpful support! I just finished some exams myself so I'm going to give this a try tonight. I was also missing the X,FusionCOM line so i have a feeling that will make the difference for me. I'm just having one other issue I'd like to figure out before I bring the new files down to the car. I made another thread.
    ok, well the X,FusionCOM is what tells RoadRunner to even look at external COM obejcts basically. So it is 100% required.

    Let me know if it works.
    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. #49
    JiC
    JiC is offline
    Newbie
    Join Date
    Sep 2008
    Posts
    26
    Awesome, it's working perfectly now. Well almost perfectly.

    on startup I call FCC (because it runs RR for me)

    using "ONSKINSTART","fusion_vote_ResetUSB" makes RR throw an error because RR loads faster then MDX.

    So I need to find a way for RR to delay sending that command.

    I have very limited knowledge of RR's commands right now. I know that there is a wait command -- "WAIT;2" -- would wait 2 seconds. But I don't know if I can stack commands in the ExecTBLE.ini.

    "ONSKINSTART","WAIT;2,fusion_vote_ResetUSB" ??

  10. #50
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Well I dont know RoadRunner skinning either. Sounds like a question for the RR subforum.


    But why are you getting RR to send the command? Why not have MDX send the reset command on 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

Page 5 of 7 FirstFirst 1234567 LastLast

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
  •