LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gray code to BCD

dear friends

How can I convert gray code to bcd code and revers. Byte receives from PLC which should be converted.

Thanks 

Asif Iqbal 

0 Kudos
Message 1 of 2
(3,359 Views)

Have you ever heard of the World Wide Web?  Google?  Wikipedia?  Do a search on Gray Code and you will learn its history, who "Gray" was, how (and why) it is used, and algorithms to encode and decode it into numbers.  Then all you need to do is to convert the number to BCD.  How do you do that?  Read the first line of this response again.

 

Bob Schor

Message 2 of 2
(3,333 Views)