Solved

Trouble with MSCOMM

Posted on 2011-03-16
4
338 Views
Last Modified: 2012-05-11
Hello,

I have inherited a project where a system of buttons can be pressed by users and when the buttons are pressed they are sent by RF to a tranceiver which is connected to a PC via RS232. There is a program in place written in VB6 which communicates this by use of MSCOMM but it doesn't appear to work as it times out when I run it on my system. I have no contact with the original developer.

I am attempting to re-write the software but am having trouble communicating with the tranceiver. I have checked the obvious... it's powered, it's connected correctly etc. I then downloaded software which is meant to send and receive data to serial devices for testing and that seems to work, so the hardware is working.

Can anyone think of anything I may be doing wrong? Any common mistakes etc? I'd prefer not to post the code I have been given as it is not my IP but can post portions if required.
0
Comment
Question by:daz84
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
VBClassicGuy earned 500 total points
ID: 35147366
Common mistakes could include baud rate, data bits, etc...the stuff you can set in Port Settings in the Device Manager. Maybe you could play around with those.
0
 

Expert Comment

by:dazfish
ID: 35161045
Thanks for the response. After making contact with the original developer it has been tracked down to a hardware issue. Parts are arriving tomorrow which should solve the problem.
0
 
LVL 2

Author Comment

by:daz84
ID: 35161051
Oops that message by 'Dazfish' was me, not sure how I've ended up with two accounts!
0
 
LVL 2

Author Closing Comment

by:daz84
ID: 35161067
Technically correct but very generalised answer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now