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
Solved

Convert string to parity and other port variables

Posted on 2006-11-03
4
679 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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 …
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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 …

792 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