The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins

Reply
 
LinkBack Thread Tools Display Modes
Old 04-19-2006, 10:06 AM   #31
Newbie
 
Join Date: Jan 2004
Posts: 52
Could you tell me how can I capture the log file? Thanks
aal2000 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-19-2006, 11:52 AM   #32
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
select everything ni the window, that's the log
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 04-19-2006, 12:49 PM   #33
Newbie
 
Join Date: Jan 2004
Posts: 52
OK. I will post both files tomorrow.
One more thing, where it is supposed to disply the mid messages in an e46? In the radio display?
aal2000 is offline   Reply With Quote
Old 04-19-2006, 02:36 PM   #34
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
if you set the flag in the ini file to be FF, then it will send to all devices capable of displaying

you should get it displayed in behind the wheel near the instrument cluster and the radio display
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 04-19-2006, 07:34 PM   #35
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
here it is chaps, scrolling text as promised! I have not tested it in the car yet, but it works on my screen here. let me know how it goes, it's the middle of the night and I'm not going outside

Whenever a scroll is required, an extra 2 spaces will be placed at the end of the string, so spaces in the name can be distinguished from the end of the scroll (this of course assumed your song names don't have more than one consecutive space between them!)

The ini file now contains the follwing extra fields to play around with.

; Tells the scrolling mechanism whehter to wrap the scrolled string or not
WrapScroll=True


so either this (true):
Code:
[T H E . T I T L] E . . [H E . T I T L E] . . T [E . T I T L E .] . T H [. T I T L E . .] T H E ...

or this (false):
Code:
[T H E . T I T L] E . . [H E . T I T L E] . . . [E . T I T L E .] . . . [. T I T L E . .] . . . ...

; The message length which to scroll beyond
MessageLength=8

; The scroll speed in milliseconds
ScrollSpeed=400

the startup message will also scroll, as will any entries to the form directly


I may add some more scroll styles. like this (bounce):
Code:
[T H E . T I T L] E S . [H E . T I T L E] S . . [E . T I T L E S] . . . [H E . T I T L E] S . . [T H E . T I T L] E S .

and you would also control the number of bounces before it goes out. what do you guys think?

enjoy, and let me know how it goes
Attached Files
File Type: rar Ibus v1.0.83.rar (83.8 KB, 186 views)
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC

Last edited by sama; 04-19-2006 at 07:49 PM.
sama is offline   Reply With Quote
Old 04-19-2006, 07:52 PM   #36
Low Bitrate
 
DarthTater's Avatar
 
Join Date: Feb 2006
Location: Join me and together we shall rule the galaxy as father and spud.
Posts: 78
That kicks ***, Sama. I should have a chance to test it tomorrow! I'll let you know how it goes.
__________________
See my install here:
540i / 320i Mods

Get a free and lightweight blog here

iPhone Hacks

Thought Soup
DarthTater is offline   Reply With Quote
Old 04-20-2006, 02:37 PM   #37
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
I can confirm this works. I just tested it with FF as a target and both my MID and OBC cluster showed the message. The MID only shows 11 charachters while the OBC shows 19 or 20 (I just counted it but can't remmeber!)

The scroll speed setting also works as does the wrap true/false

however! there's a bug that you can't scroll more than 27 charachters! The reason being (I think) that the ibus packet is limited in size to 32 charachters

68 XX 80 DATA CC
That's 1 + 1 + 1 + 27 + 1 = 31 bytes - which kinda makes sense. So I'll be limiting the strings being sent to 27chars soon and see if that fixes it.


I still can't get rid of this frigging foreground forcing loop thing. it's really ****ing me off now! I've turned off the flags etc. It doesn't happen in the original so I think I'll diff the versions, and start to slowly add the changes to see what's causing it. hell I'm gonna install VB on my carputer till I find out what's doing it
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 04-20-2006, 05:54 PM   #38
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sorry guys, I'm talking to my self here. But here's an updated version that works with any length message, and here's an mp4 video to prove it
Attached Files
File Type: rar IbusComm1.86.rar (83.8 KB, 171 views)
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 04-20-2006, 09:06 PM   #39
Low Bitrate
 
DarthTater's Avatar
 
Join Date: Feb 2006
Location: Join me and together we shall rule the galaxy as father and spud.
Posts: 78
Great job, sama. I just tested it and works almost perfectly. The only problem I came across was if you have a track name that is currently being scrolled and then change to a track that is shorter than the minimum scroll length, it will quickly flash the short track, but then continue scrolling the previous track. Something simple to exit the sub on the track change should fix it. Excellent work, though!
__________________
See my install here:
540i / 320i Mods

Get a free and lightweight blog here

iPhone Hacks

Thought Soup
DarthTater is offline   Reply With Quote
Old 04-21-2006, 01:54 AM   #40
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
Thanks darth. here's a fixed version.

I'll work on bouncing the string next.

I've just had another thought. since we can have 20 charachters, how about this:

Code:
|<------ scrolling track name --------->| 2 1 : 2 3 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20

That can be the track remaining time. this would hog the display, but if the code listens for any displayable messages and stops displaying for say 10 seconds when it sees one, then resumes, that should allow the other message to be seen on the display. We may have to resend the message in cases where the trackname was sent just before the other message was received.

I was also thinking for users that have both the MID and high cluster, independant messages can be sent to both.

what do you think?


I've seen a post on hacktheibus that there's a message sent when reverse is selected. this is used to tell the passenger mirror to go down. I wanted to know if this is for both manuals and autos. I don't see why it shoudln't work for both but just wanted to check. what's ur transmittion? mine's an auto (sadly)
Attached Files
File Type: rar IbusComm1.87.rar (56.5 KB, 166 views)
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC

Last edited by sama; 04-21-2006 at 01:59 AM.
sama is offline   Reply With Quote
Old 04-21-2006, 05:12 PM   #41
Low Bitrate
 
DarthTater's Avatar
 
Join Date: Feb 2006
Location: Join me and together we shall rule the galaxy as father and spud.
Posts: 78
Mine's a standard. That might be a good way to implement a reverse camera. I'll try to do some ibus event logging tonight. There's a couple other messages I need to sort out to get my screen switching perfect, anyway.

I think the independent message thing would be cool - then you could set two different scroll lengths! The scroll timers would probably need to be a little offset so that the bus doesn't get too crowded, though.

*** edit: see version 1.[1].89 a couple posts down - this one had a problem!!! sorry.
Here's my addition to your 1[1].87 code.

I've enabled a crude version of hardware contention management in the ClearToSend sub. If you've set ContentionManagement to modes 3, 4, or 5 in the .ini, then the ClearToSend sub will check to see if there is traffic on the bus before returning a true value. Test your interface to see which line(s) are available to monitor. DSR, CTS, or CD = high, then the bus is clear. If low, then there is traffic. Not quite a full hardware handshake, but better than just the software method.
__________________
See my install here:
540i / 320i Mods

Get a free and lightweight blog here

iPhone Hacks

Thought Soup

Last edited by DarthTater; 04-22-2006 at 07:57 PM.
DarthTater is offline   Reply With Quote
Old 04-21-2006, 05:19 PM   #42
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
interesting. which ibus adaptor do u use? I got the one from eedesignkits or similar.
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 04-21-2006, 05:35 PM   #43
Low Bitrate
 
DarthTater's Avatar
 
Join Date: Feb 2006
Location: Join me and together we shall rule the galaxy as father and spud.
Posts: 78
It probably won't work for you then. I originally bought mine from eedesignkits because it was the only USB solution at the time. Those clowns have taken the SEN/STA pin on the Melexis chip and grounded it. This forces the Tx line open and shuts off any bit comparison between the Tx line and the iBus - ie. no hardware collision detection and no method to monitor the bus activity. I've since switched to Rolf Resler's V5 USB version. It will allow you to monitor the DSR, CTS, or CD lines. I used a handy little program called COM Port Toolkit 3.6 to test both interfaces. Try it on the eekit and you'll see what I'm talking about - the status lines will all stay high no matter what kind of ibus activity is going on. They should take the 'hardware collision detection' bullet off their site, it's simply not true.
__________________
See my install here:
540i / 320i Mods

Get a free and lightweight blog here

iPhone Hacks

Thought Soup
DarthTater is offline   Reply With Quote
Old 04-21-2006, 06:48 PM   #44
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
oh dear... wish I knew that then!

but I guess I'm doing alright for now. if it poses too big a problem, I'll sell this or eat it or something
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 04-22-2006, 07:54 PM   #45
Low Bitrate
 
DarthTater's Avatar
 
Join Date: Feb 2006
Location: Join me and together we shall rule the galaxy as father and spud.
Posts: 78
Sorry guys, that last version was a turd. I put it together and didn't test it in the car first. I screwed up how I was handling the select case for the contention management. Here's a corrected version, I've removed the other one.
Attached Files
File Type: rar IbusComm1[1].89.rar (84.1 KB, 260 views)
__________________
See my install here:
540i / 320i Mods

Get a free and lightweight blog here

iPhone Hacks

Thought Soup
DarthTater 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 Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BMW IBus control for Centrafuse? Hark Centrafuse 20 09-18-2007 07:29 AM
BMW multiple IBUS connectors mudilik General Hardware Discussion 6 03-27-2006 01:22 AM
BMW iBus interface not working anymore aiml27 RR Bug Tracker 1 02-21-2006 11:24 PM
BMW iBus - Any Other Use Other Than Steering Wheel Controls? jmciver General MP3Car Discussion 1 02-12-2006 10:26 PM
BMW iBus Users needed! Stevo759 Newbie 12 02-07-2006 12:42 AM


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


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