ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array threshold scan

Solved!
Go to solution

Hello,

 

I would like to scan the data in the Data.txt file from the last entry scanning up, and return the value of the x,y point the first time where the y data is closest to +100 or -100. Please see the graph.png file for clarification.  

 

Any help will be greatly appreciated!

 

Thanks,

hiNi

Download All
0 Kudos
Message 1 of 2
(2,868 Views)
Solution
Accepted by hiNI

I cannot get the negative threshold to work! So had to do some data manipulation.

But here is a working version, you can then do a compare to see which is the greater one.

threshold1.png

 

If it was just positive numbers, threshold array function will also work. Here it is:

threshold.png

 


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 2 of 2
(2,842 Views)