MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Input / Output interfaces » External Display » Support


Support Support for external displays.

Closed Thread
 
Thread Tools Display Modes
Old 2007-08-31, 22:33   #41 (permalink)
Portal Member
 
Join Date: Apr 2006
Age: 32
Posts: 277
Thanks: 2
Thanked 3 Times in 2 Posts

Country:


Default

Isn't the graphical version of iMON driver limited to one row display only?

Can you btw release just the imon plug-in here? I don't feel like installing the complete SVN since I am so satisfied with the version I have now. My g/f gets so pissed on me all the time for installing new versions and that nothing is working as she is used to

Last edited by Johan; 2007-08-31 at 22:35. Reason: Automerged Doublepost
Johan is offline  
Old 2007-08-31, 23:20   #42 (permalink)
Portal Developer
 
Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts

Country:


Default

no... the LCD driver does 2x16 text... just don't select "force graphical text"..

I've attached the compiled processplugin.dll for your convenience... it's for 0.2.3... If you need it for 0.2.2 you'll have to wait for someone else to post it... I don't have the source for 0.2.2.

Last edited by cybrmage; 2008-03-14 at 08:11.
cybrmage is offline  
This User Say Thank You:
Old 2007-09-01, 01:05   #43 (permalink)
Portal Member
 
Join Date: Apr 2006
Age: 32
Posts: 277
Thanks: 2
Thanked 3 Times in 2 Posts

Country:


Default

Thanks cybrmage!
Unfortunately I only get unhandled exception when I try to configure and the display is not working.
I am using 0.2.3 RC1 (dont know which SVN).
Johan is offline  
Old 2007-09-01, 03:08   #44 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 36
Thanks: 0
Thanked 3 Times in 1 Post

Country:

My System

Default Swedish Characters Updated

Quote:
Originally Posted by Johan View Post
Thanks cybrmage!
Unfortunately I only get unhandled exception when I try to configure and the display is not working.
I am using 0.2.3 RC1 (dont know which SVN).
The new driver set excludes iMONLCD, so you need to either (1) delete externaldisplay.xml and rerun config, or (2) edit the second line in externaldisplay.xml and change iMonLCD to iMONLCDg.


Thanks cybrmage and Joe for their changes. It's good to see the collaborate work, but causes havok trying to keep up to date.

The attachments have fixed (I hope, but cannot guarantee) the non-english characters and used the last source in the SVN store. The 8x5 bitmap has some limitations, but hopefully they are ok, if not, they can be changed easily.

They are for MP 2.2, and MP 2.3 RC1, and source code for the driver is attached for loading to the SVN.

If you do not want the clock to display in shutdown, check the backlight box in config.
Attached Files
File Type: zip iMONLCD.zip (483.8 KB, 129 views)

Last edited by ralphy; 2007-09-01 at 08:20. Reason: typos
ralphy is offline  
Old 2007-09-01, 07:35   #45 (permalink)
Portal Member
 
Join Date: Apr 2006
Age: 32
Posts: 277
Thanks: 2
Thanked 3 Times in 2 Posts

Country:


Default

Thanks to all programmers for making this possible!

I get åäö and I can now change contrast.

However I don't get it to turn off or show time in standby.
I have tried either have Backlight checked or unchecked, but no difference.

It is however working if i exits MP.

Is it possible for turn off with MP running when going to standby?
It was when using imon frontview and MCEdisplay plug-in.

Last edited by Johan; 2007-09-01 at 07:57.
Johan is offline  
Old 2007-09-01, 13:02   #46 (permalink)
iSP
Portal Member
 
Join Date: Jan 2007
Age: 24
Posts: 67
Thanks: 0
Thanked 4 Times in 4 Posts

Country:


Default

The new plugin keeps crashing for me, just like the old one.
It seems every time I update the driver I have to uninstal mp 2.3, install 2.2 to overwrite all the settings in the register, uninstall it and install 2.3 again... at least this worked last time.
And yes it's that exception error... it only happens to this plugin, not to the rest of mp, which runs fine.
Any clue what it is? Might just stick to 2.2 if I get it working right this time.


2.2 keeps crashing now too, can't get either of them, even an older version of the plugin, working anymore

The error I get:


Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.

