The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-11-2008, 07:23 PM   #16
Low Bitrate
bigbuffs's CarPC Specs
 
bigbuffs's Avatar
 
Join Date: Nov 2007
Posts: 74
My Photos: (11)
OK when I open the main program three windows come up, one is the debugging form, the second is the window titled mainbrain, and the third is titles something like fusion uber mdx edition. The third one doesn't seem to be working though. for some reason the only thing that shows up is the title bar.
__________________
[||||||----] - 60% Complete
bigbuffs is offline   Reply With Quote
Sponsored Links
Old 06-12-2008, 12:38 AM   #17
Fusion Brain Creator
2k1Toaster's CarPC Specs
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,136
My Photos: (1)
All you will see is a white window because that is all you have told it to see.

If you look in the graphics section of the configuration file, there is nothing. Not a button, not a background image, nothing. So that is what it displays, nothing.

Code:
- <graphics> - <!-- Begin Global Graphic Settings --> <main_display designed_for_size="800,600" show_at_size="800,600" menubar="Sizeable" RunInSystemTray="False" MinimizeToSystemTray="True" /> - <!-- End Global Graphic Settings --> - <!-- Begin Background Images --> - <!-- End Background Images --> - <!-- Begin Static Images --> - <!-- End Static Images --> - <!-- Begin Variable Location Images --> - <!-- End Variable Location Images --> - <!-- Begin Graph Instances --> - <!-- End Graph Instances --> - <!-- Begin Display Buttons --> - <!-- End Display Buttons --> - <!-- Begin Multi Images --> - <!-- End Display Buttons --> - <!-- Begin Text Labels --> - <!-- End Text Labels --> </graphics>

2k1Toaster is offline   Reply With Quote
Old 06-12-2008, 01:28 AM   #18
Low Bitrate
bigbuffs's CarPC Specs
 
bigbuffs's Avatar
 
Join Date: Nov 2007
Posts: 74
My Photos: (11)
OK I think I understand that, but when i'm using the mainbrain window i see a list of diferent input and the value of each. Each of them reads 0 though. I assume that this is where I can see the value that my SWC wire should be be putting out but I dont get any reading. Is the mainbrain window the one I need to see if it is working?
__________________
[||||||----] - 60% Complete
bigbuffs is offline   Reply With Quote
Old 06-12-2008, 01:31 AM   #19
Fusion Brain Creator
2k1Toaster's CarPC Specs
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,136
My Photos: (1)
Code:
<brain id="Grand Prix Brain">usb\vid_04d8&pid_000c\6&3ab92d65&0&4</brain>

Where are you getting mainbrain from? That is the name of my instance in the example where I explicitly said to change it to what you are using. So your window title should be "Grand Prix Brain" as that is what you called it.

If the window says mainbrain, that means it is monitoring a fusion brain isntance of "mainbrain" which it wont find, so of course everything will be zero...
2k1Toaster is offline   Reply With Quote
Old 06-12-2008, 05:39 AM   #20
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 1,899
My Photos: (0)
Quote: Originally Posted by bigbuffs View Post
OK I think I understand that, but when i'm using the mainbrain window i see a list of diferent input and the value of each. Each of them reads 0 though. I assume that this is where I can see the value that my SWC wire should be be putting out but I dont get any reading. Is the mainbrain window the one I need to see if it is working?

when you put a multimeter on your SWC wire, do you get a reading?

if so, what is it?
greenman100 is offline   Reply With Quote
Sponsored Links
Old 06-12-2008, 07:41 AM   #21
Fusion Brain Creator
2k1Toaster's CarPC Specs
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,136
My Photos: (1)
First I would change that instance id to the correct one and see if the Brain picks anything up. If it does, then no need for further multi-metering... (is that a word?!)
2k1Toaster is offline   Reply With Quote
Old 06-12-2008, 11:52 AM   #22
Low Bitrate
bigbuffs's CarPC Specs
 
bigbuffs's Avatar
 
Join Date: Nov 2007
Posts: 74
My Photos: (11)
First of all I just want to say thank you guys for helping me with this, I'm kind of an idiot some times with this stuff.

I think theres probably some simple thing that I'm doing wrong here. I put the coding in the xml file that I created using the FCC configurator program. I changed the "mainbrain" to "Grand Prix Brain" like you said. Then I slected the xml file and right clicked it and selected open with, then I manually chose the uber mdx program but when I opened it only the one window opens and again the window is blank.

When I installed the program two shortcuts were on my desktop. One was the uber mdx with the logo and the other was the configurator. Again when I open the uber mdx shortcut three windows appear. One is the blank or clear uber mdx where only the title bar displays, the second is a window that has a picture of the fusion brain and it is called fusion brain mainbrain. This window also has a list of all the analog inputs and outputs and the value of each. The third window is a small debugging window that lists like 7-8 different things and then some number after them.

