Skip to main content

This article provides a sample project using the GalilTools COM library for setting up two TCP message handles. Using such an approach, Embedded DMC code can send data to two channels (for example a data storage channel and a user interface channel).

Image of Application

Concepts

  • unsolicited messages over TCP (in lieu of default UDP)
  • the onMessage() event
  • routing messages with the {En} notation in the MG command
  • moving remote handles with the HS command
  • multiple GalilTools COM objects
  • connecting with special options

Details/Special Instructions

  • VB 2010 Express
  • GalilTools 1.6.0.460
  • Install GalilTools before using Demo (This installs and registers the Galil COM component)
  • 3 Ethernet handles are required for this approach. This demo requires an 8 handle controller because it configures the message handles to G and H.

Download