?
Solved

How to communicate with device connect via Com 1?

Posted on 2002-06-07
3
Medium Priority
?
180 Views
Last Modified: 2010-05-02
hi, I have a device connect to Com1 & I want to retrieve data from this device, what is the command should I use in VB? I already try to use MSComm, but still cannot. Any idea, pls help...thanks..
0
Comment
Question by:meAlone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
DrMaltz earned 200 total points
ID: 7064286
Yes, MSComm provides the means to communicate to a hardware device via COM ports, but you must have the Protocol the device.  The protocol determines the commands and how they have to be issued to the device.  Have you contacted the manufacturer of the device?  Are they willing to provide you with the protocol?  If so.. you're good to go.. if not, you may have to reverse engineer the communication..
Here are a few software vendors that provide protocol analyzer software.  
 http://www.sinnovations.com/  
 http://www.angelfire.com/biz5/USDM/index.html  
 http://www.runmode.com/  
 http://www.greenleafsoftware.com

Good Luck,

DrMaltz.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7873407
Hi meAlone,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept DrMaltz's comment(s) as an answer.

meAlone, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7924874
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

777 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