473,387 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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(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
0 949

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Pierre Jelenc | last post by:
I use mail() for a musician's mailing list script that suddenly started having problems after many months of working flawlessly. The code fragment is: if...
4
by: Shaurya Anand | last post by:
I would like to know more about Interfacing hardware devices through .NET. We're students and what we're trying to do is control our robots with printer or serial port interfacing... very similar...
1
by: T8 | last post by:
I have a asp.net (framework 1.1) site interfacing against SQL 2000. It runs like a charm 99% of the time but once in a while I get the following "unspecified error". Sometimes it would resolve by...
1
by: Mark Richards | last post by:
Hi, I am interfacing with another company using web services (they are a java shop). We've been doing this for over 2 years, but a couple months age we started getting this error randomly. It...
16
by: Jon | last post by:
Hello all, We have a strange problem with our app. If the database table to which the app is writing is open, the app hangs and just takes ages. Why would this be so? Thanks, Jon
2
by: 001 | last post by:
I get the following error when compiling under MS VC++: ------ Build started: Project: pract-1, Configuration: Debug Win32 ------ Compiling... pract-1.cpp Linking... atlsd.lib(atltrace.obj) :...
4
by: liz0001 | last post by:
Hi, I am getting this error when I try to run my code: Missing semicolon (;) at end of SQL statement However, there is a semicolon at the end of my statement. Here is the statement: INSERT...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
5
by: cujofreak | last post by:
Hello Forum, When compiling my code I receive a runtime error. I am fairly new to vb coding, let alone interfacing it with access. I have attached my code to the thread hoping someone might...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.