LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convertion to integer from array and logical mask

hi all.
 
please look at my VI.
 
1)i want to convert this array to 4 display. each displaywill show one element(=1 row, in this case) from the array. 
    how i do it ?
 
2) i need to make logical mask  to those numbers. how i convert the integer number to binary and make this logical mask ?
 
with best regards
pro111

Message Edited by pro111 on 12-02-2006 05:41 PM

0 Kudos
Message 1 of 5
(3,486 Views)
someone ?
0 Kudos
Message 2 of 5
(3,473 Views)
  1. To extract individual array elements, use "index array" (resize as needed).
  2. To mask an integer, simply use "logical AND" with your mask value of the same representation. It will do a bitwise operation.

Attached is a simple example (LabVIEW 8.0).

0 Kudos
Message 3 of 5
(3,459 Views)

Hi pro,

I did not follow you and came up with another example while Christian was doing his.

This is my guess at what I thought you were asking.

Ben

PS Christian, I am not trying to side step your example. I figured if I drew it up I should post.

PPS talk about a post collision!

Message Edited by Ben on 12-03-2006 12:32 PM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(3,454 Views)
many thanks
  🙂
0 Kudos
Message 5 of 5
(3,451 Views)