ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Manchester decoding using Labview

Does anyone have any experience (VI)with using Labview to access and decode
data that's Manchester encoded?
0 Kudos
Message 1 of 5
(6,674 Views)
What's Manchester encoding? I know in some areas of Manchester UK, the
spoken text is sometimes encoded by such mechanisms as the replacement of
"er" by "orh"...

Mario Santos wrote in message
news:3a59efd9@newsgroups.ni.com...
>
> Does anyone have any experience (VI)with using Labview to access and
decode
> data that's Manchester encoded?
0 Kudos
Message 2 of 5
(6,674 Views)
Mario Santos wrote:

> Does anyone have any experience (VI)with using Labview to access and decode
> data that's Manchester encoded?

Maybe I am thick headed, but the only Manchester coding I am aware of
is a physical coding that is done in hardware. I can't seem to relate
it to software in the way that grey codes or BCD is done.
All I have ever seen is done in hardware and the decoded data
sent out for software processing.

If you have more info I can try again.
Kevin Kent
0 Kudos
Message 3 of 5
(6,674 Views)
In manchester encoding a bit is represented by a rising or faling edge rather than a high or low.
a low or false value is represented by a falling edge (true to false)
a high or true value is represented by a rising edge (false to true).

Hence:
01 10 01 10 01 01 10=
1 0 1 0 1 1 0 0


If your input comes in as a binary array, you need to parse the array two ellements at a time to genreate the corresponding binary value.

Note that for a particular output baudrate, your clock must be twice that frequency.

Regards,
Amaury R,
NI Applications Engineer.
0 Kudos
Message 4 of 5
(6,674 Views)

Hi, Looking at your example there I noticed there are 14 bits for input and you have 8 bits for output.  Shouldn't that be 7 bits output?

 

mike

Mike
0 Kudos
Message 5 of 5
(5,654 Views)