Buy Used
Used - Good See details
$13.97 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Have one to sell? Sell yours here
Visual Basic Programmer's Guide to Serial Communications
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Visual Basic Programmer's Guide to Serial Communications [Paperback]

Richard Grier (Author), Zane Thomas (Editor), James Shields (Editor), Alice Phounsavan (Illustrator)
4.0 out of 5 stars  See all reviews (25 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Paperback --  
Paperback, March 1997 --  

Book Description

March 1997
INCLUDES .NET! Also includes VB5, VB6, and eVB for Windows CE. Add serial communications to your Visual Basic applications using Custom Controls and the Windows API. Includes VB5 and VB6! Here is the information you that you need to use modems and direct serial connections (including RS-232, RS-422 and RS-485) for almost any purpose. Richard Grier uses his many years of experience to guide you through the process, while providing the insight that you will need to extend and adapt the ideas that he presents to your own projects. Make your serial communications programs reliable. Learn how to debug communications problems. Resources galore!
--This text refers to an out of print or unavailable edition of this title.


Editorial Reviews

Review

Add serial communications to your Visual Basic applications using Custom Controls and the Windows API. Includes VB5! Here is the information you that you need to use modems and direct serial connections (including RS-232, RS-422 and RS-485) for almost any purpose. Richard Grier uses his many years of experience to guide you through the process, while providing the insight that you will need to extend and adapt the ideas that he presents to your own projects. Make your serial communications programs reliable. Learn how to debug communications problems. Resources galore! Bonus Disk Included! -- Book Description

Excerpt. © Reprinted by permission. All rights reserved.

A Quick Preview Of The Book And Disk Content
Chapter 1 covers serial communications, Windows, the PC hardware that is used, and flow-control. Error-corrected file transfers and terminal emulation are covered next. Chapter 2 covers modems and serial standards. More than 40 of the most common questions about modems are answered. Serial hardware standards are discussed, and various RS-232 null-modems are illustrated. RS-422 and RS-485 are discussed, with code fragments presented for RS-485. Chapter 3 discusses the details of the Windows communications API, including the Telephony API. Chapter 4 discusses the MSCOMM custom control. The versions for VB2 through VB5 are covered, along with programming concepts for each. Here is where we start to see some practical program examples to illustrate the use of MSCOMM. There is a program included called LOGGER. This program illustrates how to use MSCOMM to communicate with a (DVM) Digital Volt Meter. The ideas that are conveyed with this program include how to implement a communications protocol, in this case one that has been designed by an electronic instrument manufacturer. The last MSCOMM program is a Global Positioning Satellite receiver program. It illustrates implementation of a serial protocol called NMEA-0183. The receiver program synchronizes your computer to the GPS receiver time and date, and provides highly accurate location (latitude and longitude). Several other programs (applets) are included to illustrate various points. Chapter 5 goes into the Windows API. First the Windows16 API, with a very simple dumb terminal program. You might choose to use the Windows API if you don't have VB Professional version, so you don't have MSCOMM. If you don't want to upgrade, or to purchase a commercial communications add-on, this will show you what you need to know. Also included is a program that uses the API to overcome the maximum speed limitation (19.2K bps) of 16-bit versions of MSCOMM. Next discussed is the Windows 32 Communications API. The 32-bit API is similar to the 16-bit API, but there are critical differences. Last is TAPI (the Telephony API). A simple Windows 95 dialer is shown, and other uses, and limitations of TAPI are discussed. Chapter 6 is an overview of a variety of commercial communications add-ons for Visual Basic. The Crescent PDQComm, MicroHelp Communication Library, Sax Comm Objects, SilverWare SilverComm, MagnaCarta CommTools, and Crystal CrystalCOMM are discussed. Three programs are provided. One is a Simple Host, the other a Simple Remote. These show dialing and automatic error-corrected file transfers. These programs use the PDQComm custom control. The third program uses the Crescent PDQTapi custom control to provide a TAPI interface for the Simple Remote program. Chapter 7 discusses paging. Numeric paging is shown, and the and its limitations are discussed. Alphanumeric paging (AlphaPaging) is the real forte of this chapter. Two add-ons for Visual Basic are covered. Significa Software's custom controls are discussed, and a program is included that uses Rob Tanner's PowerPage DLLs (the DLLs are included on the disk) illustrates the process. Chapter 8 examines the use of direct I/O port manipulation to do things that cannot be done using more conventional API methods. This requires that you understand the physical I/O structure of your PC. Four methods are discussed. The first uses VBASM.DLL (included) to access PC I/O ports on a system using a 16-bit version of Visual Basic. The second uses WIN95WIN95IO.DLL to do the same using a 32-bit version of Visual Basic. Two programs are included that monitor the status of the Carrier Detect bit in the UART. This allows a Visual Basic program to record the total connect time of another Windows Program. A third program is used to overcome the maximum speed limitation (19.2K bps) of MSCOMM32.OCX, furnished with VB4. Two commercial products, Tetradyne Hardware OCX and BlueWater Systems WinRT OCX, are discussed that allow you to access hardware directly under both Windows 95 and Windows NT. A demonstration program, using Tetradyne Hardware OCX is presented that allows a program to force DTR false, thus causing a modem disconnect, on a comport that is opened by another application. A shareware kernel-mode driver, called TINYPORT is included on the disk, and is described. This driver provides port I/O under Windows NT Chapter 9 is important. Debugging communications applications can be hard. Here are discussed both hardware and software methods for debugging your applications. Techniques for optimizing your code and tips to increase its reliability are presented. The use and utility of telephone line simulators are discussed. Last, debugging serial port hardware problems is discussed. Appendix A provides resources. Contact information is provided for all of the products that were mentioned in the book. Lots of additional contact information is provided for companies that offer products or services that may be useful, but that couldn't be discussed in detail. Appendix B is a VT100 terminal emulator that uses the Windows 16-bit API. It includes XMODEM file transfers and scripting. Appendix C is the complete NMEA-0183 protocol, used in the GPS receiver program. Appendix D details the I/O port description of 8250 and 16550AF UARTS. Appendix E is a chart of the ASCII character set. Appendix F is the basic AT modem command set.

Product Details

  • Paperback: 304 pages
  • Publisher: Mabry Software Inc; 1890422274 edition (March 1997)
  • Language: English
  • ISBN-10: 1890422258
  • ISBN-13: 978-1890422257
  • Product Dimensions: 8.9 x 7.3 x 0.2 inches
  • Shipping Weight: 13.6 ounces
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (25 customer reviews)
  • Amazon Best Sellers Rank: #2,031,434 in Books (See Top 100 in Books)

More About the Author

I am a consultant specializing in embedded system design and implementation, PC systems programming using Microsoft Visual Studio ™, real-time data acquisition and control, embedded GPS (Global Positioning System satellite receivers), data communications (modems, both asynchronous and synchronous, RS-232, RS-422, and RS-485, fiber optics, network TCP/IP and UDP, Internet/www, and wireless communications), RFID on compact devices (Pocket PC or embedded Windows CE), PC user interface design and implementation on Windows desktop, Pocket PC or WinCE systems, the .NET Microframework, scientific, laboratory, industrial machine control, RFID, and GIS - Microsoft MapPoint ™ and Virtual Earth ™ applications.

My web site is www.hardandsoftware.net.

My principal hobbies are scuba diving and Texas Hold-em.

 

Customer Reviews

25 Reviews
5 star:
 (12)
4 star:
 (8)
3 star:
 (1)
2 star:
 (1)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (25 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

16 of 16 people found the following review helpful:
5.0 out of 5 stars Great Book! Helped me a lot..., April 7, 1999
Amazon Verified Purchase(What's this?)
This review is from: Visual Basic Programmer's Guide to Serial Communications (Paperback)
Needed to write a VB6.0 program to communicate with ten (10) temperature controllers via RS485. Also wrote an ActiveX dll in VB6.0 to communicate to an Electrocraft Servo Drive Controller. This book helped immensely in both of those tasks. If you need examples of how to use the MSCOMM control, this book is it!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
5.0 out of 5 stars My Bible, January 19, 2000
This review is from: Visual Basic Programmer's Guide to Serial Communications (Paperback)
As a VB programmer for 4 years, the last 2 spent working with various instruementation devices, serial comms is a MUST KNOW area for me. This book has been my main port of call for any serial comms issue that I have come accross. Although at this stage it is rarely moved from my book shelf, that is only because its knowledge is lodged firmly in my head. Excellent book. Well Done.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
4.0 out of 5 stars Brings serial support and VB together nicely, June 12, 1997
By A Customer
This review is from: Visual Basic Programmer's Guide to Serial Communications (Paperback)
I am always pleasantly surprised by the number of people in thetechnical world who take the time to summarize their knowledge andshare it with others. Dick Grier has done a fine job of getting together information that ties serial communications and Visual Basic together. If you are a novice to intermediate user of either serial communications or Visual Basic (in my case, I am a novice VB programmer), the book will provide sufficient info to get you "over the top". Modems, terminal emulators, loggers, GPS interfacing and telephony are some of the areas that are covered. You may find a sample app that fits just what you are trying to accomplish. To facilitate moving beyond the information the book provides, Dick has included a list that covers lots of additional resources for data.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse and search another edition of this book.
First Sentence:
I have worked for over 33 years as an engineer, and for the last 20 years I have worked designing modems and data communications systems hardware and software. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
telephone line simulators, dialable address, length string containing, fiber optic modems, multiport boards, serial speed, serial port hardware, virtual serial ports, software flow control, comm port, serial port speed, initialize the modem, numeric paging, hardware flow control, modem manual, serial hardware, dial string, asynchronous character, parity hit, communications driver, modem responses, smart modem, decoded data, sending system, string buffer
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Private Sub, Visual Basic, Global Const, Private Const, End Function, Buffer As String, Private Declare Function, End Property Public Property Let, Select Case, Visual Studio, End Property Public Property Get, End Select, End If Else, Private Function, Sax Comm Objects, Public Function, End Get Set, Public Sub, Compact Framework, True Else, Case Else, End Get End Property Public, Device Control Block, Dim Res, Timeout As Single
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:





Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(284)
(284)
(261)
(295)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!

Create a Listmania! list

So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject