#17 "outWaiting()" functionality for Win32

closed
nobody
None
5
2009-07-21
2008-12-18
ramy_z
No

Hi,

Could you please add outWaiting() function for Win32 Serial class?
In order to know how much data is now at the TX buffer of given port, I think it's enough to use:

def outWaiting(self):
flags, comstat = win32file.ClearCommError(self.hComPort)
return comstat.cbOutQue

Thanks in advance,
Roman.

Discussion

  • Chris Liechti
    Chris Liechti
    2009-07-21

    • labels: 397065 -->
    • milestone: 181227 -->
    • status: open --> closed
     
  • Chris Liechti
    Chris Liechti
    2009-07-21

    ok :-)