win32file.WaitCommEvent error

J

jim

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

File "E:\code\Python\PyModbus\FEModbusV101.py", 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 ?

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top