hi all,
I have a machine that is connected to COM1 of my pc and the interface config is RS232C, 19200 Baud, no parity, 2 stop bits and with no flow control. so the purpose of this machine is that when ever I press a particular key in my keyboard the machine recieves this information and immediately sends the appropriate data back to my system(but this data is in Hex) and displays it. so it works fine with Tera Term Pro software. but now I want to achieve this with Tcl/Tk so that I can convert that hex data to the type I want.
I found out some useful info at but I guess that works fine only when there is data comming directly from the other party(to read) rather than waiting for my input and then responding.
I think it is still possible for me if I make some changes in that code, but I'm not well versed in this serial port communication.
could some one tell me how I shud proceed!
thanx,
Raj.
I have a machine that is connected to COM1 of my pc and the interface config is RS232C, 19200 Baud, no parity, 2 stop bits and with no flow control. so the purpose of this machine is that when ever I press a particular key in my keyboard the machine recieves this information and immediately sends the appropriate data back to my system(but this data is in Hex) and displays it. so it works fine with Tera Term Pro software. but now I want to achieve this with Tcl/Tk so that I can convert that hex data to the type I want.
I found out some useful info at but I guess that works fine only when there is data comming directly from the other party(to read) rather than waiting for my input and then responding.
I think it is still possible for me if I make some changes in that code, but I'm not well versed in this serial port communication.
could some one tell me how I shud proceed!
thanx,
Raj.