Opc client with C#: an how to video

I made a video where i explain how to connect and read tags from and ...

Opc client with C#: an how to video

I made a video where i explain how to connect and read tags from and Opc server using OpcNetApi.dll library with C#. This code comes from here and if you run a google search of some parts of the code you can find more references and tips about implementing different functions of the API. Disclaimer: This [...]

Read full story Comments { 0 }

PLC-PC communication with C#: a quick resume about data exchange libraries

Let’s say that you want to build your own HMI, because: for your application a commercial SCADAs are too expensive you need more control over the code and VBA suck you want to protect your know how you need a better HMI and you can’t do it with a normal SCADA and you ended up with [...]

Read full story Comments { 1 }

Real-time Line charts with WPF and Dynamic Data Display

Download the sample application here. When logging datas from sensors it’s important to visualize them with a powerful 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 open [...]

Read full story Comments { 2 }

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. When i write alarms and interlocks i always use the same structure, that consists in many words where every bit corresponds to an alarm; this [...]

Read full story Comments { 0 }

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 full story Comments { 0 }

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 resizable and it’s quite good looking. I packed this togheter with keypad for convenience, and you can download the sample application [...]

Read full story Comments { 0 }