Re: Error when interfacing with TCP/IP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terry Reedy

    Re: Error when interfacing with TCP/IP



    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(T CP_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.

Working...