473,385 Members | 1,536 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,385 software developers and data experts.

Comm Port Monitoring Urgent

I am looking for a small program or two that allows me to see what is being
sent to a device on the serial port, and the response coming in the serial
port from the device.

When I have COM1 open, it seems that
the program I made don't work because they need a COM port to themselves??
I
always get error messages saying something like "unable to open com port"
when
it's already open.........
Nov 21 '05 #1
6 4293
"chandan" <ch*****@sys.com> wrote in
news:up**************@TK2MSFTNGP10.phx.gbl:
I am looking for a small program or two that allows me to see what is
being sent to a device on the serial port, and the response coming in
the serial port from the device.

When I have COM1 open, it seems that
the program I made don't work because they need a COM port to
themselves?? I
always get error messages saying something like "unable to open com
port" when
it's already open.........

Do you need a component or a program?

If you goto Google and type Serial Port Sniffer, you'll find several
programs.

Also, Microsoft's free VB resource kit comes with a com port component from
Sax.Net - I'm not sure if it can open the serial port while another app is
using it though.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #2
Chandan,

Only in addition to Lucas the place of the resource kit.

VB.net Resource kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing the resource kit
http://msdn.microsoft.com/vbasic/vbr...q/#installvdir

I hope this helps?

Cor

"chandan" <ch*****@sys.com>
Nov 21 '05 #3
Hi,

Usually, if you get an error that states that the port already is open (and
you have not yet opened it), the problem is that Windows may have assigned a
mouse driver to the port.

Windows XP can do this during Plug-and-play device identification during the
startup process. The clue is if the device sends data continuously,
regardless of the state of the port. There are a number of devices that do
this, and they confuse Windows -- once confused, the port becomes useless.
This really is a bug in Windows, and the work-around that is provided by
Microsoft does not really work.

If this is your problem, there are only two solutions (today):

1. Make sure that the device is not connected or is not powered up, during
the boot cycle. After Windows has loaded, you can connect the device or
turn on power to it.

2. Use a USB serial port adapter, instead of an internal serial port.
Usually, Windows will then ignore the data it sends, and not misinterpret it
as a mouse.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Nov 21 '05 #4
Hi Chandan

There is a trial of Serial Monitor by HHD at http://www.hhdsoftware.com.

It will monitor the port whilst you have it open.

HTH

Charles
"chandan" <ch*****@sys.com> wrote in message
news:up**************@TK2MSFTNGP10.phx.gbl...
I am looking for a small program or two that allows me to see what is being
sent to a device on the serial port, and the response coming in the serial
port from the device.

When I have COM1 open, it seems that
the program I made don't work because they need a COM port to themselves??
I
always get error messages saying something like "unable to open com port"
when
it's already open.........

Nov 21 '05 #5
Hi Lucas Tam ,

I Need a program I didnt get anything can u help me futher in tracking the
serial port activities
when one application is already running..
Thanx a lot

chandan
Nov 21 '05 #6
Chandan

Did you see my reply about HHD's Serial Monitor? Unless I have misunderstood
your question it seems that this would help you.

Charles
"chandan" <ch*****@sys.com> wrote in message
news:O9**************@tk2msftngp13.phx.gbl...
Hi Lucas Tam ,

I Need a program I didnt get anything can u help me futher in tracking the
serial port activities
when one application is already running..
Thanx a lot

chandan

Nov 21 '05 #7

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

Similar topics

3
by: al | last post by:
Hi, I am creating an application in access 97, so coding in vba. I am at the stage of sending values to my external machine, but am stuck at a point. I need to send each character at an...
1
by: sarath1111 | last post by:
hi all, I am using comm port for serial communication between 2 PC's using C language. Once I have initialized the COMM port, Is there any option of closing the port in C language. Thanks in...
7
by: Michael Chong | last post by:
I wrote a program that communicate with SerialComm. In every 300 milliseconds, my program continuously send & receive data via the serial port once the program starts. My program is once in a...
3
by: Frank Perry | last post by:
Howdy, I'm trying to write data out the com port. I have taken the code from the sample on the MSDN Library CD and used the parts that seem relevant. I can open the com port with CreateFile...
4
by: Iceman.Aragorn | last post by:
I'm having an odd problem where im reading input from a comm port (the maker of the software that exports the data TO the comm port is unhelpful). What im reading is fixed length (13 character)...
2
by: Hank | last post by:
Hello, I would like to get some opinions on using the Comm Port with Access 2000. We have a few jobs coming in that require us to interface with a PLC via the Comm Port. My partner feels we...
2
by: herat007 | last post by:
hi , i have developed a prog in vb to send sms , but i get an error error:8020 "Error reading from comm port" my prog for mscomm_oncomm() is Private Sub MSComm1_OnComm() Dim strMessage As...
1
by: kkkkkkkkkk | last post by:
Comm.jar is used for communication in windows in java. Does any comm.jar is available for linux? In linux which package is available for serial port communication? It's very urgent.
9
by: rajujrk | last post by:
hi, currently i am doing the project to send the sms from PC to Mobile and vice versa using GSM modem. I successfully done this process in Hyperterminal. First i connect the GSM modem in COM1 port...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.