Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

serial ports on windows 1

Status
Not open for further replies.

RajVerma

Programmer
Jun 11, 2003
62
DE
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top