Motion Coordinator Technical Reference Manual
Using the Trio ActiveX Control 12-3
Introduction
The TrioPC ActiveX component provides a direct connection to the Trio MC con-
trollers via a PCI bus, USB or Ethernet link. It can be used in any windows pro-
gramming language supporting ActiveX (OCX) components, such as Visual Basic,
Delphi, Visual C, C++ Builder etc.
Requirements
• PC with one or more of USB interface, Ethernet network interface, or PCI
based Motion Coordinator.
• Windows 98, ME, 2000 or XP (Windows 2000 or XP only for PCI connection)
• TrioUSB driver - for USB connection
• Trio PCI driver - for PCI connection (Windows 2000 and XP systems only)
•TrioPC OCX
• Knowledge of the Trio Motion Coordinator to which the TrioPC ActiveX
controls will connect.
• Knowledge of the Trio BASIC programming language.
Installation of the ActiveX Component
Launch the program “Install_TrioPCMotion” and follow the on-screen instruc-
tions. The TrioUSB driver and TrioPC ocx will be installed and registered to your
Windows environment. The Trio PCI driver will also be installed on systems run-
ning Windows 2000 or Windows XP. A Windows Help file is included as an alterna-
tive to the printed pages in this manual.
Using the Component
The TrioPC component must be added to the project within your programming
environment. Here is an example using Visual Basic, however the exact sequence
will depend on the software package used.
From the Menu select Project then Components... (or use shortcut ctrl+T).
When the Components dialogue box has opened, scroll down until you find “Tri-
oPC ActiveX Control Module” then click in the block next to TrioPC. (A tick will
appear)
Now click OK and the component should appear in the control panel on the left
side of the screen. It is identified as TPC.
Once you have added the TrioPC component to your form, you are ready to build
the project and include the TrioPC methods in your programs.