LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lots of channels to scan and evaluate

I need to gather data via a data acqusition system (100 values) then
scan the numbers and log to a file the ones that are out of limit. I
thought of doing this by building an array with the 100 values but I'm
not sure how to scan and compare an array against a limit value and
report which values are out of range.

I'm not dead set on doing this with an array and any suggestions I'm
open to.

Thanks everyone!
0 Kudos
Message 1 of 2
(2,008 Views)
When you right click on a comparator, you have the option to choose to compare elements or aggragate. In this way, you can have an array of results based on the inputs. You can then search the array for elements that were out of range (by searching your results arrays for out-of-range boolean) and then logging those results to file.

If you still have trouble, attach a sample VI with an array of your data (as a constant, or default front panel value) and your limit or limits, and we can show you what to do.
0 Kudos
Message 2 of 2
(2,008 Views)