Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Com port access in Windows using VB

Status
Not open for further replies.

Guest
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
 
Replies continue below

Recommended for you

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

ccrum
 
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.:)
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor