06-01-2005 07:50 AM
06-01-2005 08:52 AM
06-01-2005 09:01 AM
06-01-2005 10:02 AM
06-01-2005 11:51 AM
06-05-2014 01:49 PM
I realize I'm very late to this discussion.
I found myself needing to determine parity on some U32s that are flooding thru my system. I saw the other 'convert to boolean, sum the TRUEs' VIs, and I thought there must be a way that is lower overhead.
I came up with precalculating a boolean array for 0x00 thru 0xFF, and then indexing that array by the byte value.
For U32 words, I use the one array, break the U32 into 4 bytes, and XOR the boolean outputs. TRUE = ODD parity on the output.
I do hope this helps someone along.