By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,332 Members | 1,170 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,332 IT Pros & Developers. It's quick & easy.

Re: Error when interfacing with TCP/IP

P: n/a


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.

Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.