Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 23rd, 2005, 12:40 PM
Registered User
 
Join Date: Nov 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Serial communications

Hi, i have recently started using VB so im a total beginner really, but i have a question on serial coms.
I want to interface some sensors to my pc.

Im looking to use either 9 pin or 25 pin connection and have 4 sensors
From a little research i found the following information on the cabling

  Pin Direction Signal
    1 Input DCD Data Carrier Detect
    2 Input RXD Received Data
    3 Output TXD Transmitted Data
    4 Output DTR Data Terminal Ready
    5 Signal Ground
    6 Input DSR Data Set Ready
    7 Output RTS Request To Send
    8 Input CTS Clear To Send
    9 Input RI Ring Indicator

I also found MScomm and was wondering would it be possible to use this to collect data from the Inputs using MScomm. The sensors would not need any outputs to them only to send single changes back to the machine.
For example if i connect the sensors to pins 1, 2, 6, 8, Can i collect the data and when a change occurs increment a counter ?

any information on this would be great thanks

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Communications News softomania JSP Basics 0 October 27th, 2008 12:57 PM
Communications link failure in JBOSS with MYSQL skumar Hibernate 3 August 27th, 2008 11:43 PM
Architechture of Windows Communications dubey.kuldeep Windows Communication Foundation 0 October 17th, 2005 06:47 AM
Serial port communications Skoog C# 1 September 28th, 2005 09:18 AM
RS-232 serial communications Mitch Access 1 April 23rd, 2004 07:50 PM



All times are GMT -4. The time now is 02:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.