win32file.WaitCommEvent error

jim news at
Fri Aug 1 13:39:23 CEST 2003

Hi, All
I am using python (activestate 2.2.2-224) on XP home and have suddenly got
following error from a file which worked fine under millenium.

 File "E:\code\Python\PyModbus\", line 162, in ComPortWrite
    rc,mask =win32file.WaitCommEvent(self.hComm,self.Overlapped)
api_error: (87, 'WaitCommError', 'The parameter is incorrect.')

I think the api call requires 3 parameters but only 2 are used in python any
ideas ?


More information about the Python-list mailing list