Artifacts Associated With Ticket 218380ffffffffffffffffffffffffffffffffff
Ticket change [ea5e45c08c] (rid 103366) by nobody on 2000-10-26 00:56:53:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 4356 Bug Version: 8.3 SubmitDate: '2000-03-10' LastModified: '2000-04-04' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Windows 95 OSVersion: 8.3 FixedDate: '2000-10-25' ClosedDate: '2000-04-04' Name: Keshu Zhang ReproducibleScript: set comFd [open COM2: RDWR] flush comFd fileevent $comFd readable "clientRead" proc clientRead {} { fconfigure $comFd -blocking no set readSize [gets $comFd readBuf] if {$readSize==-1 && [eof $comFd]==1} { puts "the pipe is closed. The program has to be closed either!" exit } } ObservedBehavior: The other end of the serial communication in a vxworks machine(unix system alike). I want to receive the message sent out from the machine. But I can not receive anything! On the other hand, the window's hyperterminal which connectes COM2 can receive message from the vxworks machine. It seems that It is not the problem of COM2 and communication pipe. As provided, this script wouldn't work. The $comFd needs to be declared global, or passed in (the better choice). Serial communication should indeed be OK in both directions (OK for others). -- 04/04/2000 hobbs - foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
serial port communication can only send message out
- type initialized to: "Bug"
Ticket change [c49b41df21] (rid 111870) by welch on 2000-10-26 08:21:16:
- closedate changed to: "2000-10-26T01:21:16"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [e61867bf6d] (rid 104241) by dgp on 2001-04-20 01:59:34:
- closedate changed to: "2001-04-19T18:59:34"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"