Overview:
This VI converts a binary number in gray code to a standard binary representation.
Description:
Gray-coded binary is used widely with absolute encoders in industry due to the property that each transition involves only a single bit change, ensuring that there are no indeterminate states. For more information on gray codes, see the wikipedia article here: http://en.wikipedia.org/wiki/Gray_code.
Requirements:
Steps to Implement or Execute Code:
Additional Information or References:
.
"**This document has been updated to meet the current required format for the NI Code Exchange.**"
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Thank you for this version. About 25x faster on my machine !
No problem, thanks wikipedia!