Well, I haven't quite completed setting up the hardware part of my graphical LCD (Optrex DMF-5003 w/ White CCFL backlight), so I took the time to work on setting up LCDInfo for the display. First I ran the program to setup the display (T6963C controller, 160x128 screen, 8x8 font, PowerLCD pin-out). Then I went through the busywork of the XML coding (fun). I created a directory for the screen, made a few bitmap background, whipped up a basic outlook. The problem is, when I use the screens.xml file that I typed up, LCDInfo spits out a Visual C++ Runtime Error: "This application has requested the Runtime to terminate it in an unusal way. Please contact the application's support team for more information."
screen.xml:
Code:
<screens>
<screenfile>160x128\pick.xml</screenfile>
<screenfile>160x128\system.xml</screenfile>
</screens>
pick.xml:
Code:
<screen>
<name>Whypick1</name>
<action>
<id>Core.ChangeScreen</id>
<parameter>System</parameter>
<delay>5000</delay>
</action>
<item type="image" x="0" y="0">
<imagebitmap>160x128\images\pick.bmp</imagebitmap>
<refresh>500</refresh>
</item>
</screen>
system.xml:
Code:
<screen>
<name>System</name>
<action>
<id>Core.ChangeScreen</id>
<parameter>Winamp</parameter>
<delay>5000</delay>
</action>
<item type="image" x="0" y ="0">
<imagebitmap>160x128\images\systemback.bmp</imagebitmap>
<refresh>500</refresh>
</item>
<item type="plugintext" x="2" y="36">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>12</fieldsize>
<varid>CAMEL.Processor</varid>
<refresh>500</refresh>
</item>
<item type="plugintext" x="90" y="36">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>8</fieldsize>
<varid>CAMEL.CPUClockFrquency</varid>
<refresh>500</refresh>
</item>
<item type="text" x="2" y="44">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>4</fieldsize>
<textdata>CPU:</textdata>
<refresh>500</refresh>
</item>
<item type="plugintext" x="34" y="44">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<varid>MBM.Temperature.CPU</varid>
<refresh>500</refresh>
</item>
<item type="text" x="60" y="44">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<textdata> C</textdata>
<refresh>500</refresh>
</item>
<item type="text" x="2" y="52">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>8</fieldsize>
<textdata>System:</textdata>
<refresh>500</refresh>
</item>
<item type="plugintext" x="66" y="52">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<varid>MBM.Temperature.System</varid>
<refresh>500</refresh>
</item>
<item type="text" x="72" y="52">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<textdata> C</textdata>
<refresh>500</refresh>
</item>
<item type="text" x="2" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>8</fieldsize>
<textdata>Uptime: </textdata>
<refresh>500</refresh>
</item>
<item type="plugintext" x="66" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<varid>uptimed</varid>
<refresh>500</refresh>
</item>
<item type="text" x="82" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>1</fieldsize>
<textdata>:</textdata>
<refresh>500</refresh>
</item>
<item type="plugintext" x="90" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<varid>uptimeh</varid>
<refresh>500</refresh>
</item>
<item type="text" x="106" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>1</fieldsize>
<textdata>:</textdata>
<refresh>500</refresh>
</item>
<item type="plugintext" x="122" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<varid>uptimem</varid>
<refresh>500</refresh>
</item>
<item type="text" x="130" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>1</fieldsize>
<textdata>:</textdata>
<refresh>500</refresh>
</item>
<item type="plugintext" x="138" y="68">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>2</fieldsize>
<varid>uptimes</varid>
<refresh>500</refresh>
</item>
<item type="plugintext" x="2" y="84">
<scrolltype>left</scrolltype>
<textpos>left</textpos>
<fieldsize>19</fieldsize>
<varid>NetStats.AdapterName0</varid>
<refresh>500</refresh>
</item>
<item type="plugintext" x="2" y="92">
<scrolltype>left</scrolltype>
<textpos>left</textpos>
<fieldsize>8</fieldsize>
<varid>NetStats.Speed0</varid>
<refresh>500</refresh>
</item>
<item type="plugintext" x="66" y="92">
<scrolltype>left</scrolltype>
<textpos>left</textpos>
<fieldsize>8</fieldsize>
<varid>NetStats.UploadSpeed0</varid>
<refresh>500</refresh>
</item>
<item type="plugintext" x="2" y="108">
<scrolltype>left</scrolltype>
<textpos>left</textpos>
<fieldsize>19</fieldsize>
<varid>NetStats.AdapterName1</varid>
<refresh>500</refresh>
</item>
<item type="plugintext" x="2" y="116">
<scrolltype>left</scrolltype>
<textpos>left</textpos>
<fieldsize>8</fieldsize>
<varid>NetStats.Speed1</varid>
<refresh>500</refresh>
</item>
</screen>
Thanks for the help.