LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you screen/filter data.

I am reading in a multi column data file. As I read in each row I want to filter the data based on one of the columns, collect the reduced set of data, and then analyze the reduced set of data. For example, when one column of data gets above 20% of a known quantity, I want to keep all this data and reject the data below 20%. If anyone is familiar with HP VEE, this is equivelant to using if/then/else with a gate.
0 Kudos
Message 1 of 6
(3,081 Views)
One of the ways this can be done is to modifiy the "Read from Text File.vi" from LabVIEW help with the "Extract Numbers.vi." A sample vi using tab delimited test file is attached.
Download All
0 Kudos
Message 2 of 6
(3,081 Views)
This file does not have the EOF file error.
0 Kudos
Message 3 of 6
(3,081 Views)
Do you have the extract numbers vi?
0 Kudos
Message 4 of 6
(3,081 Views)
You can find it in LabVIEW Help under string examples.
0 Kudos
Message 5 of 6
(3,081 Views)
Thanks, its just what I needed.
0 Kudos
Message 6 of 6
(3,081 Views)