Solved

Convert string to parity and other port variables

Posted on 2006-11-03
4
684 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Simple Linear Regression

688 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