jgarciallamas Posted December 15, 2006 Report Share Posted December 15, 2006 Hi, I hope you can help me a little bit with an algorithm problem, I have no way to manage it and I'm a little bit crazy trying different things . My vi has a 2D array input, also the output. The first position of every row inside the 2D input array is a string, which I have to parse. In case there was a match with an string constant value I have to keep this row into 2D output array and going on the rest of the rows. Thanks in advance for your help. :worship: Cheers, Jose. Quote Link to comment
Mellroth Posted December 15, 2006 Report Share Posted December 15, 2006 Maybe this little VI can get you started, it auto-indexes the input array and adds matches to the pre-allocated array. Download File:post-5958-1166185718.vi /J My vi has a 2D array input, also the output. The first position of every row inside the 2D input array is a string, which I have to parse. In case there was a match with an string constant value I have to keep this row into 2D output array and going on the rest of the rows. Quote Link to comment
French LVer Posted December 15, 2006 Report Share Posted December 15, 2006 Hi, There are many ways to solve your problem. I hope attached image will help you PS : oops JFM posted faster than me Quote Link to comment
jgarciallamas Posted December 15, 2006 Author Report Share Posted December 15, 2006 Hi and thanks a lot for your feedback. JFM, I'd appreciate you could recompile to LV 7.1, please. Thanks again. :worship: Jose. Hi again, sorry, I forgot to attached my "baby" vi, obviously it's incomplete, just to show you what was my intention. cheers, Jose Download File:post-662-1166186924.vi Quote Link to comment
Mellroth Posted December 15, 2006 Report Share Posted December 15, 2006 JFM, I'd appreciate you could recompile to LV 7.1, please. Thanks again. :worship: Sorry, I didn't check your LabVIEW version, here is the VI in LabVIEW 7.1 instead Download File:post-5958-1166187090.vi /J Quote Link to comment
jgarciallamas Posted December 15, 2006 Author Report Share Posted December 15, 2006 That's the way you say JFM, :worship: Thanks a lot to all of you, thanks JFM for your support. Cheers, Jose. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.