Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67078

Customized Array, Loop and Merge...

$
0
0

Greetings,

                I have a problem when I run this VI for the second time... I am not getting the answer I intend to get... I think the problem is the append function... What else can I do to get my intended answer????

Let me explain what I'm trying to achieve:

                         Main and Main 2 are a single dimension array whereas A and B are 2 dimensional... I would like to compare the Main and Main 2 row-wise and if Main is greater I would like to take the same row from A and if Main 2 is greater the row of B should be written... This must be done 5 times in one run... When run for the second time I would like to have only 5 rows in the Final Array... But I get 10 due to append but I'm not sure how to achieve this without append...

Front.jpg

True.jpg

False.jpg

   

 

I have attached the vi also.

Thank you in advance...


Viewing all articles
Browse latest Browse all 67078

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>