I still get readings from the SWC wire. They are as
NO BUTTONS PRESSED 0
SEEK UP 2.92
SEEK DO 2.32
PRESET 0.88
AM/FM 1.65
VOL UP 4.74
VOL DOW 4.30
PLAY 3.87
MUTE 3.41

Again thanks for the help guys I'm just not sure how to run this stuff.
__________________
[||||||----] - 60% Complete
bigbuffs is offline   Reply With Quote
Old 06-12-2008, 07:41 PM   #23
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 1,899
My Photos: (0)
Quote: Originally Posted by bigbuffs View Post
First of all I just want to say thank you guys for helping me with this, I'm kind of an idiot some times with this stuff.

I think theres probably some simple thing that I'm doing wrong here. I put the coding in the xml file that I created using the FCC configurator program. I changed the "mainbrain" to "Grand Prix Brain" like you said. Then I slected the xml file and right clicked it and selected open with, then I manually chose the uber mdx program but when I opened it only the one window opens and again the window is blank.

When I installed the program two shortcuts were on my desktop. One was the uber mdx with the logo and the other was the configurator. Again when I open the uber mdx shortcut three windows appear. One is the blank or clear uber mdx where only the title bar displays, the second is a window that has a picture of the fusion brain and it is called fusion brain mainbrain. This window also has a list of all the analog inputs and outputs and the value of each. The third window is a small debugging window that lists like 7-8 different things and then some number after them.

I still get readings from the SWC wire. They are as
NO BUTTONS PRESSED 0
SEEK UP 2.92
SEEK DO 2.32
PRESET 0.88
AM/FM 1.65
VOL UP 4.74
VOL DOW 4.30
PLAY 3.87
MUTE 3.41

Again thanks for the help guys I'm just not sure how to run this stuff.

did you get those numbers with the multiumeter? What numbers come up in the debug screen? Can you take a screenshot?
greenman100 is offline   Reply With Quote
Old 06-12-2008, 09:12 PM   #24
Low Bitrate
bigbuffs's CarPC Specs
 
bigbuffs's Avatar
 
Join Date: Nov 2007
Posts: 74
My Photos: (11)
ya those are the numbers from my multimeter, for some reason the debug screen is not showing up anymore. I changed my xml file so that it had some buttons to display but it still shows a blank screen. And actually both the main brain screen and the debug screen stopped showing up. so I added the debug code that 2k1 gave me and that brought back the mainbrain screen but not the debug screen.
__________________
[||||||----] - 60% Complete
bigbuffs is offline   Reply With Quote
Old 06-14-2008, 12:04 AM   #25
Low Bitrate
bigbuffs's CarPC Specs
 
bigbuffs's Avatar
 
Join Date: Nov 2007
Posts: 74
My Photos: (11)
Alright, so with a lot of monkeying I figured out the display driver on my computer sucked so I got an updated one and now I can get graphics to show up. I was also able to run the debug and get some readings from the screen. For some reason the readings stopped after I monkeyed with the xml file some more. Here is the code I used

<?xml version="1.0" encoding="utf-8" ?>
- <FusionControlCentreConfiguration version="3.0.0.0" author="Me" date_created="Friday, June 13, 2008 at 11:12:49 PM" last_modified="Friday, June 13, 2008 at 11:52:56 PM">
- <require>
- <!-- Begin Function Instances
-->
- <!-- End Function Instances
-->
- <!-- Begin Fusion Font Instances
-->
- <!-- End Fusion Font Instances
-->
</require>
- <general>
- <debug status="on">
<virtual_brain id="mainbrain" />
</debug>
</general>
- <graphics>
- <!-- Begin Global Graphic Settings
-->
<main_display designed_for_size="800,600" show_at_size="800,600" menubar="Sizeable" RunInSystemTray="False" MinimizeToSystemTray="True" />
- <!-- End Global Graphic Settings
-->
- <!-- Begin Background Images
-->
<background_image style="centre" imagefilepath="content\images\background_images\gr adient_01.png" page="0" />
- <!-- End Background Images
-->
- <!-- Begin Static Images
-->
- <!-- End Static Images
-->
- <!-- Begin Variable Location Images
-->
- <!-- End Variable Location Images
-->
- <!-- Begin Graph Instances
-->
- <!-- End Graph Instances
-->
- <!-- Begin Display Buttons
-->
- <!-- End Display Buttons
-->
- <!-- Begin Multi Images
-->
- <!-- End Display Buttons
-->
- <!-- Begin Text Labels
-->
- <!-- End Text Labels
-->
</graphics>
- <io>
- <!-- Begin Fusion Brain Instances
-->
<brain id="mainbrain">usb\vid_04d8&pid_000c\6&3ab92d65&0& 4</brain>
- <!-- End Fusion Brain Instances
-->
- <!-- Begin Timer Setup
-->
<timer id="input" interval="75" />
<timer id="output" interval="100" />
<timer id="gui" interval="50" />
<timer id="logic" interval="50" />
- <!-- End Timer Setup
-->
- <!-- Begin Digital Output Instances
-->
- <!-- End Digital Output Instances
-->
- <!-- Begin Analogue Input Instances
-->
- <iochannel id="SWC" port="9" brain="mainbrain" type="analogue_input">
<options history="100" auto_average="false" />
</iochannel>
- <!-- End Analogue Input Instances
-->
</io>
- <logic>
- <!-- Begin Logging Setup
-->
<all_logging />
- <!-- End Logging Setup
-->
- <!-- Begin Variable Declarations
-->
<all_variables />
- <!-- End Variable Declarations
-->
- <!-- Begin Logic Declarations
-->
- <all_statements>
- <if fire_on="logic" minimum_delta_vote_time="100">
- <boolean_operation type="equal to">
- <parameter1>
<analogue id="SWC" time="0" />
</parameter1>
- <parameter2>
<number>4.5</number>
</parameter2>
</boolean_operation>
- <then>
<do function="Send Key" functionTargetID="" vote_opinion="E" vote_priority="Medium" />
</then>
</if>
</all_statements>
- <!-- End Logic Declarations
-->
</logic>
</FusionControlCentreConfiguration>

