LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need Timestamp from the Array Index


@srsannasi  ha scritto:

Yes, I got the array index for the corresponding peak. The thing is to know the timing of that peak. Pl refer to the attachment. Thank you.


The timing of the peak is the element in the time array with the same index.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 11 of 17
(318 Views)

Yes, thank you. But the problem is in extracting the respective time of the peak.

0 Kudos
Message 12 of 17
(316 Views)

@srsannasi  ha scritto:

Yes, thank you. But the problem is in extracting the respective time of the peak.


I don't understand. Try to explain better using more words and possibly an example.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 13 of 17
(313 Views)

Yes, in simpler words, as in the attached screenshot, the maximum peak attained for Channel 1 is 4.50127 with its array index is 105. The requirement is, how to display its respective time? Thank you.

0 Kudos
Message 14 of 17
(298 Views)

Check the attached vi.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 15 of 17
(289 Views)

@pincpanter

 

It works well  and I learnt the logic now. Tons of Thanks to you for this support.

 

God is Love and God is always Great.

0 Kudos
Message 16 of 17
(283 Views)

And to get the times for all peaks, you would use a FOR loop, of course.

 

altenbach_0-1708960745682.png

 

0 Kudos
Message 17 of 17
(258 Views)