- Linux MultiMedia Studio Computer Accessories User Manual

Using the Library with Various Languages
MN1278 05.2001
31
3.4 Borland Delphi 5.0
NOTE: Before any programs, including the examples, can be built, the type library must be imported. See
step 2.
This section will guide you through creating a simple Delphi application. The application will contain one button
which will toggle the state of the drive enable output for axis 0. Note that the axis must already be configured as
servo (use the Mint WorkBench to do this).
1. Open Delphi and create a new project.
2. If this is the first time a Delphi Mint Interface Library application has been created on this machine a type
library file will have to be created. Select ‘Import ActiveX Control’ from theComponents’ menu. Find
‘Baldor Motion Control Library XXXX for Mint XXXX in the list and check the box. In this example the
version 1109 is being used, but this will have changed by the time this manual is printed. If there is a choice
of several versions, choose the most recent, unless you want to target an older version of Mint. Hit
‘Install…’ and follow the default options.