win32file.WaitCommEvent error

Discussion in 'Python' started by jim, Aug 1, 2003.

  1. jim

    jim Guest

    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
     
    jim, Aug 1, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jim
    Replies:
    0
    Views:
    784
  2. jim

    WaitCommEvent error

    jim, Sep 26, 2003, in forum: Python
    Replies:
    0
    Views:
    828
  3. Robert Brewer

    win32file.AllocateReadBuffer

    Robert Brewer, Jun 11, 2004, in forum: Python
    Replies:
    0
    Views:
    520
    Robert Brewer
    Jun 11, 2004
  4. me
    Replies:
    1
    Views:
    427
    Christos TZOTZIOY Georgiou
    Dec 10, 2004
  5. Ron Jackson
    Replies:
    5
    Views:
    925
    Dennis Lee Bieber
    Apr 7, 2007
Loading...

Share This Page