×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Com port access in Windows using VB

Com port access in Windows using VB

Com port access in Windows using VB

(OP)
Hi Code Gurus, I want to acquire data from Com port in real time and store it in db. If any of u have the solution, let me know. I need the solution in the VB 6.0.

thanking in advance
sudha

RE: Com port access in Windows using VB

Add a com port to a form, open it and start processing data. I think the object is MSCOMM.ocx. Hope that helps.

ccrum

RE: Com port access in Windows using VB

Hi! I have tried to connect my MAS344 multimeter trough COM to laptop using MSCOMM without any success. Maybe the probles is with multimeter. Finally I returned back to my C routines in MSDOS. In next attempt I will try to use Java.

RE: Com port access in Windows using VB

you should know the protocol of the equipment such as PLC,multimeter etc then only you can get data from the equipment thro port.you can use mscomm to get the data thro port.if you want i can send the sample programme which i have wriiten to get data from Matchushita PLC.

c b ramesh
Director
Interface Electronics pvt ltd
19 nana street
t nagar
chennai
India
email:ife@vsnl.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources