Class IpcDisplayDevice
The IpcDisplayDevice class provides an interface to interact with a display device connected via TwinCAT ADS. It allows reading and writing various properties of the display such as active display mode, display mode description, primary display status, COM port, version, brightness, and light enabled status. It also provides a method to save the brightness setting persistently across power cycles.
public class IpcDisplayDevice
- Inheritance
-
IpcDisplayDevice
- Inherited Members
Properties
ActiveDisplayModeID
ID of active display mode
public byte ActiveDisplayModeID { get; set; }
Property Value
Brightness
Valid values: 20-100 (20 lowest brightness, 100 maximum brightness)
public uint Brightness { get; set; }
Property Value
ComPort
Windows Embedded Standard (WES): e.g. "Com4" Windows CE: under Windows CE, the Com Port must end with a colon, e.g. "COM4:"
public string ComPort { get; set; }
Property Value
DisplayModeDescription
Description of active display mode
public string DisplayModeDescription { get; }
Property Value
IsPrimaryDisplay
True if this display is the primary display
public bool IsPrimaryDisplay { get; }
Property Value
LightEnabled
Valid values: TRUE = background light ON, FALSE = background light OFF
public bool LightEnabled { get; set; }
Property Value
Version
Version of the display device
public uint Version { get; }
Property Value
Methods
SaveBrightnessPersistent()
Save brightness persistent between power cycles.
public void SaveBrightnessPersistent()