Thanks so much for your reply Ray,

I found the Tcl site and found that I have Tcl installed by looking in my 
Synaptic 
Package Manager. I downloaded and installed the manual with the Synaptic 
Package Manager. After some searching I think I downloaded the man pages what 
ever that is... 

How does EMC2 know that the tkemc.tcl file is located in usr/share/emc/tcl 
directory. I looked for that path in the tkemc.ini and the emc.nml but could 
not find 
it...

BTW, the example was a big help.

Thanks
John


> Date: Fri, 27 Jul 2007 07:30:41 -0500
> From: Ray Henry <[EMAIL PROTECTED]>
> Subject: Re: [Emc-users] TkEMC Interface
> To: "Enhanced Machine Controller (EMC)"
>  <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain
> 
> 
> Hi John
> 
> It is Tcl/Tk, a scripting language.  Yes it's read each time on
> startup. If you want to play a bit with it read on.  
> 
> This language uses a couple of shells that it runs inside of.  The
> graphical shell is "wish".  You can start wish by typing that into a
> terminal.  You won't see anything but a blank display but you can add
> stuff by typing into the terminal.  Below is a quick example that you
> can try.  You'll see my terminal prompt followed by the stuff I typed
> in.  You'll also see the wish prompt (%) and a response from wish when
> it accepted the button command.
> 
> [EMAIL PROTECTED]:~$ wish
> % button .b1 -text "Whatever"
> .b1
> % pack .b1 -fill both -expand yes
> %
> 
> Once the button is in there, click it and you'll see the edge change
> from raised to recessed.  You can kill off wish by clicking on the [x]
> or use <control>c from the keyboard.
> 
> So the short answer to the question you didn't quite ask is, yes you
> can make changes to tkemc and see those changes when you restart EMC2.
>  Keep a backup laying around because, like any programming language,
> Tcl/Tk has a very precise syntax.
> 
> Rayh
> 
> 
> On Fri, 2007-07-27 at 06:59 -0500, John Thornton wrote:
> > I do know about the Axis Slider on TkEMC as far as setting the jog
> > speed. 
> > 
> > Does the number indicate the jog speed in inches per minute when
> > your units are Inches?
> > 
> > I found the tkemc.tcl file and it appears to be a basic like
> > language. 
> > 
> > What language is it? 
> > 
> > Is the file read each time you load EMC with the TkEMC interface or
> > is it compiled?
> > 
> > Thanks
> > John
> 
> 
> 
> 
> ------------------------------


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to