Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain > FB Software


Reply
 
Share Thread Tools Display Modes
Old 12-15-2008, 09:33 PM   #1
JiC
Newbie
 
Join Date: Sep 2008
Posts: 25
JiC is an unknown quantity at this point
MDX and AutoIt with COM

Just upgraded to the new version of MDX with COM support. Awesome! Got Steering wheel controls working great with RR.

Now question #2, how do I control Fusion Brain from AutoIt using COM?
I'm guessing something like this:

Code:
$FB = ObjGet("","FusionCOM.FusionServer") $FB.usboff

And in the Fusion Config
Code:
<com status="enabled"> <commands> <command id="usboff" minimum_delta_vote_time="100"> <do function="trigger output" functionTargetID="Digital Output 0" vote_opinion="off" vote_priority="medium"></do> </command> </commands> ...etc

But of course it's not that simple. Anyone have any ideas?
JiC is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 12-18-2008, 11:42 AM   #2
Constant Bitrate
 
stealinfool's Avatar
 
Join Date: Dec 2005
Location: Orlando
Posts: 142
stealinfool is on a distinguished road
You shouldn't have logic (do_function) in the commands section.


Whatever your AutoIt COM name is:
Code:
<com status="enabled"> <executable_commands> <external_COM_id id="INSERT YOUR COME HERE">

Then your command and parameter (what AutoIt is being told by MDX)
Code:
<command internal_id="command_xx" external_command="xx"> <parameter order="0" external_command_parameter="xx" /> </command>

You're have to find those values out an insert accordingly.

Then for the logic
Code:
<do function="external command" functionTargetID="command_xx" vote_opinion="xx" vote_priority="Medium"></do>

__________________
DON'T PANIC.

Previous install pics in 2k3 S10

Project CarPc V2
stealinfool is offline   Reply With Quote
Old 12-21-2008, 10:03 PM   #3
JiC
Newbie
 
Join Date: Sep 2008
Posts: 25
JiC is an unknown quantity at this point
stealin what you are describing is how you'd send commands to AutoIt FROM MDX. I'm talking about doing the reverse.

In that case you CAN have logic like do function in the commands section.

This whole thread is moot now. I was trying to do this as a workaround since I couldn't find a way to get RR to send commands successfully, but that has been resolved (See this thread)
JiC is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT -5. The time now is 04:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics