Hi!
I have a really easy questiion but I'm new to Labview and have difficulties solving it. I hope sb can help me.
The problem:
The information I read from the encoders gives me an unsigned byte(8 bit integer) . depending on if I want to read MSB or LSB I get different bytes.
I have 2 buttons which indicates if I should get a MSB or LSB information out from encoders.
I want to use a case to be able to do some opperations on each one of the bytes depending on if it is a MSB or LSB.
How can I specify the cases so the program understands when MSB is read it should do the opporations I want it to do and the same for LSB?
For example when a MSB is read it should read the 8 bits and it should take away the last 3 bits from the left side of the byte and give me an 5 bits.
I use PCI-6221 and labview 8.2
Thanks
Mehmet