![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | octal number I have been asked to send a Oct(6) to a com port. How do I represent that number ? Is there a shorthand for it ? Thanks |
My System Specs![]() |
| | #2 (permalink) |
| | Re: octal number "Phil Hunt" <aaa@newsgroup> wrote in news:uImueOBVKHA.1792@newsgroup: Quote: > I have been asked to send a Oct(6) to a com port. How do I represent > that number ? Is there a shorthand for it ? you are tlaking to something else through the COM port, then you need to find what it is actually expecting (6 in octal or a string representation). More than likely a 6 represented in binary is good enough in this case. Peace and Grace, -- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA Twitter: @gbworld Blog: http://gregorybeamer.spaces.live.com ******************************************* | Think outside the box! | ******************************************* |
My System Specs![]() |
| | #3 (permalink) |
| | Re: octal number Thanks. will find out. "Gregory A. Beamer" <NoSpamMgbworld@newsgroup> wrote in message news:Xns9CAD95656FC6Fgbworld@newsgroup Quote: > "Phil Hunt" <aaa@newsgroup> wrote in > news:uImueOBVKHA.1792@newsgroup: > Quote: >> I have been asked to send a Oct(6) to a com port. How do I represent >> that number ? Is there a shorthand for it ? > Most likely a binary 6 is enough if you are truly talking to a COM port. > If > you are tlaking to something else through the COM port, then you need to > find what it is actually expecting (6 in octal or a string > representation). > More than likely a 6 represented in binary is good enough in this case. > > Peace and Grace, > > > -- > Gregory A. Beamer > MVP; MCP: +I, SE, SD, DBA > > Twitter: @gbworld > Blog: http://gregorybeamer.spaces.live.com > > ******************************************* > | Think outside the box! | > ******************************************* |
My System Specs![]() |
| | #4 (permalink) |
| | RE: octal number "&O6" in VB. "06" in C++. No shorthand in C#. -- David Anton http://www.tangiblesoftwaresolutions.com Convert VB to C#, C++, or Java Convert C# to VB, C++, or Java Convert C++ to C#, VB, or Java Convert Java to C#, C++, or VB "Phil Hunt" wrote: Quote: > I have been asked to send a Oct(6) to a com port. How do I represent that > number ? Is there a shorthand for it ? > Thanks > > > . > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: octal number On 2009-10-23, David Anton <DavidAnton@newsgroup> wrote: Quote: > "&O6" in VB. > "06" in C++. > No shorthand in C#. -- Tom Shelton |
My System Specs![]() |
| | #6 (permalink) |
| | Re: octal number On 2009-10-23, Tom Shelton <tom_shelton@newsgroup> wrote: Quote: > On 2009-10-23, David Anton <DavidAnton@newsgroup> wrote: Quote: >> "&O6" in VB. >> "06" in C++. >> No shorthand in C#. > Yes there is - it's the same as C++. > -- Tom Shelton |
My System Specs![]() |
| | #7 (permalink) |
| | Re: octal number Is 6 the only value you have to send? If so, then this is the same as decimal 6 or hexadecimal 6. If you need to convert other ranges of values, then you will need some code -- there are samples available online. Dick -- Richard Grier, Consultant, Hard & Software 12962 West Louisiana Avenue Lakewood, CO 80228 303-986-2179 (voice) Homepage: www.hardandsoftware.net Author of Visual Basic Programmer's Guide to Serial Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July 2004, Revised July 2006. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: i need id number | Vista mail | |||
| Number of "messages" not relating to actual number | Live Mail | |||
| 7z isn't a number | PowerShell | |||
| Number pad | Vista hardware & devices | |||
| mac number | Vista hardware & devices | |||