Embedded Intel® Core™ Processors
Communicate Intel® Core™ Hardware, Software, Firmware, Graphics Concerns

Change brightness at TPC1251H

CKuni
Beginner
1,293 Views
Hello, I've tried different methods to change the brightness at IPC TPC1251H. Usually it is possible to change it with gdi32.dll. But it doesn't work.After reaserch I found out that it must be the iegdui.dll from the iegd_10_2.I've tried to include the iegdui.dll and wanted to open the graphical interface with iegd_open(). But as return I always got EXIT_OS_CALL_ERROR. Has anybody an idea? For information: I work with C# at the softwareplatform .NET. public enum EXIT_CODE {EXIT_OK,EXIT_GENERIC_ERROR,EXIT_PARSER_ERROR,EXIT_CFGFILE_ERROR,EXIT_LOGFILE_ERROR,EXIT_INVALID_PARAM_ERROR,EXIT_OS_CALL_ERROR,EXIT_LIB_INIT_ERROR,EXIT_REGISTRY_ERROR,EXIT_DEVICE_NOT_FOUND,EXIT_NOT_IMPLEMENTED_ERROR,} EXIT_CODE exit_code; [DllImport("iegdui.dll", CallingConvention = CallingConvention.Cdecl)] public static extern EXIT_CODE iegd_open(); private void Form_HelligkeitIPC_Load(object sender, EventArgs e) { exit_code = iegd_open(); if (exit_code == EXIT_CODE.EXIT_OK)MessageBox.Show("Iegdui open ok"); if (exit_code == EXIT_CODE.EXIT_OS_CALL_ERROR)MessageBox.Show("OS Call Error");}
0 Kudos
1 Reply
Kirk_B_Intel
Employee
398 Views

Hi,

I am going to assume you are talking about the Advantech Touch Panel PC that is a Z500 based (Menlow) system.

I am aslo going to assume that you are talking about the LCD backlight brightness, not other color control methods for adjusting brightness.

There are a couple of problems that we find with backlight brightness control:

1. The Z500 has a couple of standard ways the backlight brightness can be controlled built in to it. Some manufacturers decide to implement their own way of controlling the backlight (based on unique LCD requirements or by not understanding the capabilities of the chipset). When they do that, there is no way for the driver to control the backlight beyond off and on. Sometimes the manufacturer includes a way for you to set or control that function in that case, but usually not. Worse, sometimes they just do not wire up the control at all. I am not intimatly familiar with that particular Advantech platform (but I would like to be because it sounds really cool). You would need to contact Advantch to ask them how they expect backlight brightness to be controlled.

2. When the manufacturer DOES implement the hardware following our recommendations, sometimes there is confusion on the graphics driver settings on the particular method they use. If you play with the IEGD CED utility for the configuration of the driver, you will see in the LVDS section a number of configuration options for the backlight. If you have installed a different version of the driver from what Advantech originally provided, you may be using our driver defaults which may be different from the way Advantech implemented their backlight control. In this case the driver can turn on the backlight full bright, but the brightness control will have no affect. Again, this needs to be asked of Advantech of how they configure the driver for their platform.

Once that is all set up properly, the driver should be able to control backlight brightness through the standard Windows interfaces, or directly with the IEGD User Interface as shown with the example code we provide with the driver for the IEGD Gui interface to the driver (our special ESCAPE interface into the driver).

Hope this helps...

0 Kudos
Reply