• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 384
  • Last Modified:

Trouble with MSCOMM

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
daz84
Asked:
daz84
  • 2
1 Solution
 
VBClassicGuyCommented:
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
 
dazfishCommented:
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
 
daz84Author Commented:
Oops that message by 'Dazfish' was me, not sure how I've ended up with two accounts!
0
 
daz84Author Commented:
Technically correct but very generalised answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now