LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enter values from numeric indicator into corresponding cells of array

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 Smiley Happy

0 Kudos
Message 1 of 7
(2,708 Views)

@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 Smiley Happy


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...!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 7
(2,705 Views)

Hi moderator1983,

 

Yeah, I've used a while loop.

 

I've attached the VI and a signal. Check with that.

 

Good Day Smiley Happy 

0 Kudos
Message 3 of 7
(2,686 Views)

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...!!

 

corresponding cells of array.png

 


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 4 of 7
(2,672 Views)

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 Smiley Happy    

0 Kudos
Message 5 of 7
(2,665 Views)

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  Smiley Happy

0 Kudos
Message 6 of 7
(2,656 Views)

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 

Good Day Smiley Happy

0 Kudos
Message 7 of 7
(2,645 Views)