Solved

Convert string to parity and other port variables

Posted on 2006-11-03
4
681 Views
Last Modified: 2008-03-17
Before I implement a method to do so, is there a function to convert a string to a parity or string to stopbits ?

0
Comment
Question by:flam79
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
SunBow earned 500 total points
ID: 17869205
No.
Not within the language.
Among the reasons is that these are typically supplemental with 8 bit ASCII.

What is done more often is to program the port, and it will always send/receive using that protocol until programmed differently.

Each character can be ten bits then, even with 7 bit ascii
To convert an entire file would thus be rather tedious and unnecessary
0
 
LVL 24

Expert Comment

by:SunBow
ID: 17869214
If addressing bits, so not neglect the start and sync bits
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

679 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