IO Anywhere Library Project:  Tcl/Tk on Windows How To


The purpose of this HowTo is to explain how to setup Tcl/Tk on a Windows box which can be used to communicate with an IOA network appliance.
 

Step 1:  Download and install the Tcl/Tk toolset

The Active State website contains the latest Tcl/Tk install for Windows.

While a little dated the iCanProgram Tcl/Tk course material contains some help on installing and operating this package.
 

Step 2: Preparations for the installation of the IOA and SIMPL Tcl/Tk libraries

There are two distinct modes of interaction between a Tcl/Tk program running on Windows and a remote IOA appliance: As such we are recommending that you create a folder on your Windows C drive to house these Tcl/Tk libraries:

Step 3:  Installing the IOA and SIMPL Tcl/Tk libraries

This zip file should be downloaded  and placed in the folder you created in Step 2 above.

Undo this zip file and you should find 3 new folders with Tcl files in them.

Step 4:  some Tcl/Tk demo code

Step 3 above will have created a subfolder inside the ioanywhere folder called  demos.

These pieces of code should be ready to run.

Here is a screenshot of the demo2 code:

Have fun.


NOTE:

All this code is released under either the LGPL licences or a straight Public Domain licence.

Please read the licence conditions as appropriate.



This project is being coordinated by iCanProgram Inc.