68
Appendix D Piezo Control Method Summary
The 'Piezo' ActiveX Control provides the functionality required for a client application
to control o ne or more of the APT series of piezo controller units. This range of
controllers covers bo th open and cl osed loop piezo control in a variety of fo rmats
including compact Cube type controllers, benchtop units and 19" rack based modular
drivers. Note o ne additional product, the KSG101 K-Cube Strain Gauge reader is
another member of the APT co ntroller range - and can also be accessed using the
Piezo ActiveX Control.
To specify the particular controller being addressed, every unit is factory programmed
with a unique 8-digit serial number. This serial number is key to the operation of the
APT Server software and is used by t he Server to e numerate and communicate
independently with multipl e hardware units connected on the same USB bus. Th e
serial number must be specified using the HWSerialNum property before an ActiveX
control instance can communicate with the hardware unit. This can be done at design
time or at run time. Note that the appearance of the ActiveX Control GUI (graphical
user interface) will change to the required format when the serial number has been
entered.
The Methods and Properties of the Piezo ActiveX Control can be used to perform
activities such as selecting output voltages, reading the strain gauge position
feedback, operating open and closed loop modes and enabling force sensing mode.
A brief summary of the methods and propertys applicable to the KPZ101 unit is given
below, for more detailed information and individual parameter descriptiond please see
the on-line help file supplied with the APT server.
Methods
DeleteParamSet Deletes stored settings for specific controller.
DisableHWChannel Disables the drive output.
DoEvents Allows client application to process other activity.
EnableEventDlg Enables or disables the event dialog box.
EnableHWChannel Enables the drive output.
GetControlMode Gets the loop operating mode (open/closed).
GetDispIntensity Gets the front panel LED display intensity.
GetHubAnalogueChanIn Gets the hub analogue input channel used for close
loop operation.
GetIPSource Gets the HV amplifier input source.
GetJogStepSize Gets the jogging step size.
GetKCubePanelParams Sets various parameters for the top panel controls