Error when interfacing with TCP/IP
Terry Reedy
tjreedy at udel.edu
Thu Jun 26 18:04:40 EDT 2008
Devarajulu, Baskar (D.) wrote:
> Hi,
>
> I'm using Python and working for automation of testing ,I face error
> when the script accessed TCP/IP Interface
>
> COMM_TYPE = 1 # Choose 1 - TCP IP Communication or 0 -
> RS232 communication.
> TCP_ip = '136.18.201.53' # the TCP IP address of the PC.
> port = 8080
> BAUD_RATE = 115200
>
> if (COMM_TYPE == 1):
> asap3.TcpOpen(TCP_ip,port)
>
> Error:
>
> C:/Apps/dSPACE51/Common/Python22/Modules/InterfaceLibs/asap3lib.py",
> line 320, in TcpOpen
> asap3libError: Error connect TCP/IP
> Thanks if you can help.
asap3lib.py is not part of the stdlib, and the error message is not very
informative. Look at line 320 and see what might trigger the error.
More information about the Python-list
mailing list