daz84
asked on
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
ASKER
Oops that message by 'Dazfish' was me, not sure how I've ended up with two accounts!
ASKER
Technically correct but very generalised answer