We help IT Professionals succeed at work.

Convert string to parity and other port variables

flam79
flam79 asked
on
Medium Priority
767 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 ?

Comment
Watch Question

Commented:
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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
If addressing bits, so not neglect the start and sync bits
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.