| |||||||||||
I'm from China Posted by muji (muji), 25 January 2006 HI:I am a chinesesboy,and my English is poor,so please don't mind. I'm a CAM Engineer , in my work,I use Unigraphics. Now, I need study "The Tcl programming language",it's will heip my work. I need your help,and I hope do your friend.Thanks! Muji Posted by admin (Graham Ellis), 25 January 2006 Hi, Muji, and welcome.You are very wise to start with a book such as "The Tcl Programming Language". If you find that book a bit difficult, there are many other books available on Tcl too. We have a list of 17 books on Tcl and you'll see that I've told you which I recommend on the list. If you have a question because of something you've read in one of the books, please ask me about it here and I will be happy to answer. It can take up to 24 hours for me to visit the board and answer questions, so please be patient. My working life is spent teaching languages such as Tcl and I answer here in my spare time. Posted by muji (muji), 26 January 2006 “We have a list of 17 books on Tcl and you'll see that I've told you which I recommend on the list. “Thank you for the reply,sorry,I can't download this book. Now in China,the information about The Tcl programming language was very lack, so I hope I can get some BOOKS,and thank you very much!!! Tomorrow,we will have a vacation----"Chinese New Year",about a week. So, I will come back a week later. I will miss you !!! Posted by Liujian (Liujian), 29 November 2006 Hello, muji. my name is Liujian. I come from ShangHai,China. in my work,I use Unigraphics too. hope to become the friend with you. my MSN is:sordliu@hotmail.com; QQ: 32872001 Email address:Liujian19821002@126.com or liujian@elsa-china.com thanks. Posted by iamxiaop (iamxiaop), 16 July 2007 I am from China too. I stated learn TCL 3 days ago.Here I share a piece of script which can be used in RS-232 #-------------------------------------------------------------------------------# proc ComSetup {ComPort ComRate} { set iChannel [open $ComPort w+] set rate $ComRate fconfigure $iChannel -mode $ComRate,n,8,1 fconfigure $iChannel -blocking 0 fconfigure $iChannel -buffering none fileevent $iChannel readable "" return $iChannel } proc GetData {iChannel} { global output update after 2000 set cap [read -nonewline $iChannel] return "$cap" } proc SendCmd {channel command} { global output debug set letter_delay 10 set commandlen [string length $command] for {set i 0} {$i < $commandlen} {incr i} { set letter [string index $command $i] after $letter_delay puts -nonewline $channel $letter if {$debug(dutConfig) == 1} {puts -nonewline $output "$letter"} } after $letter_delay puts -nonewline $channel "\n" if {$debug(dutConfig) == 1} {puts $output ""} after 500 flush $channel } This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |