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         ...
    • 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.
    • TrioPCMotion will not connect

      For an MC403, MC405 or MC464 that refuses to allow a TrioPCMotion ActiveX connection, check that the REMOTE program is not disabled in the flash memory. Look at the value in REMOTE_PROC. It is a system parameter that is stored in Flash in the MC403, ...