Skip to content
Tcl Source Code Artifact [8a23f9979d]
Login

Artifact [8a23f9979d]

Artifact 8a23f9979d77a6de381fb31592413f2851fb1448:

Ticket change [8a23f9979d] - Ticket [1232418fffffffff|1232418fff] <i>serial port application crashes after receiving a few chars</i> status still Open with 4 other changes by schroedter on 2005-07-18 19:00:39.
D 2005-07-18T19:00:39
J icomment Logged\sIn:\sYES\s\nuser_id=99573\n\n\sThe\sprogram\s"A\ssimple\sserial\sterminal"\sis\sonly\sa\ssimple\ndemonstrator\sfor\sserial\scommunications.\nFor\sreal\sserial\sapplications\sthere\sare\smany\serror\ssources\n(overrun,\sparity,\setc.),\s\sthey\sshould\salways\sperform\serror\nchecking.\nFor\swindows\s[fconfigure\s$chan\s-lasterror]\smay\shelp\sto\ninvestigate\sthe\sproblem.\n\nif\s{[catch\s{read\s$chan}\sresult]}\s{\sputs\s[format\s"Error\nreading\sserial\sport:\s%s"\s[fconfigure\s$chan\s-lasterror]\s]\s}\n\nIn\sthe\sdescribed\sreport\sI\sassume\sthat\sthis\sis\sa\sperformance\nproblem,\seigher\sthe\swindows\sserial\sdriver\sbuffer\soverruns\nore\smore\slikely\sthe\sUART\sFIFO.\sThe\slatter\scase\smay\sbe\nimproved\sby\sLOWERing\sthe\sFIFO\sreceive\sbuffer\slevel\s(Device\nManager\s-\sCOM1\s-\sPort\ssettings\s-\sAdvanced\s-\sReceive\sbuffer).\s\n\nQuite\ssure\sthat\sthis\sis\snot\sa\sTcl\sproblem.\n
J login schroedter
J mimetype text/plain
J username schroedter
K 1232418fffffffffffffffffffffffffffffffff
U schroedter
Z 82e7f18c612fa659da89553e961b4931