Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69758

For Loop to Identify Index of Value Below Predetermined Value

$
0
0

Hello, 

 

Relatively new to LabView so I come baring what I hope to be a simple question. Just not very experienced with this.

 

I have a data set where the y-values are force and the x-values are time. The data is being read from a text file and converted into an array. The data represent a contraction and the beginning of the contraction is defined as the point at which force reaches 1.5% of peak force. 

 

A threshold array was used to identify the beginning of the contraction but I also need to identify the end of the contraction or when the force values falls below the predetermined value. 

 

Everything I've found on the internet suggest using a For Loop, connecting the array and threshold value to a "less than" comparison function inside the For Loop and then wiring the output to a conditional terminal and wiring that to an indicator. 

 

For whatever reason, I'm not having any success. I just need to identify the index of the end of the contraction. Appreciate any help!


Viewing all articles
Browse latest Browse all 69758

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>