Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8ab6f38ef8a4dd2710d776d3f0263136b1014356
Ticket: 218700ffffffffffffffffffffffffffffffffff
Serial Com port looses characters.
User & Date: nobody on 2000-10-26 01:04:17
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1784 Bug
    Version: 8.1b3
    SubmitDate: '1999-04-12'
    LastModified: '1999-04-20'
    Severity: SER
    Status: Released
    Submitter: pat
    ChangedBy: redman
    OS: Windows 98
    Machine: X86
    FixedDate: '1999-04-20'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Brian O'Brien
    
    
    
    ReproducibleScript:
    
    if [eof $comport] {
    
              puts "caught eof on $comport."
    
              catch {close $comport}
    
           } else {
    
              set n [gets $comport line]
    
              if {$n != -1} {
    
                 puts $line
    
              }
    
           }
    
        }
    
        
    
        proc openport {} {
    
        
    
           global comport
    
        
    
           set comport [open com2: r+] 
    
           fconfigure $comport -blocking 0 -buffering line -mode 2400,n,8,1
    
           fileevent $comport readable [list incomming $comport]
    
        }
    
    
    
    ObservedBehavior:
    
    Characters are lost regardless of the baud rate...
    
    
    
    DesiredBehavior:
    
    No loss of data or an error indicating serial overrun...
    
    
    
    
    
    04/20/1999 16:19 - redman - Fixed the problem, ClearCommError() has an annoying side effect of nuking data out of the buffer.
    
    
    
  4. foundin changed to: "obsolete: 8.1b3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "62. (unused)"
  10. title changed to: "Serial Com port looses characters."
  11. type changed to: "Bug"