Table 1 d thresholding

Hi all

I have a relatively simple task I'm banging my head to try to solve.  Basically, I have a table 1 d of doubles, and I need to remove the extremes of this table.  I'm defining an outlier as 1.5 times the standard deviation of the table.  Any thoughts?  This should be simple, but the only solutions I can happen to involve the case of Structures inside loops and multiple copies of my table.  I think there would be an effective way to do it, but I can't just think of him.  Thanks for the help!

Matt

Research, research, research: http://forums.ni.com/t5/LabVIEW/Search-and-Erase-Element-from-Array/m-p/763109#M349702

Tags: NI Software

Similar Questions

  • Comparison of table with a threshold

    Hello

    I want to compare a table with a threshold value and then draw the table values that are above the threshold.

    Thanks in advance

    Best regards

    RASHID

    Hi rachid,.

    For normal comparison with thresholds, you must make use of one for indexing of each elements and comparison functions and structure of matter...

    For your idea, I just add code examples.

    Thank you and best regards,

    srikrishnaNF

  • Stand-alone table in the drop-down and limit values in the report

    Hello

    I report where the measured values should be limited based on the threshold value table. Values threshold has the values below.

    Table of threshold:

    ID of threshold threshold values descr

    13345 10000 initial

    13346 departure 20000

    13347 30000 initial start

    13348 40000 end

    13349 end last 50000

    This table is independent of the star for OBIEE report schema and created for the user, given the threshold value.

    Shud threshold shown falling down the values and the drop-down list values invites is always GTE to 10 000 by default. The report shud display measurement values GTE 10,000 in the columns of 4 measure of the report written by deafult, based on the work of prompt and default shud according to the user's selection in the menu dropdown.

    I intend to apply it using the variable of the presentation, but when I select GTE in the command prompt, this option is not present. Please throw some light on this issue.

    Thanks in advance.

    Use is equal to the operator in the guest... change the show section for all values of sql result... after that, change the formula in the column to the case where 1 = 0 then else 1 end... now you can make a variable presentation... use this variable in your report with is liked this operator in your report... HTH...

    Published by: Vincent on July 20, 2010 10:57

  • rounding to the nearest of the comma

    I have these values

    35.2
    35.3
    35.4
    35.5
    35.7
    35.8

    35.9

    36.0

    I'm looking for some index 35.74 closet in my table. (which is index 4).

    I used the function ' round toward close "and he gave me 36.

    which is index 7.

    What other ways to get the right index finger?

    Try the table 1 d threshold.

    It is worth noting that you'll need a table sorted as in your example.  If it's just a simple explanation for a broader context, you may need something more sophisticated.

  • Analysis of the curves of the form

    Hello all, I'm very hard in adjust the data on the readings that I have a traction machine, the plot is attached and also text data. What I'm trying to do is to calculate the area under the curve at each position of displacement intervals (x-axis) ex from 2.3 mm to 15 mm. The first column in the text file will be moving (mm) and the second column is defined as the Force (N), the shape of the curve is uneven (jpeg file). I tried various tools such as integrated digital, least square adjustment, etc. but still do not have reliable results. Anyone here have an idea on how to perform the analysis, I am concerned of?

    Please give me advice!

    Suppose you have a set of X {1.5, 3, 4, 5.5, 7} data points.  They are unevenly spaced.  You get a value of X of beginning and end of your cursor over the graph.  The starting value is 2.5 and end value, 4.5 since the sliders.  You should now find it what index your points to start with.  2.5 is between 1.5 and 3 indices 0 and 1 in your table of X.  Similarly, 4.5 is between 4 and 5.5, indexes 2 and 3 in your table.  You need a function to determine the fractional value given a table index.  Our first point, 2.5, a index fractional 0.67 since it is two thirds of the way between index 0 and index 1 point.  Similarly, the endpoint is fractional index 2.67 since it is two thirds of the path between the indices 2 and 3.  Table 1 d threshold function gives you this fractional index.  Your full X array is the entry level.  The X value of your sliders corresponds to the threshold entry.  The output will be the fractional index.  To use it, you must convert any integer.  To do this, you must decide if you want to round the fractional index upwards, downwards or to the nearest whole number.  You can use the three primitives rounded in the digital palette to make one of these.  Once you have your clues, use the primitive subset of the range of tables table to get the parts of the matrices X and Y (two operations of subset) for integration.  Then use the integration routine that I mentioned above.

  • Play a sound from an above a certain threshold. Data table 1 d type

    I am facing a problem with the beep.vi.  I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.

    Ihab El-Sayed

    Why did you create a new thread? All you need to do is add a response to the previous, attaching the VI you have forgotten to attach.

    Please keep any further discussion in this thread.

    As to your question: I have no idea why you use a Type Cast on a table 1 d of Boolean. Did you randomly choose a function off the pallet until you found one that does not give you a cut wire? It seems to me that since you compare an array of values to a certain threshold, then you probably want to beep if one of them is out of range. In this case, you would like to if none of the elements of the array, Boolean is set to True. This implies an OR condition. And that means that you must use the function to the array element or. This will return a value of True if any value in a table Boolean is set to True.

  • remove the threshold values of table

    Hello

    I would like to get help to complete my program where I am removing values above a threshold in a table and establish the curve according to the values above the threshold (from-45 in this case) is deleted.  I still seem to have a few values greater than the threshold that appears in the desired graphic.  Any help is greatly appreciated.

    Thank you

    hiNi.

    Your VI is extremely complicated. All you need is a conditional tunnel.

  • Analysis of threshold of table

    Hello

    In the VI attached to the Labiew 8.5, I wanted to return the x and the value of the y-axis of the last time the temp value is greater than 100 (on the positive side) and the last time that the temperature is lower than-100 (downside).  I don't know if it will be easier to analyze the values on the right side of the chart to the left to return the correct values.  I wanted to return the following:

    on the positive side: 100.58, 68.077

    negative side:-101.05, 43.93

    Thank you

    hiNi.

    Here is a quick attempt:

    Note that property nodes run at the top down, so you must set the active cursor before you define the position. You should also only two points for reference lines. Currently, I show the positions as the complex numbers for simplicity. Change as desired.

  • Deletion of numbers less than a threshold in a table

    Hi all

    In my code, it generates a picture of the difference between the peaks in milliseconds the Bay or PPI. I want to delete all elements in the array that are smaller than 850. Any ideas on how to do this? I have attached my code for the reference, and the data needed to make it work.

    Best regards, Sean

    Conditional, indexing of the tunnels actually trivial.

  • How to build a table inside a loop

    Hello world

    I have a fundamental question on labview. I would like to create a table in a loop 'for' in this way:

    inside the loop, if a condition named 'A' is true, then I add a new value to the first column of the table.  Otherwise, I have create a new column and start adding values in this column when the condition 'A' is checked, etc.

    I put an example of a VI when the 'A' condition is "improving the loop + 1 is not divisible by 5" and the values in the tables are to increase the loop + 1. The loop stops when the increment = 25.

    In this example, I have a single column with the values [1 2 3 4 6 7 8 9 11 12 13 14 16 17 18 19 21 22 23 24]

    while I wish I had a table of 5 columns:

    1 6 11 16 21

    2 7 12 17 22

    3 8 13 18 23

    4 9 14 19 24

    Note that this is just an example. More generally, the table may contain columns of different lengths.

    Thanks for your response

    Andrew

    Try to watch this VI I wrote, it takes a 1 d array and puts it into a 2D array based on a threshold. I think it's a pretty good example on how to insert a table of works. I hope it helps

  • Table in different ranges of sort number

    Hello

    I want to assign a color to several number ranges. I would like to know the best way to do it.

    I created an example.

    In this example, I have a table with numbers and assign a color to the values:

    <2.5>

    2.5 - 5 yellow

    Orange 5 to 7,5

    7.5 - 10 Red

    This is just one example and I have more than 4 lines in my application. I would like to know if there is another way to sort the table that the use of several business structures...

    Thanks for help!

    Kind regards.

    Daikataro wrote:

    In this way it would be to dynamically assign a color without a ton of cases, simply find the right constant to have a good distinction

    (This assumes that the beaches are all the same length and that the desired colors are in numerical order. Far too restrictive.)

    I would use table of threshold on a table of limit values and indexes into a color table. Here is an example:

    (Note that all values > 10 will also be Red. modify them if you want a different color for > 10 or similar)

    The colors or the adjustment range is as simple as changing the constants in table diagram.

  • Indexing of a table with multiple indexes

    Hi all

    I just used the detector of Ridge VI on table 1 d with a threshold.  I now have an array of index I need to round to use as a real index.  My question is, with this index corresponding to the points picture, how, I take the peak values

    To give a bit of context:

    1. I have three time correlated signals.  I filter them, normalize, then add them so that I can increase the signal-to-noise ratio.

    2 pic DetectionVI gives me a table where are these pics

    3. I want my end result

    A. Signal1 [peak_indices]

    B. Signal2 [peak_indices]

    C.Signal3 [peak_indices]

    Now I think about it in the way I have d code in MATLAB which is much easier, but I would like to do this in Labview and would be very happy to any idea.

    Thank you

    -Joe

    As you said, once you have rounded tip to the nearest value locations you have an array of markings. From there on, it should be a simple matter of passing this table in a for loop that auto-index of the results that you went out to generate a table of peak values.

  • Threshold of 1 d send me a zero

    I am using the D 1 threshold to give me the index of x values y in order to find the time constant; However, the 1 d threshold gives me zero when there is clearly this value in the data. Anyone know why it does this?

    Thank you

    Read the documentation.  Threshold D 1 table expects increased constant table.  And since your first point in the array is greater than your threshold, it is said that 0 is the first item which exceeds your threshold.

    You can reverse the array and then subtract the result by the number of points in the table to get your desired index.

  • How do a look up table in labview?

    What is the best way to make a glance toward the top of the table for a dozen of values?

    Would be to make a Tween equation require much more processing power?

    I agree with the previous post of the use of the attributes of variant for string searches. There is also the function "Interpolate 1 D Array" that might be what you are looking for because if you have sorted is the data you want to interpolate. If you have X of the data that you want to search, you can use the 'threshold 1 table d' together with the interpolation function. See picture attached for example.

  • a label of table column height

    Hello

    I want to calculate and adjust the height of the table according to the number of lines (provided that this number is less than a threshold). For this I need the height of the regular and the top row. I couldn't find an appropriate attribute, but the complexity of the table control I might well have forgotten... Someone who knows how to accomplish this task?

    Thank you!

    Wolfgang,

    I might be misunderstanding your goal, but if all you are looking for is at the height of a table to a specific number of lines, all what you need to do is:

    SetCtrlAttribute (ATTR_NUM_VISIBLE_ROWS, n);

    Who does not work for you?

    Luis

Maybe you are looking for