AN-304 Adding TrioPC to Visual Basic

AN-304 Adding TrioPC to Visual Basic

A connection between a Windows PC and a Motion Coordinator can be made with an ActiveX component called TrioPC Motion.

The ActiveX component must be added to the Visual Basic project.

This document describes this step by step. The example is based on Microsoft Visual Studio 2012.
    • Related Articles

    • AN-419 TrioPCMotion TCP port

      Motion Coordinator firmware version 2.0300 has the ability to open a TCP server port on Ethernet. This document describes a program that can be run in Visual Basic to communicate with the Motion Coordinator. Requires TrioPC Motion ActiveX V2.20.5 or ...
    • AN-365 TrioPCMotion ActiveX Heartbeat

      To add a higher grade of reliability at our Trio PC Motion ActiveX control, a heartbeat function has been added to the component. This document explains how this heartbeat works
    • ActiveX: Get controller details

      This sample of code is from a Visual Basic Program.  It reads system variables from the Motion Coordinator after the TrioPC Motion ActiveX/DLL connection is opened.         Dim d_value As Double         Dim l_value As Long         ...
    • Reading blocks of data from TrioPC Motion ActiveX or DLL

      The ActiveX and DLL have a way to read blocks of data. The method is called PRMBLK. If you look at he help, it shows you the list. You need to define the type of block you want to read, for example DefineSystem would be used to read system values ...
    • Inquiry about Python Programming

      Do you support Python for visual programming? Answer: If Python supports the Windows ActiveX concept or DLLs then the TrioPC Motion ActiveX / DLL can be used. No one at Trio has used Python.