Solved

How to communicate with device connect via Com 1?

Posted on 2002-06-07
3
178 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 50 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

726 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