09-13-2005 10:54 AM
@mukkel wrote:
The type cast 4X doesnt work how i wanted. If i placed that one it sends 2 bytes thats 1 to much 😉
09-14-2005 06:47 AM - edited 09-14-2005 06:47 AM
Message Edited by mukkel on 09-14-2005 06:48 AM
09-14-2005 09:09 AM
12-25-2013 12:32 PM
Firstly, sorry for my english. I hope you will understand what I want.
I have similar problem like author of this topic. But I don't want boolean on the end but I want to see 8 bits (for example: 1000101). I have array whit bits in numbers and now I don't know what to do next. Looking for solution for almost a day and I can't find what I'm looking for.
I need this for parity bit check. Unless I can check parity without single bit.
This is how my array looks
12-25-2013 01:10 PM
12-25-2013 01:10 PM - edited 12-25-2013 01:12 PM
@arozma wrote:
But I don't want boolean on the end but I want to see 8 bits (for example: 1000101). I have array whit bits in numbers and now I don't know what to do next. Looking for solution for almost a day and I can't find what I'm looking for.
In computers, everything is "bits", one way or another, so "bits in numbers" does not give any useful additional information. Please explain in more details.
If these are integers, all you need to "see" the bits, is change the display format to binary. No code needed.
arozma wrote:I have similar problem like author of this topic.
No, your problems is not similar. Also, the existing thread is seven years old. Try to start a new thread next time.
12-25-2013 01:19 PM
It is usually better to start a new thread than to post to one which is 8 years old.
Use Index Array to get the last element. The wire the output to Number to Boolean Array. That will give you a boolean array of 8 elements (assuming that your data is U8).
You can use the Rotate with Carry function in a loop to evaluate parity without converting to boolean. Whether it is faster, I have not checked.
Lynn
12-25-2013 02:36 PM
Compliments of the season to you all.....
12-26-2013 03:15 AM
@Dennis_Knutson wrote:
You can simply right click and select Display Format and then choose binary. The display format is irrelevant to calculating parity so you better explain what you really need.
Thank you. This is what I needed. I didn't know that is so easy.
Yes I'm new in Labview programing so sorry for may stupid questions.
@johnsold wrote:
It is usually better to start a new thread than to post to one which is 8 years old.
Use Index Array to get the last element. The wire the output to Number to Boolean Array. That will give you a boolean array of 8 elements (assuming that your data is U8).
You can use the Rotate with Carry function in a loop to evaluate parity without converting to boolean. Whether it is faster, I have not checked.
Lynn
Ok. Next time I will start new thread. I tod that is beter to use old thread for questions like was mine.
Thank you for parity check example.