************** Tekst van uitzondering **************
System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
bij ProcessPlugins.ExternalDisplay.SetupForm.VerifyLCD Type()
bij ProcessPlugins.ExternalDisplay.SetupForm..ctor()
bij ProcessPlugins.ExternalDisplay.ExternalDisplay.Sho wPlugin()
bij MediaPortal.Configuration.Sections.PluginsNew.item Configure_Click(Object sender, EventArgs e)
bij System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
bij System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
bij System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
bij System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
bij System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
bij System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
bij System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
bij System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs mea)
bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
bij System.Windows.Forms.ToolStrip.WndProc(Message& m)
bij System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)
bij System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladen assembly's **************
*cut*


Got the version from the start post working again, but as soo nas I overwrite ProcessPlugins.dll with the latest one I get this error again...

Again a edit,sigh... after like an hour of installing mp/uninstalling mp/enabling the plugin/disabling it again, I got it working.
Totally randomly, and I can't tell what fixed it this time.
It's exactly what happened to me last time, took me many hours of trying and then suddenly it worked.


Well the contrast does seem to work, but only for the text, not the backlight I want to dimm, asI want blue on black and not blue on darker blue.
No icons light up yet, but that's not the most important thing for now.
What I do wonder is why do I get this error every time I overwrite the dll with a newer one, nad why can't I just get it to work by a reinstall of mp? this is absolutely crazy and doesn't make an ysense at all.
Might it be I'm running a x64 version of vista?

Last edited by iSP; 2007-09-01 at 14:21.
iSP is offline  
Old 2007-09-01, 14:15   #47 (permalink)
Portal Member
 
Join Date: Apr 2006
Age: 32
Posts: 277
Thanks: 2
Thanked 3 Times in 2 Posts

Country:


Default

Maybe you made the same mistake as I did?
Forgot to delete the old externaldisplay.xml?
Johan is offline  
Old 2007-09-01, 14:27   #48 (permalink)
iSP
Portal Member
 
Join Date: Jan 2007
Age: 24
Posts: 67
Thanks: 0
Thanked 4 Times in 4 Posts

Country:


Default

Quote:
Originally Posted by Johan View Post
Maybe you made the same mistake as I did?
Forgot to delete the old externaldisplay.xml?
Nope, I did this, in the end I got it working, no idea how.

Last edited by iSP; 2007-09-01 at 16:52.
iSP is offline  
Old 2007-09-01, 17:52   #49 (permalink)
Retired Team Member
 
JoeDalton's Avatar
 
Join Date: Sep 2004
Location: Belgium
Age: 40
Posts: 425
Thanks: 1
Thanked 17 Times in 5 Posts

My System

Send a message via MSN to JoeDalton
Default

@Ralphy:
I committed your new version to SVN.

Can you also please check the following:
The declaration of the iMONLCD_SendData method is now as follows:
Code:
public static extern unsafe bool iMONLCD_SendData(Int64* bitMap);
can you try to update it like this:
Code:
public static extern bool iMONLCD_SendData(ref ulong bitMap);
next relace all Int64 with ulong and change the SendData method as follows:
Code:
private void SendData(ulong data)
{
  iMONLCD_SendData(ref data);
  Thread.Sleep(_delay);
}
Maybe you'll need to add a few casts here and there, but then the driver should still work without any unsafe code.

To get some of the icons working you can check the SetLines method of the ScaleoEV driver for a hint on how to determine what their status should be.
JoeDalton is offline  
Old 2007-09-01, 21:34   #50 (permalink)
Portal Developer
 
Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts

Country:


Default

JoeDalton: Wow... pretty quick with the SVN commits....

I have a new version almost ready... I found a logic error in the initialization code, added icon control and shutdown on power mode change.

I'm testing the SendData changes you suggested now... i'll report back soon...


Update: Yes, the changes to SendData work correctly and eliminate the unsafe method... but please don't commit the changes... I have a series of changes to correct some logic errors in the initialization code and additional code for icon control... I'll have them ready later today...

Last edited by cybrmage; 2007-09-01 at 22:27. Reason: update
cybrmage is offline  
Closed Thread

Bookmarks

Tags
driver, imon, lcd, soundgraph, updated

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fernbedienung - Soundgraph iMon robbie Media Portal - Support 3 2008-08-21 12:05
MediaPortal & iMON ULTRA Bay (Soundgraph) Testudo Media Portal - Allgemeines 27 2008-02-04 13:10
soundgraph imon direction pad sensitivity Sentinel General Support 4 2007-10-13 14:32
Driver Available for Soundgraph OEM LCD / UltraBay ralphy Support 38 2007-08-30 23:58
Soundgraph iMon remote direct my xx buttons DonBogo General 4 2006-12-10 01:46


All times are GMT +1. The time now is 00:41.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden