
The PinK High Voltage Example
This is a short example on how to build a hardware client, a Dad server and
some PinK clients to control a high voltage power supply.
You may obtain all source codes of this example as an archive
from here.
The Server
The Server is build straight forward as described here in the
Dad Manual.
You may have a look at the DDL and the
source code used in this example. See also the
dadinit.cnf and
portdef.h files.
The Hardware client
The client simulates a meassurement of the current high voltage values
every ten seconds.
It can also process certain commands given by the controller task (see below)
via the server.
You may have a look at the source code here.
The Bargraph Monitor
This PinK script displays the current values of the High Voltage in a bargraph
style. It receives the newest values from the server.
You may have a look at the PinK script here.

The Timegraph Monitor
This PinK script displays the current values of the High Voltage in a timegraph
style. It receives the newest values from the server.
You may have a look at the PinK script here.

The Controller Task
This PinK script is a tiny High Voltage Controller. It can send commands to
the hardware client via the server and receive and display messages the
other way round.
You may have a look at the PinK script here.

Up
Next
This page is maintained by
pink@hermes.desy.de;
last modification: Jan 7 1996 .