Home / mesta

Author Archives: mesta

Real-time Line charts with WPF and Dynamic Data Display

When logging datas from sensors it’s important to visualize them with a powerful real-time chart. In automation especially it’s common to analyze processes with the help of charts to predict and regulate the process. One of the most powerful charts (and for many the best) is Dynamic Data Display, an ...

Read More »

Writing alarms and interlocks in PLC programs

While analizing the process that you have to automate you always have many conditions to respect for the safeness of the equipments, of the operators and of the process itself. What is an Alarm An alarm is a condition of non-safe state of the machine. Depending on the impact on ...

Read More »

WPF Themes and theme switcher class

You can find an updated collection of themes for WPF application here. This class contains also a test project where you can see how to switch themes based on a combobox and how to apply those themes. It’s a must have for a GUI developer.

Read More »

WPF Touch Keyboard

As i previously did with Keypad, i rewrote the code of the for a WPF touch keyboard based on Wosk project on Codeplex. This keyboard both support upper and lower case letter, it’s completely sizable and it’s good-looking. I packed this together with keypad for convenience, and you can download ...

Read More »

WingDings fonts

This is a font available in Visual Studio where you can find some interesting graphics, like “Enter button”: From wikipedia: WingDings 1: WingDings 2:

Read More »

WPF and multithread: debugging with Console

You can download the sample here: https://www.mesta-automation.com/Downloads/multithread.rar With WPF it’s almost a must to use multiple threads to keep the User Interface responsive, and debugging them can be a problem when they are complex. Usually i debug the background threads with the Console, while keeping the Main Window visible, like in ...

Read More »

Keypad for WPF applications with touch-screen

This is a keypad that i often use in my applications. You can download the source code and a sample application from here:https://www.mesta-automation.com/Downloads/keypad.rar The original graphic and concepts has been taken from here: http://wosk.codeplex.com/ (check for the latest source code) and this control comes with the original license attached (it’s a free ...

Read More »