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 Display Modes
Old 04-06-2008, 05:06 AM   #1
FLAC
-zip-'s CarPC Specs
 
-zip-'s Avatar
 
Join Date: Sep 2004
Location: Ontario/Canada
Vehicle: 2000 Protege
Posts: 1,136
My Photos: (1)
Need Help with MDX

2 Temp Sensors

I want to keep the graphics that come with the example skin and have the inside and outside temp graphics.

Want to also have the temperature numerically and have the graphs move as well.

Cant figure out how to get the graphs to work or add the temp number numerically.

Played with the configurator nicely done btw, but could not figure the graph movement, or where the heck you put the port for the sensor and link it to the graph.

I know its beta so little docs are available yet, if someone could point in the right direction.

Tyvm for your help.
__________________
Carputer
Installed Since April 2, 2005
Intel D201GLY|Fusion Brain|Audigy2 NX||ODBPros ODBII|Engenius362ext |Motorized lilli|GPS Rikaline 6010|Opus 150|Powermate|Ergonomic Touchpad|
Sound Stage
Eclipse CD8455|MTX TA3404+421D|Infinity Comps|ID 12" Sub
-zip- is offline   Reply With Quote
Sponsored Links
Old 04-06-2008, 11:42 PM   #2
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: 6,852
My Photos: (1)
Quote: Originally Posted by -zip- View Post
2 Temp Sensors

I want to keep the graphics that come with the example skin and have the inside and outside temp graphics.

Want to also have the temperature numerically and have the graphs move as well.

Cant figure out how to get the graphs to work or add the temp number numerically.

Played with the configurator nicely done btw, but could not figure the graph movement, or where the heck you put the port for the sensor and link it to the graph.

I know its beta so little docs are available yet, if someone could point in the right direction.

Tyvm for your help.

I've been through so many iterations of the skin file I cant even remember what the example looks like! Is it is the Nissan style one?

By graphs you mean the circle arches correct? The circle arches are multi-images with the auto load feature. If you look in the code there are 2 tags that tell it what to monitor. If you want to monitor a variable (i.e. an evaluated number, so 75 degrees instead of 3.2 volts or something) then change the monitor type to variable, and the monitor ID to the ID of the variable.

Here is a sample code for a text label:

Code:
<text_label id="OutsideTemperature_Guage_TextIndicator" text="00" auto_monitor="variable" auto_monitorTarget="Variable_OutsideTemperature"> <font font_id="LED50" font_size="40"></font> <display location="97,191" page="0"></display> <config decimals="1" max_size="77,32"></config> </text_label>

2k1Toaster is offline   Reply With Quote
Old 04-07-2008, 12:31 AM   #3
FLAC
-zip-'s CarPC Specs
 
-zip-'s Avatar
 
Join Date: Sep 2004
Location: Ontario/Canada
Vehicle: 2000 Protege
Posts: 1,136
My Photos: (1)
yep perfect, will give it a spin tomorrow.
__________________
Carputer
Installed Since April 2, 2005
Intel D201GLY|Fusion Brain|Audigy2 NX||ODBPros ODBII|Engenius362ext |Motorized lilli|GPS Rikaline 6010|Opus 150|Powermate|Ergonomic Touchpad|
Sound Stage
Eclipse CD8455|MTX TA3404+421D|Infinity Comps|ID 12" Sub
-zip- is offline   Reply With Quote
Old 04-07-2008, 02:48 AM   #4
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: 6,852
My Photos: (1)
Quote: Originally Posted by -zip- View Post
yep perfect, will give it a spin tomorrow.

sounds good let me know if it works.
2k1Toaster is offline   Reply With Quote
Old 04-07-2008, 07:04 PM   #5
FLAC
-zip-'s CarPC Specs
 
-zip-'s Avatar
 
Join Date: Sep 2004
Location: Ontario/Canada
Vehicle: 2000 Protege
Posts: 1,136
My Photos: (1)
...ugh wrong ports i'm such a noob.

Thanks Green, nice to know how to work the Debug feature LOL.
__________________
Carputer
Installed Since April 2, 2005
Intel D201GLY|Fusion Brain|Audigy2 NX||ODBPros ODBII|Engenius362ext |Motorized lilli|GPS Rikaline 6010|Opus 150|Powermate|Ergonomic Touchpad|
Sound Stage
Eclipse CD8455|MTX TA3404+421D|Infinity Comps|ID 12" Sub

Last edited by -zip- : 04-07-2008 at 10:16 PM.
-zip- is offline   Reply With Quote
Old 04-07-2008, 08:14 PM   #6
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 1,864
My Photos: (0)
take a screenshot of the debug window with both sensors connected

http://www.mp3car.com/vbulletin/1195770-post6.html
greenman100 is offline   Reply With Quote
Old 04-07-2008, 10:08 PM   #7
FLAC
-zip-'s CarPC Specs
 
-zip-'s Avatar
 
Join Date: Sep 2004
Location: Ontario/Canada
Vehicle: 2000 Protege
Posts: 1,136
My Photos: (1)
OK, back to software after my little blunder..

