LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Collecting data to be compared in set ranges that would trigger the next step

We are collecting data from a pressure transducer that needs to be read by LabVIEW. The data needs to be compared to a set range (min/max) that would determine the following 2 steps: if within the range, keep collecting data OR if outside of the range, another action would occur. The following action is the control of the pump, so either the pump continues at set flow or LabVIEW tells the pump to increase/decrease flowrate. We are having trouble trying to analyze the data so that is can be compared so we know whether it is within the set range. Is it possible that LabVIEW can continously acquire data from the pressure transducer and also analyze it at the same time? Also, what is the best option/way to compare the data within the set range; an event structure, a comparator, so that the results of the comparsion can relay a signal to the pump?

Helpful links to tutorial sections would be very useful, if anything.

Thank You!
0 Kudos
Message 1 of 2
(2,090 Views)
Look at the in range and coerce function on the comparison palette.  It outputs a boolean which would drive a case structure.  If the action for out of range high and out of range low need to be different, you could do a couple of comparisons to see if the value exceeds the max or is below the minimum and act according in a case structure inside of the True case of the first case structure.
0 Kudos
Message 2 of 2
(2,082 Views)