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.
>
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.
informative. Look at line 320 and see what might trigger the error.