Error when interfacing with TCP/IP

Devarajulu, Baskar (D.) dbaskar at visteon.com
Thu Jun 26 08:02:12 CEST 2008


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. 




Regards,
Baskar D.
': 91-44-9840230316

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080626/c93c30ff/attachment.html>


More information about the Python-list mailing list