03-27-2019 09:43 AM - edited 03-27-2019 10:07 AM
Hello,
I am fairly new to LabVIEW and need to create a module to be used when testing equipment.
I need to read data from a .txt file and then compare each data point to a limit.
I only need to read the text file starting at the line that says "data:" and every line after that. If the data point is greater than the limit, I need it to be flagged as a failure. Each data point needs to be compared to a different limit, they are not all being compared to the same limit. Once the module finishes comparing the data, I need it to generate an additional .txt file with the failure reports.
I know there are several ways to achieve this, but what structures does the community suggest I use for the simplest VI?
Thank you,
Rachel
03-27-2019 03:13 PM
03-27-2019 07:26 PM
In range and coerce can accept arrays on all three inputs, however, you may want to auto index in a for loop anyhow so you can use conditional output tunnels ( or a conditional channel wire writer) to select the failures to write to the new report.