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