LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

find transition in data array

I have an array of temperature data acquired from a CompDAQ 9213 approximate length of 5000 data points.  At some point in time during these 5000 data points, the temperature measurements transition from 25 C to 100C.  There are typically around 100 data points of the 5000  that occur during the transtion.

How do I parse the  5000  data points and get a subset of measurments that contain only the data points during the transition?  My method is unstable, there are some data sets that get a false subset.

0 Kudos
Message 1 of 5
(3,129 Views)

Well there are certainly easier ways to get what you want.

 

Try this

R-g.png


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(3,120 Views)

Another way to think about this is, if your data remains fairly constant, then you have those transitions, you could simply analyze the array for outliers. The outliers would be the "transitions". As shown below, I have a much smaller data set than yours, but basically the same behavior you describe. Very little code needed.

 

Outliers.png 

Richard






0 Kudos
Message 3 of 5
(3,106 Views)

Jeff

 

You solution though much simpler, doesn't work any better.  I added a closest value, and even then there is enough niose in most of my temperature data arrays to make it fail.

 

Thanks

0 Kudos
Message 4 of 5
(3,090 Views)

filter the signals


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(3,076 Views)