12-22-2022 07:51 AM
Hi, I'm new to labview. I'm doing an array comparison with input. And I have managed to do it.
Now I want to remove the output of the array that doesn't match with the comparison and you can see that the matching output is all equal to the value of that comparison. The output value should be equal to the input value instead of the comparison value.
I attach my vi
12-22-2022 09:27 AM
Keep writing simple VIs to test your understanding of how LabVIEW works and how to make it "do what I want, not necessarily what I told you to do" -- this is often the best way to get your "Aha!" Moment.
Bob Schor
12-22-2022 10:33 AM
@SofeaNur wrote:
Now I want to remove the output of the array that doesn't match with the comparison and you can see that the matching output is all equal to the value of that comparison. The output value should be equal to the input value instead of the comparison value.
Your Question and your attached VI make no sense at all. Your VI is not even runnable. Once you fix your code (e.g. by removing the shift register and FOR loop) and run it, you will see that the output is the input masked (AND'ed) with the "compare" input.
Why is your subject line about "delete array element"? What exactly are you trying to delete? Bits are NOT array elements. And you cannot delete them, you can just set them to zero.
Study this: