| |||||||
| Support Support for external displays. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Oct 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Country: | Hello, is it possible to send direct hexadecimal command to VFD display by adding some string to ExternalDisplay.xml? I have Noritake VFD and it has turned cursor on by default, and i need to turn it off. I found command 16H for it in specs, but I don't know, how can i send it to vfd.. I'm using noritake t-series plugin and LPT. thx Last edited by Croog; 2007-12-23 at 01:45. |
| | |
| | #2 (permalink) |
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | It is not possible to embed HEX commands int the ExternalDisplay.xml file... The XML parser does not support non-printable control characters. Normally... The solution would be to "fix" the Noritake T-series driver.... but it is an LCDHype driver, so that is easier said than done... Fortunately, The other method is to have the ExternalDisplay driver send a "prefix character" before sending each line of characters that needs to be displayed... Attached is a version of the ProcessPlugins.dll that has that modification. To Install: 1) rename the ProcessPlugins.dll in your MediaPortal plugins/process directory to ProcessPlugins.dll.original. 2) extract the ProcessPlugins.dll in the archive to your MediaPortal plugins/process directory. 3) run configuration.exe 4) select plugins, scroll to the ExternalDisplay plugin, right click and select "Configuration" 5) Under "TextMode" you will find a new option called "Line Prefix". For this option, enter the hex value of the command byte that you want to send to the display (in your case 16). Leave this field blank to disable sending a prefix byte. 6) Click "OK" on the "ExternalDisplay Configuration" screen to commit the settings. click "OK" on the "MediaPortal: Setup" screen to save the settings and exit configuration. 7) run MediaPortal. Let me know if this works for you... Regards, CybrMage |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Oct 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Country: | Thank you for help. I know that update noritake driver could be solution, but i cant even register to lcdhype forum (admin didn't response) and also i read somewhere, that source codes for it was lost... :/ So I tried your method (that was fast update! ) and when i add for example "16", the cursor still remains turned on and random character is displayed on the first position of all lines (It change everytime, when I restart Mediaportal). I tried also others commands, but with no success too. Just one experience: when I add word started by 0, random character isn't displayed. I set Comm. delay to 20000 and record attached video, so you can see what exactly vfd doing, when I set prefix to 16. |
| | |
| | #4 (permalink) |
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | It looks like it is expecting an escape code of some sort before the 0x16 command... I'll have to try and find some specs for the display to make further progress... (LATER... after sleep!!) 8-} Regards, CybrMage |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Oct 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Country: | I did little more research: It is possible to send hex data thru ExternalDisplay.xml. It is simple, put to string � , where 00 means hexadecimal word. When I send 16H to vfd by this method, there is same problem - it just display random character. According to this discussion, after command must be send software reset and wait for 100ms delay, i think... Last edited by Croog; 2007-12-24 at 02:57. Reason: added better specs of similar type (i have T20A) |
| | |
| | #7 (permalink) | |
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | You are correct... The information I found on the XML parser was incorrect (used &x00 ... I stand corrected.But, I did experiment with injecting the control code via XML (using a umlat character)... and the result wasn't acceptable... The "control" character scolled with the text... If the text was longer than the display width, the control character.. hence the code I added to "prefix" the text... Quote:
Regards, CybrMage | |
| | |
| | #8 (permalink) |
| Portal Member Join Date: Oct 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Country: | Thank you for your time. It would be great, if I can do reinicialize display with send some command data (e.g. set luminance of vfd) adding some strings to ExternalDisplay.xml.. I have one more problem. If I set TextComDelay to 40 (this value is used in lcdhype), display is flickering. When I change delay to 200, flickering is gone, BUT the more I increase delay value, my cpu is more loaded. With delay set to 200, I get 35-50% load of my CPU, just at start screen of mediaportal. I have Athlon XP 2500+ and Win Vista, so it's really weird. Where can be problem? ![]() |
| | |
![]() |
| Bookmarks |
| Tags |
| command, direct, externaldisplayxml, hexadecimal, send |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exception in ExternalDisplay properties | dudil | General Support | 4 | 2007-11-01 10:33 |
| ExternalDisplay.xml | knutinh | Plugins | 16 | 2007-10-01 12:22 |
| Send to target window | Crew | MCE Replacement Plugin | 1 | 2007-05-27 09:17 |
| ExternalDisplay DLPortio.dll?!? | Kevin | Plugins/Erweiterungen | 2 | 2006-12-27 15:59 |
| OnTvRecordingEnded don't send the file name | herman | General Development (no feature request here!) | 1 | 2006-11-24 23:29 |