SCADA in VG.net: Preview

Closeup of a mixing process in a SCADA display

We are working on a SCADA display screen sample using VG.net vector graphics. In the image above, you can see three instances of a tank assembly class. Each tank assembly consists of a tank and a pump (the pump has a red interior).

Because all the graphical components you see are .NET classes, each component can have custom properties, methods, or events. In the case of the pump, we created a boolean property you modify to indicate if the pump is on or off. This causes the color within the pump to change from red to green -- gaudy colors, but standard in the industry.

In the case of the tank, we created a Volume property, from 0 to 1, indicating the percentage of contents in the tank. Change the volume, and the gauge on the tank goes up and down. We will be adding another property to change the color of the gauge in each tank, to distinguish the contents in each tank. We will also add a numeric volume indicator and tick marks.

Pipes and tanks are created very easily in VG.net, thanks to the linear gradient fill type. There is one setting on a gradient, bell curve, that produces perfect 3D cylinders, without having to specify any intermediate gradients. The Focus property adjusts the angle of light on a cylinder.

I will post more details on this screen and its components as they evolve. I will also post an executable you can download to see the screen animated with simulated real-time data.

No Comments