Still not getting it, dont know how the iochannel ties into the gauges, this was a guess on what to do. I snipped out what I did not need from the example skin, label is not working either but I bet its because I dont have it set correctly.

Code:
<?xml version="1.0" encoding="utf-8" ?> <FusionControlCentreConfiguration version="3.0.0.0" author="Nicholas Vergunst" date_created="Tuesday, January 31st, 2008" last_modified="Thursday, February 7th, 2008"> <require> <font name="Arial14" originalSize="14" font_config="Content\config\fonts\FusionFontArial14.xml"></font> <font name="LED50" originalSize="50" font_config="Content\config\fonts\FusionFontLED.xml"></font> </require> <general> <debug status="on"></debug> <remote> <watch_folder path=""></watch_folder> </remote> </general> <graphics> <main_display designed_for_size="800,600" show_at_size="800,600" menubar="sizeable" RunInSystemTray="false" MinimizeToSystemTray="true"></main_display> <background_image style="stretch" imagefilepath="Content\FusionSRT_images\Background\Gradient_01.png" page="0"></background_image> <!-- ** BEGIN STATIC GUAGE BACKGROUNDS ** --> <staticimage> <image path="Content\FusionSRT_images\Guages\OutsideTemperature.png"></image> <display size="260,170" location="5,91" page="0" z_order="0.9"></display> </staticimage> <staticimage> <image path="Content\FusionSRT_images\Guages\InsideTemperature.png"></image> <display size="260,170" location="270,91" page="0" z_order="0.9"></display> </staticimage> <!-- ** END STATIC GUAGE BACKGROUNDS ** --> <!-- ** BEGIN GUAGE NEEDLES ** --> <multiimage id="OutsideTemperature_Guage" monitorType="variable" monitorID="Variable_OutsideTemperature"> <display size="180,180" location="46,139" page="0"></display> <options imageScaling="stretch"></options> <imageAUTO directory_path="Content\FusionSRT_images\Guages\UberArcByh3rk"> <image_range filename_base="" filename_start="0" filename_end="170" filename_extension="png"></image_range> <value_range value_start="70" value_end="80"></value_range> <options rotate="5"></options> </imageAUTO> </multiimage> <multiimage id="InsideTemperature_Guage" monitorType="variable" monitorID="Variable_InsideTemperature"> <display size="180,180" location="311,139" page="0"></display> <options imageScaling="stretch"></options> <imageAUTO directory_path="Content\FusionSRT_images\Guages\UberArcByh3rk"> <image_range filename_base="" filename_start="0" filename_end="170" filename_extension="png"></image_range> <value_range value_start="70" value_end="80"></value_range> <options rotate="5"></options> </imageAUTO> </multiimage> <!-- ** END GUAGE TEXT INDICATORS ** --> </graphics> <io> <brain id="MainBrain">usb\vid_04d8&amp;pid_000c\6&amp;4dc1f33&amp;0&amp;2</brain> <timer id="logic" interval="65"></timer> <timer id="gui" interval="30"></timer> <timer id="output" interval="100"></timer> <timer id="input" interval="50"></timer> <iochannel id="InsideTemp" port="0" brain="MainBrain" type="analogue_input"> <options history="1" auto_average="false"></options> </iochannel> <iochannel id="OutsideTemp" port="1" brain="MainBrain" type="analogue_input"> <options history="1" auto_average="false"></options> </iochannel> </io> <logic> <all_variables> <variable name="Variable_OutsideTemperature">70</variable> <variable name="Variable_InsideTemperature">72</variable> </all_variables> <all_logging> </all_logging> <all_statements> </all_statements> </logic> </FusionControlCentreConfiguration>

__________________
Carputer
Installed Since April 2, 2005
Intel D201GLY|Fusion Brain|Audigy2 NX||ODBPros ODBII|Engenius362ext |Motorized lilli|GPS Rikaline 6010|Opus 150|Powermate|Ergonomic Touchpad|
Sound Stage
Eclipse CD8455|MTX TA3404+421D|Infinity Comps|ID 12" Sub

Last edited by -zip- : 04-07-2008 at 10:16 PM.
-zip- is offline   Reply With Quote
Old 04-07-2008, 10:43 PM   #8
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 1,864
My Photos: (0)
Your IOChannel ID is the name assigned to the variable that is collected by the FUsion Brain for that specific port. This would be a number ranging from 0 to 5 volts DC.

Then, in Logic, you convert that to another value, in this case degrees. What you've done is set two constants, "Variable_OutsideTemperature" and "Variable_InsideTemperature".

In graphics, "monitorID="Variable_OutsideTemperature"" tells it to read "Variable_OutsideTemperature" to determine how to draw the graphic.

make sense?
greenman100 is offline   Reply With Quote
Old 04-13-2008, 04:55 PM   #9
FLAC
-zip-'s CarPC Specs
 
-zip-'s Avatar
 