Port 9 seems to be the correct port as I did have it set to 8 and the readings were very small, but they come through strong on 9. Now I just need to get them to translate to key presses. I'm not sure if I'm using the configurer correctly but I tried to follow 2k1's example here
__________________
[||||||----] - 60% Complete
bigbuffs is offline   Reply With Quote
Old 06-14-2008, 12:12 AM   #26
Fusion Brain Creator
2k1Toaster's CarPC Specs
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,136
My Photos: (1)
Check the brain id. I see a space between the & and the 4 at the end.

Also just looking at your code, nothing is going to happen when you press your button. It has no where to send the key stroke. You want to send "E" but where? You need to tell it the title and/or class name of the window that will use the E key.
2k1Toaster is offline   Reply With Quote
Old 06-14-2008, 02:10 AM   #27
Low Bitrate
bigbuffs's CarPC Specs
 
bigbuffs's Avatar
 
Join Date: Nov 2007
Posts: 74
My Photos: (11)
OK I'll check on it tomorrow, is there a way to get it to send the keypress to all programs just like a keyboard would or do I have to specify a program.
__________________
[||||||----] - 60% Complete
bigbuffs is offline   Reply With Quote
Old 06-14-2008, 04:50 AM   #28
Fusion Brain Creator
2k1Toaster's CarPC Specs
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,136
My Photos: (1)
You need to specify a program.
2k1Toaster is offline   Reply With Quote
Old 06-14-2008, 02:19 PM   #29
Low Bitrate
bigbuffs's CarPC Specs
 
bigbuffs's Avatar
 
Join Date: Nov 2007
Posts: 74
My Photos: (11)
I'm getting everything workin much better but I cant get mdx to send keystrokes. Here is the code I'm using

