TCL Demo

G

Thread Starter

Greg Goodman

Mario wrote:

> What I would like to see before making a release:
> 1 - a tcl demo. This already exists in the demo/basic directory,
> just needs re-organizing into an independent basic_tcl directory.

I'm not sure I understand. The Tcl code in the demo/basic directory is a viewer for the demo/basic/chaser.c module. It demonstrates the
ability to build an HMI for LPLC in Tcl/Tk and is provided in this directory as an alternative to the vitrine HMI (demo/basic/vitrine.*).
You can run the vitrine and chaser.tcl HMIs simultaneously to get two views of the same LPLC.

If you like, I can write a demo/basic_tcl that implements control logic in Tcl. It simply hadn't occurred to me that anybody other than myself would consider using Tcl for control (despite its name, "Tool Command Language".) If you give me the spec for a control algorithm you want implemented, I'll happily write the program.

- Greg

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
M

Mario de Sousa

Greg Goodman wrote:
>
> Mario wrote:
>
> > What I would like to see before making a release:
> > 1 - a tcl demo. This already exists in the demo/basic directory,
> > just needs re-organizing into an independent basic_tcl directory.
>
> I'm not sure I understand. The Tcl code in the demo/basic directory is
> a viewer for the demo/basic/chaser.c module. It demonstrates the
> ability to build an HMI for LPLC in Tcl/Tk and is provided in this
> directory as an alternative to the vitrine HMI (demo/basic/vitrine.*).
> You can run the vitrine and chaser.tcl HMIs simultaneously to get two
> views of the same LPLC.
>

Hi Greg,

Actually I was merely thinking of having the tcl viewer jump out at the user once he runs make, without having to run any more programs.
Actually I did this on Friday and uploaded it to the cvs, but never got around to mailing the list.

The thought of using tcl to code logic never crossed my mind! I guess it just shows that I have no idea whatsoever of how to program in tcl!

Greg, please feel free to go over the new directory I created and correct, augment, ..., whatever you feel is lacking.

Thanks!

Mario.

--
----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------

The box said it requires Windows 95 or better, so I installed Linux

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
Top