Its probably getting bored -
😄However, you cannot get an exact timer that way, any activity on the port will release wait
may want to try getmessage and a timer:
timer = createobject('rotimespan")
msg = port.GetMessage()
if msg <> invalid then do something
if timer.GetMilliSeconds() >= 18000
do something and start over
timer.mark()
end if
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )