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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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