LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array min index problem.

Solved!
Go to solution

Hello every body,

I want to take one trigger pulse data only my trigger pulse is in square wave form. For this I am trying to take array min and max indexs. When I use this pellate, it is not giving array min index correctly, it is giving worng number. Could you please see the attached Vi and data, check the minimum index value and suggest me how to get exact array minimum index?.

Download All
0 Kudos
Message 1 of 5
(2,297 Views)
Solution
Accepted by topic author reddikumar

Is there a reason you need 2-D array, since the samples are only in  one column? Attached what one possible solution could look like in 1-D

Message 2 of 5
(2,270 Views)

Your problem is the 2D array.  The simple solution is to just simply Index the first column.  There is only one column, so that shouldn't be big deal.  It runs just fine once you clear that up.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 5
(2,254 Views)

Thank you it is working fine. There is no need to keep in 2d array.

0 Kudos
Message 4 of 5
(2,242 Views)

Thanks for your reply. I understood.

0 Kudos
Message 5 of 5
(2,236 Views)