06-06-2013 06:54 AM
Hi Friends.
I have a doubt in arrays.
I used WA Multiscale Peak detection.VI and coolected the location values in an array and subtracted the values using Index array, like the first one with second and second one with third and so on.
I inserted a numeric array at the output terminal of "subtraction function".
Is there a way to insert the values being displayed continuously in numeric indiactor, into an array?
I tried doing it, but ended with an array were the values continuosly displayed in numeric indicator are being entered only in the first cell of the array.
Kindly help me.
Good Day
06-06-2013 07:03 AM
@SAIbme wrote:
Hi Friends.
I have a doubt in arrays.
I used WA Multiscale Peak detection.VI and coolected the location values in an array and subtracted the values using Index array, like the first one with second and second one with third and so on.
I inserted a numeric array at the output terminal of "subtraction function".
Is there a way to insert the values being displayed continuously in numeric indiactor, into an array?
I tried doing it, but ended with an array were the values continuosly displayed in numeric indicator are being entered only in the first cell of the array.
Kindly help me.
Good Day
CONTINUOUSLY, sounds like you're using some sort of Loop (While Loop or For Loop).. are you??
Can you share you VI or present your idea... what actually you wanna do...!!
06-06-2013 08:42 AM
Hi moderator1983,
Yeah, I've used a while loop.
I've attached the VI and a signal. Check with that.
Good Day
06-06-2013 09:29 AM
Hi,
As I dont have ASPT Toolkit installed, I dont have "WA Multiscale Peak detection.VI"... so I used simulated data.
To resolve the issue, you need to do that calculation again in a loop... as soon below...!!
06-06-2013 10:18 AM
thanks moderator1983,
That was a neat work.
But I need that HRV (values) part to be entered into array.
Is there any possible solution for that?
Good Day
06-06-2013 11:40 AM
Hi friends,
I have attached a modified VI. As it can be seen, when the VI is run, the values in HRV array get entered in the same cell and not in next next cells.
I would like to do so, so that the mean of values could be obtained when the VI is stopped. I'm stuck in that array part.
Is there a way to solve that ?
Good Day
06-06-2013 01:59 PM
Hi friends,
I got the solution, from the following link
http://forums.ni.com/t5/LabVIEW/Feeding-numbers-into-an-Array/td-p/1401906
thanks moderator1983 for your suggestion.
Special mention and Thanks to altenbach for the solution.
Good Day