LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data extraction from an array of data

Solved!
Go to solution
Thanks elset.  I do want the data that is less than the max.  The purpose of the indicies is that I can extract  both the potential energy data from below 6kT and also the corresponding separation data.  So the data I need to extract is basically the two columns, but is only based on the data from one column.  I will give what Baji has suggested and what you have suggested a go and see what works best.

Thanks.
0 Kudos
Message 11 of 17
(1,808 Views)
Oh, since you need to extract from two different arrays baji's is probably better.
--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 12 of 17
(1,800 Views)

So I have been playing with using Baji's vi (ie as a subvi) in my main vi.  The problem I am having is that whilst I want to use the pointer as for the source of elements that I want to delete, I can't get them to connect to the delete from array function.  Specifically there is an array element conflict when I connect the pointer terminal to the index terminal of the delete from array function.  Is there a way that will allow the data that is present in the pointer array to be wired to one of the one of these array functions given that they appear to only accept one number (eg, for the index number on the delete from array function) rather than an array of numbers that need to be deleted.  Am I completely missing something here?

 

Thanks.

0 Kudos
Message 13 of 17
(1,791 Views)
Try With this package.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 14 of 17
(1,784 Views)
Solution
Accepted by topic author scottum
I found a bug in my old package. use this bug free package.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Message 15 of 17
(1,782 Views)

Thanks Baji.  The delete elements vi works perfectly!! Thanks for taking the time to help me out on this, it is much appreciated.

 

I just wish I had of thought of using the while loop here as well.  I think I might have thought about it, but if I did it was very fleeting and I wouldn't have worked out how to implement it as quickly as you have.

 

If you want to see how my vi works as a whole now, let me know and I will post it up.  Although I have basically used what you have shown here and adapted the vi's slightly to fit into my main vi.

Message Edited by scottum on 07-30-2009 04:16 PM
0 Kudos
Message 16 of 17
(1,755 Views)
From the begining itself, I thought to post the package. But i want u to workout with the problem,so only we guide you to do your own.Its fine post your VI for feedbacks from that u can tune your code better.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 17 of 17
(1,751 Views)