<?xml version="1.0" encoding="utf-8" ?>
- <FusionControlCentreConfiguration version="3.0.0.0" author="Me" date_created="Saturday, June 14, 2008 at 1:28:05 PM" last_modified="Saturday, June 14, 2008 at 2:02:13 PM">
- <require>
- <!-- Begin Function Instances
-->
- <!-- End Function Instances
-->
- <!-- Begin Fusion Font Instances
-->
- <!-- End Fusion Font Instances
-->
</require>
- <general>
- <debug status="on">
<virtual_brain id="mainbrain" />
</debug>
</general>
- <graphics>
- <!-- Begin Global Graphic Settings
-->
<main_display designed_for_size="800,600" show_at_size="800,600" menubar="Sizeable" RunInSystemTray="False" MinimizeToSystemTray="True" />
- <!-- End Global Graphic Settings
-->
- <!-- Begin Background Images
-->
<background_image style="centre" imagefilepath="content\images\background_images\gr adient_01.png" page="0" />
- <!-- End Background Images
-->
- <!-- Begin Static Images
-->
- <!-- End Static Images
-->
- <!-- Begin Variable Location Images
-->
- <!-- End Variable Location Images
-->
- <!-- Begin Graph Instances
-->
- <!-- End Graph Instances
-->
- <!-- Begin Display Buttons
-->
- <!-- End Display Buttons
-->
- <!-- Begin Multi Images
-->
- <!-- End Display Buttons
-->
- <!-- Begin Text Labels
-->
- <!-- End Text Labels
-->
</graphics>
- <io>
- <!-- Begin Fusion Brain Instances
-->
<brain id="mainbrain">usb\vid_04d8&pid_000c\6&3ab92d65&0& 4</brain>
- <!-- End Fusion Brain Instances
-->
- <!-- Begin Timer Setup
-->
<timer id="input" interval="75" />
<timer id="output" interval="100" />
<timer id="gui" interval="50" />
<timer id="logic" interval="50" />
- <!-- End Timer Setup
-->
- <!-- Begin Digital Output Instances
-->
- <!-- End Digital Output Instances
-->
- <!-- Begin Analogue Input Instances
-->
- <iochannel id="swc" port="9" brain="mainbrain" type="analogue_input">
<options history="0" auto_average="false" />
</iochannel>
- <!-- End Analogue Input Instances
-->
</io>
- <logic>
- <!-- Begin Logging Setup
-->
<all_logging />
- <!-- End Logging Setup
-->
- <!-- Begin Variable Declarations
-->
<all_variables />
- <!-- End Variable Declarations
-->
- <!-- Begin Logic Declarations
-->
- <all_statements>
- <if fire_on="logic" minimum_delta_vote_time="100">
- <boolean_operation type="equal to">
- <parameter1>
<number>4.6</number>
</parameter1>
- <parameter2>
<analogue id="swc" time="0" />
</parameter2>
</boolean_operation>
- <then>
<do function="Send Key" functionTargetID="MediaMonkey:TFMainWindow" vote_opinion="N" vote_priority="Medium" />
</then>
</if>
- <if fire_on="logic" minimum_delta_vote_time="100">
- <boolean_operation type="equal to">
- <parameter1>
<analogue id="swc" time="0" />
</parameter1>
- <parameter2>
<number>4.7</number>
</parameter2>
</boolean_operation>
- <then>
<do function="Send Key" functionTargetID="MediaMonkey:TFMainWindow" vote_opinion="n" vote_priority="Medium" />
</then>
</if>
- <if fire_on="logic" minimum_delta_vote_time="100">
- <boolean_operation type="equal to">
- <parameter1>
<number>4.5</number>
</parameter1>
- <parameter2>
<analogue id="swc" time="0" />
</parameter2>
</boolean_operation>
- <then>
<do function="Send Key" functionTargetID="MediaMonkey:TFMainWindow" vote_opinion="N" vote_priority="Medium" />
</then>
</if>
- <if fire_on="logic" minimum_delta_vote_time="100">
- <boolean_operation type="equal to">
- <parameter1>
<number>4.8</number>
</parameter1>
- <parameter2>
<analogue id="swc" time="0" />
</parameter2>
</boolean_operation>
- <then>
<do function="Send Key" functionTargetID="MediaMonkey:TFMainWindow" vote_opinion="N" vote_priority="Medium" />
</then>
</if>
</all_statements>
- <!-- End Logic Declarations
-->
</logic>
</FusionControlCentreConfiguration>

I'm trying to get it to send and N in media monkey which will make it play the next track. Here is the readings that I'm getting from each button press

SEEK UP 2.8
SEEK DO 2.2
PRESET 0.85
AM/FM 1.6
VOL UP 4.5
VOL DOW 4.1
PLAY 3.75
MUTE 3.75

I just rounded them off. And they do fluctuate a bit but I want mdx to send a certain key everytime each button is pressed.
__________________
[||||||----] - 60% Complete
bigbuffs is offline   Reply With Quote
Old 06-14-2008, 05:13 PM   #30
Fusion Brain Creator
2k1Toaster's CarPC Specs
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,136
My Photos: (1)
You have "equal to" in your logic. So it will only work when it is equal to 4.5 or equal to 4.8. So if it is 4.800000000001 it is not equal to, and will not work.

Sot sure where you even got 4.5 or 4.8 since you said PLAY is 3.75, it doesnt make any sense, and of course will not send anything.

It should be 1 block statement of "if swc > 3.6 and swc < 3.9 then send N to the mediamonkey program".
2k1Toaster is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PSone LCD: Possible to switch between VGA input and RCA input? mattress LCD/Display 10 06-07-2006 09:13 AM
Problems with XM input thru any front end CyberLogic Software & Software Development 10 05-07-2006 01:49 PM
8" touchscreen Lcd input question? kitt350 LCD/Display 0 04-02-2006 03:10 PM
Pioneer AUX input problem grunar General Hardware Discussion 8 03-25-2003 08:09 AM
can I use an amplifier for rca input?? sheriff General Hardware Discussion 1 03-23-2001 08:03 AM


All times are GMT -5. The time now is 01:16 PM.


Sponsored Links
The MP3car.com Store

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