Join Date: Sep 2004
Location: Ontario/Canada
Vehicle: 2000 Protege
Posts: 1,136
My Photos: (1)
Nope still not sinking in. I keep trying to fiddle with stuff for hours, there really is no docs yet for me to figure this out. Or some kind of direction/examples. Ok gotta favor. Write a sample code.

Lets say its for outside temperature. on Port 0.

1. 1 Temp Sensor, showing temp in Fahrenheit and one moving graphic, the Nissan one with the donut looking arc graphic.

2. A text label showing the same thing. Tried the above example, im so useless I tried cut and paste nothing showed.
__________________
Carputer
Installed Since April 2, 2005
Intel D201GLY|Fusion Brain|Audigy2 NX||ODBPros ODBII|Engenius362ext |Motorized lilli|GPS Rikaline 6010|Opus 150|Powermate|Ergonomic Touchpad|
Sound Stage
Eclipse CD8455|MTX TA3404+421D|Infinity Comps|ID 12" Sub
-zip- is offline   Reply With Quote
Old 04-13-2008, 05:31 PM   #10
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: 6,852
My Photos: (1)
Download the attachment and put it in your functions folder (well unrar it to your functions folder)

Make a Brain, make an Analogue to your temp sensor, make a variable (numeric).

Then make the following if statement:


Then make a multiimage follow the variable like this:


If you want to use h3rk's arc, then (you might need to rename the first 10 files to 001, 002, 003, 004... and so on if you havent already.

Then open the auto import from folder icon, set the max and min temps you want that arc to represent and click open. Then save and save the whole thing and there you go.



For the text label use the code above but put your variable name in it. The example uses the variable called "Variable_OutsideTemperature".

You also need that font file in the required such as:

Code:
<require> <font name="LED50" originalSize="50" font_config="Content\config\fonts\FusionFontLED.xml"></font> <require>

with the appropriate font file in the location it says. You should have this font in that spot because I include it in the download.

Code:
<text_label id="TextIndicator_Temp" text="00" auto_monitor="variable" auto_monitorTarget="Variable_OutsideTemperature"> <font font_id="LED50" font_size="40"></font> <display location="97,191" page="0"></display> <config decimals="1" max_size="77,32"></config> </text_label>


functions.rar
2k1Toaster is offline   Reply With Quote
Sponsored Links
Old 04-13-2008, 05:38 PM   #11
FLAC
h3rk's CarPC Specs
 
Join Date: Oct 2006
Location: Las Vegas
Vehicle: 2006 Nissan Altima
Posts: 1,043
My Photos: (0)
I was just adding some of these premade functions to my christmas list when you chimed in. Thanks for that.

That really does take the scary out of cascading if statements in a skin!!!

I noticed that I can't open these pre-made functions in the "Functions" area in the upper right window. I was starting to make an example one by trying to edit the oil one.
h3rk is offline   Reply With Quote
Old 04-13-2008, 05:40 PM   #12
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: 6,852
My Photos: (1)
You should be able to with the *.designer file as well. Can you elaborate if you cannot?
2k1Toaster is offline   Reply With Quote
Old 04-13-2008, 05:50 PM   #13
FLAC
h3rk's CarPC Specs
 
Join Date: Oct 2006
Location: Las Vegas
Vehicle: 2006 Nissan Altima
Posts: 1,043
My Photos: (0)
ok, if you start from scratch in configurator, they are are available there, but if you open a pre-worked-on (maybe in xml, for maybe stripped down version of SRT skin) config file, they do not appear in that box.
h3rk is offline   Reply With Quote
Old 04-14-2008, 11:18 PM   #14
FLAC
-zip-'s CarPC Specs
 
-zip-'s Avatar
 
Join Date: Sep 2004
Location: Ontario/Canada
Vehicle: 2000 Protege
Posts: 1,136
My Photos: (1)
Thanks Guys, will give it another shot during the week.
__________________
Carputer
Installed Since April 2, 2005
Intel D201GLY|Fusion Brain|Audigy2 NX||ODBPros ODBII|Engenius362ext |Motorized lilli|GPS Rikaline 6010|Opus 150|Powermate|Ergonomic Touchpad|
Sound Stage
Eclipse CD8455|MTX TA3404+421D|Infinity Comps|ID 12" Sub

Last edited by -zip- : 04-14-2008 at 11:28 PM.
-zip- is offline   Reply With Quote
Old 04-15-2008, 12:12 AM   #15
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 1,864
My Photos: (0)
The cables could be picking up noise. Are your extensions shielded?
greenman100 is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB 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
Uber MDX Configurator Beta Testing... 2k1Toaster Software 344 06-08-2008 11:49 PM
Documentation - Installing Version MDX greenman100 Documentation and Tutorials 1 03-11-2008 11:39 PM
Tutorial - Anti-Thump Amp Delay For Carputer Boots: Version 2 & MDX greenman100 Documentation and Tutorials 1 03-11-2008 08:39 PM
configure the new mdx 3.0.0.0 customaudioman Software 2 02-21-2008 02:55 AM
2001 Acura MDX constant 12v power outlet. geobag Power Supplies 3 07-09-2007 03:35 PM


All times are GMT -5. The time now is 09:05 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics