Jump to content

filtering 2D array by a value


Recommended Posts

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 :wacko: .

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.

Link to comment

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.
Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.