30
Appendix C
Flipper Control Method Summary
The 'Flipper' ActiveX Control provides the functionality required for a client application
to control one or more flipper units.
To specify the particular unit 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 the Server to enumerate and communicate
independently with multiple 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.
A brief su mmary of each method and property is give n below, for mo re detailed
information and individual parameter descriptions please see the on-line help file
supplied with the APT server.
Methods
EnableHWChannel
Enables the drive output.
GetMFFOperParams
Gets the operating parameters for the filter flipper
Identify
Identifies the controller by flashing unit LEDs.
LLGetStatusBits
Gets the controller status bits encoded in 32 bit integer.
MoveJog
Initiates a jog move.
SetMFFOperParams
Sets the operating parameters for the filter flipper
StartCtrl
Starts the ActiveX Control (starts communication with
controller)
StopCtrl
Stops the Act iveX Control (stops com munication with
controller)
Properties
APTHelp
Specifies the help file that will be accessed when the
user presses the F1 key. If APTHelp is set to 'True', the
main server helpfile
APTServer
will be launched.
HWSerialNum
specifies the serial number of the hardware unit to be
associated with an ActiveX control instance.