Applies To:
  • CitectSCADA 5.20

I am getting the following error messages from CTAPI interface:

Windows error 233: No process is on the other end of the pipe.

Windows error 212: The segment is locked and cannot be reallocated.

Windows error 87: The parameter is incorrect.

What is causing these errors?


Citect no longer supports named pipes in version 5.20.  Citect version 5.10 did support named pipes, however that feature was replaced with TCP/IP sockets in version 5.20.  All the error messages you are getting seem to be that the CTAPI cannot create a named pipe connection to Citect.  So the problem could be that the CTAPI client is using the DLL from version 5.10 while Citect is running Version 5.20.

Try copying the CTAPI.DLL and all the associated DLLs from the Citect computer to the PI computer.  You will need to copy the files CTAPI.DLL, CT_IPC.DLL, CTENG32.DLL, CTRES32.DLL, and CTUTIL32.DLL as they are a matched set.