LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract some bits ina byte that add to another byte

i want to extact some bits form different bytes and making these bits into byte how to that one plese help me
 
0 Kudos
Message 1 of 5
(4,529 Views)
Hi jabili,

the straight-forward solution might be:
- convert your numbers to bit-arrays (there's a special conversion function to do so)
- use "index array" to get the bits you need
- build a new array from these bits
- convert the resulting bit array back to a number (upto 32 bits)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(4,526 Views)
Hi jabili,

here is a picture:

It's not the most efficient way, but it should suit your needs...


Message Edited by GerdW on 11-28-2007 12:01 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 5
(4,520 Views)
hi
 in one my application i am using the  table indicator(with row and column headers)  .i made this for pda application but in pda theses two properties  are not supported plz tell me soluation for this?
0 Kudos
Message 4 of 5
(4,372 Views)
Hi jabili,

why not create a completely new thread when asking for a completely different problem?

I'm sorry, I don't have any experience with LV for PDA Smiley Sad

Ok, an idea:
instead of using column/row header feature of the table indicator you can put 2 additional arrays on the frontpanel simulation those headers like shown here...


Message Edited by GerdW on 02-29-2008 10:35 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(4,370 Views)