10 HA0365T Rev D Jan 2017
Chapter 2
2.3.4 APT Server (ActiveX Controls)
ActiveX Controls are re -usable compiled software components that supp ly both a
graphical user interface and a pro grammable interface. Many such Co ntrols are
available for Windows applications development, providing a large range of re-usable
functionality. For example, there are Controls available that can be used to
manipulate image files, connect to the intern et or simply pro vide user in terface
components such as buttons and list boxes.
With the APT system, ActiveX Controls are deployed to allow direct control over (and
also reflect the status of) the range of electronic controller units, including the KPZ101
piezo controller. Software applications that use ActiveX Controls are often referred to
as 'client applications'. Based on ActiveX interfacing technology, an ActiveX Control
is a language independent software component. Consequently ActiveX Controls can
be incorporated into a wide range of software development environments for use by
client application developers. Development environments supported include Visual
Basic, Labview, Visual C++, C++ Builder, HPVEE, Matlab, VB.NET, C#.NET
and, via
VBA, Microsoft Office applications such as Excel and Word.
Consider the ActiveX Control supplied for the KPZ101 APT piezo controller unit.
This Control provides a complete user graphical instrument panel to allow the Piezo
unit to be manually operated, as well as a complete set of software functions (often
called methods) to allow all parameters to be set and Piezo control operations to be
automated by a client application. The instrument panel reflects the current operating
state of the controller unit to which it is associated (e.g. such as piezo travel). Updates
to the pan el take place automatically when a user (client) application is making
software calls into the same Control. For example, if a client application instructs the
associated Piezo Control to move to a p articular position, progress is mo nitored