Looking for a solution to simply drop outliers

I have created an application to measure a Helium concentration, using an Alcatel ASM-102 Leak Detector.  The problem is that occasionally, the device sends out a bogus value, perhaps 0.00x10^0 or perhaps 2 x 10^-2, reather than 2 x 10^-7.  I am looking for the cleanest approach to look at the array when I'm done, and just discard any values that do not fall between 1 x 10^-6 and 1x10^-3.  Any ideas? 

altenbach, as usual, your programming is really easy to follow.  OK, so here is the last piece of the puzzle.  I actually have two arrays:  one is a helium concentration, and the other is a helium flow. My flow values are always good, but as I said before, there are sometimes bad values in the concentrration array.  SO, what I want to do is to eliminate the flow element that corresponds to any bad concentration element.  Hmmm, sounded like a good idea when I did it   Anyway, you can see that the result that I currently have is that the filtered flow array is simply the last n elements of the raw flow array, n being equal to the delta between the array size of the raw concentration and the filtered concentration arrays.  I hope I haven't managed to confuse you with that nonsense. 
Basically, if I drop 5 elements from the raw concentration array, due to their not having passed through the filter, then I show the last 5 flow values in the filtered flow array, rather than passing all but 5 of the values.
If 15 of 20 helium concentration values are good, then I pass the last 5 helium flow values, rather than the 15 values that correspond to the 15 good concentration values.
HELP!  If I can't figure this out, I may just take the average of the good concentration values, and the average of all the flow values, and do the rest of my calculations based on averages, rather than calculating each value based on a known good concentration and a known good flow. 
Attachments:
Remove Outliers dual sub.vi ‏50 KB

Similar Messages

  • Looking for a solution or service to export data from a dynamic form into a database

    As the title of this discussion states, I'm looking for a solution or service to export data from a dynamic form into a database to be used for reporting. Creating the dynamic form is not a problem, it's getting it into a database that's more of a nuisance. A dynamic form is needed in order to provide skip logic, hide/reveal, and other similar dynamic features.
    The database hasn't been created, so just looking for the easiest, more effective and dependable solution. The key is being able to run reports off the data later.

    So i set up 2 residential grade routers to test this out. Seems to be working okayish. I believe with directional antenae routers I should achieve what I need.
    As for security I configured each device separately. I set them so only allow the MAC address of the other through wireless. This seems to be the best system for me. Once they are connected even if a MAC is spoofed of the other router it drops automatically because they are always connected. My wired devices get plugged in and recieve an IP from my main network.
    There more testing to be done, but it seems to be working.
    Thanks for your input and suggestions guys. I will be marking this topic as answered.

  • When I try to use FT on my MBP, connected to a 24" display, and close the shell, the display camera says it is not turned on. I have looked and looked for a solution. Can someone help? Thanks

    When I try to use FT on my MBP, connected to a 24" display, and close the shell, the display camera says it is not turned on. With the MBP open, FT works fine. I have looked and looked for a solution. Can someone help? Thanks

    Hello BassoonPlayer,
    Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using.  FaceTime will not work if you do not have the proper time zone set up for the location that you are in.  This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly.  By the way, you described your problem very well, which makes it easier for us to help you.  Hope this solves your problem -- if not, post back and I can suggest other remedies.
    Wuz

  • Can anyone help on integrating Unifier with WebCenter Portal ? We are looking for a solution where we can show Unifier pages within WebCenter Portal application. Is this possible ?

    Can anyone help on integrating Unifier with WebCenter Portal ? We are looking for a solution where we can show Unifier pages within WebCenter Portal application. Is this possible ?

    If you simply would have posted here first, there are plenty of people who would have informed you of the current policy to have a data plan active on an account during the entire contract if purchasing a discounted smartphone.
    Unfortunately, there are just as many on here who would claim the people informing you about this policy of being Verizon plants spreading disinformation and trying to make people afraid to upgrade via this route.
    Yes this is a new policy, one which has been pointed out multiple times in these forums.  Good luck, but I doubt you will have an outcome over this which will make you happy.
    Verizon is closing as many loopholes to keep unlimited data as they can.

  • Adobe creative cloud has stopped working, all my individual programmes from adobe open and work fine, but when I try to open adobe cloud it starts to open then says adobe cloud has stopped working, looking for a solution then shuts down, I can not open it

    Adobe creative cloud has stopped working, all my individual programmes from adobe open and work fine, but when I try to open adobe cloud it starts to open then says adobe cloud has stopped working, looking for a solution then shuts down, I can not open it at all.

    Without proper system information and the application logs nobody can tell you much.
    Troubleshoot Creative Cloud download and install issues
    Mylenium

  • HI i have tried so many times to import images, both pictures and video from my hard drive to elements 131, and it keeps coming up with the error message " .....has stopped working we are looking for a solution to this problem etc " please help!

    After taking days to upload elements 13 I am now having trouble even trying to import my images and videos into the program for editing. Each time I IMPORT files an error message comes up that says " ....has stopped working, we are looking for a solution to the problem and will notify you if a solution is found"  I have not been able to edit ANYTHING or even drag files/images to the time line.... is it me? is my computer too slow? surely if it was, then Adobe elements 13 would not have installed in the first place? please someone help me sort this out as I have a deadline to make for a docco! thanks in advance Lyddy

    From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
    •You MUST use an account with Administrator Privileges to run Premiere Elements
    •(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
    •What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.1 update)
    •What operating system? This should include specific minor version numbers, like "Mac OSX v10.9.4"---not just "Mac"
    •Has this ever worked before?  If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
    •Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
    •What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    •If you are getting error message(s), what is the full text of the error message(s)?
    •What were you doing when the problem occurred?
    •What other software are you running?
    •Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    •How many and what speed are your hard drive(s)... ie 5400rpm or 7200rpm or?
    And some other questions...
    •What are you editing, and does your video have an orange line over it BEFORE you do any work?
    •Which version of Quicktime do you have installed?
    •What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool

  • I'm getting popup notices that Firefox has a problem, and Windows is looking for a solution; then it closes Firefox and says Windows will let me know if it finds a solution. No crash report window comes up.

    Firefox is my default browser on my new laptop, with OS Windows 7. I've now had several instances where a Windows popup comes up saying Firefox has developed a problem and may have to close. It also indicates Windows "is looking for a solution to the problem." No solution is found, however, and Firefox is forced to close, with the happy notice that Windows will let me know if it finds a solution to the problem. If there is any tech data on the crash, I'm not sure where to find it, and no Firefox crash report window comes up. I thought it was an anomaly the first time, but this has now occurred at least 4 times in the past several days.

    See:
    * https://support.mozilla.com/en-US/kb/Firefox%20crashes%20when%20you%20open%20it

  • Itunes launches fine however I cannot connect to the Itunes store.  It says that Itunes has stopped working and windows is looking for a solution.

    Everything seems fine until I try to access the ITunes store.  Then I get a message that ITunes has stopped working and that Windows is looking for a solution.  Then it tells me that no solution has been found and closes down Itunes.
    I can still sync music / podcasts to my ipod and iphone.  I am still getting podcast downloads automatically for the ones I have subscribed to.
    This is the first time this issue with not being able to access the Itune stores has happened to me.  I was just there 2 nights ago.

    Hello notime4,
    The article linked below details some useful troubleshooting steps that can help stabilize iTunes on your computer.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Cheers,
    Allen

  • Looking for a solution to the consumption of the VM systems in Azure Portal that reports and notified by mail

    Hi
    I am looking for a solution to the consumption
    of the VM systems in Azure Portal that reports and notified me by mail.
    Please suggest.
    Thanks, Kk

    Hi Kk,
    what  notifications are you expecting? like Machine down etc.?
    you can make use of monitoring alerts and notifications in Azure, this will allow you to configure different 
    metric related to your virtual machines and other azure service you use.
    Specifically for VMs you can configure different metric for the VM host OS and you can also configure web end point status metric (will monitor situation like machine down or offline)
    here are two good reads
    Understanding Monitoring Alerts and Notifications in Azure
    Khalid's blog on
    Microsoft Azure Virtual Machine Monitoring with Azure Diagnostics Extension
    Hope this helps,
    Please mark as answered if it helped
    Vishal Narayan Saxena, MVP
    http://twitter.com/vishalishere
    http://www.ogleogle.com/vishal/

  • I can not get apple air play to work. I have down loaded three diffrent apps looking for a solution none of them were the right one. I spent over $10 in these apps. Can I get a refund. Do I need apple tv to run air play?

    I can not get apple air play to run from my iTunes to my WiFi reciever.
    I have spent money on 3 different apps looking for a solution.
    None have worked. Can I get a refund?
    Do I need apple Tv to work Air Play?

    About AirPlay and Airplay Mirroring
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). For non-qualifying Macs you can try using Air Parrot.
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    iTunes- Troubleshooting AirPlay and AirPlay Mirroring
    iTunes- Using AirPlay
    Apple TV (2nd and 3rd gen)- Understanding AirPlay settings
    About AirPlay Mirroring in OS X Mountain Lion
    iTunes 10- About playing music with AirPlay
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay
    Thanks to the $15 Beamer, AirPlay streaming is still possible on Macs  that do not support Airplay and mirroring.
    Other solutions are the Air Parrot, StreamToMe, and AirServer.

  • I have been looking for a solution for making my videos capable of playing on anything such as: DVD player, Mac, PC, etc.

    I have been looking for a solution for making my videos capable of playing on anything such as: DVD player, Mac, PC, etc. I have not found a format that will play with all of these. Is there a format, software, or do you encode it? I am new to production. I can make a video and make it work for a certain thing just not all.

    There is no such thing as universal format and that is that. You are looking for the magic pearl that doesn't exist and rather than waste your time on a futile search, it would be better to actually read up on the various formats and their limitations, including how playback devices may or may not support this and that.
    Mylenium

  • Looking for SQL Solution to Very Unique Problem

    Hello,
    New here, thanks. I have what I think is an interesting problem. I really don't want to post it because the background and explanation is rather lengthy. It has to do with one table that holds some general info; there is a unique numeric primary key. Associated with this table are three different tables identical in structure, having only two fields: the primary key, and a code. The three tables correspond to test results performed by a different individual. For each entry in the main table, where there is one and only one entry for the primary key, the same test could have been performed one, two, or three times. So there could be one, two, or three different sets of codes describing the test results. Only one set of the test result codes is the correct one. And there is a hierarchy that determines which is the correct set of codes. Say the main table is called LR. LR is linked to three different tables, each of which has the exact same structure. The relationship between LR and each of these three tables is one to many. Call the three tables that hold test results SCR, QC, and PT. Some assumptions can be made. In the table LR there are two flag fields: Q_STATUS and P_STATUS whose values each are either Y or N. If P_STATUS=Y, then we are guaranteed a set of test result codes in the table PT, and this set of codes is always the final word; always the correct results. If P_STATUS=N but Q_STATUS=Y, then we are guaranteed to have a set of test result codes in the table QC, and if this is the case, then this set of codes is the final word. Now if P_STATUS=N and Q_STATUS=N, then we know there is a set of test result codes in the SCR table, we know there is one and only one set of test result codes, hence this set is the correct one. Another assumption that can be made, for any row in the LR table, there will ALWAYS be at least one set of test result codes in the SCR table. There may or may not be a set of test result codes in the QC and PT tables, and the flags in the LR table indicate if either is the case. Hope this makes sense so far. For many years I have been trying to figure out one SQL statement that will return the correct set of test result codes. Often I have to analyze data that relies on the results of a test (e.g. how many tests had the code 850 in the year 2011?). That's a simple example, but you get the idea. Since I have to determine which set of test result codes is the correct one to use, I've always had to rely on writing a PL/SQL procedure anytime I have to work with test result codes. I tend to use a conditional: IF (P_STATUS=Y) THEN /*the right answer is in the table PT*/ ELSIF (Q_STATUS=Y) THEN /*the right answer is in the table QC*/ ELSE /*the right answer is in the table SCR*/. I have a document with a little more detail, and an example. Or maybe this makes absolute sense to someone out there and they know exactly what to tell me! And let me say this is not a critical issue for me. I've been searching for this SQL statement for about 10 years now. I consider myself pretty proficient with SQL, but definitely not a guru. I'm thinking the solution I'm looking for might rely one some kind of full outer join on all three of the tables SCR, QC, and PT and then if those results could be linked to the LR table, and then maybe in the SQL statement use of DECODE might do it. I want one SQL statement that will return me the correct set of testing result codes. Hope this all makes sense. To anyone who has read it I thank you very much. I would be very happy to provide my document with further explanation and an example. Any response is greatly appreciated. Guess I have to keep coming back here now to see if anyone responded. Oh, I might add that we use a very old version of Oracle (8.0.3) but, if all goes according to plan, we should migrate to the most current version within the next year.
    Thanks,
    John Cardella
    Edited by: BluShadow on 21-Feb-2012 13:52
    Email address removed for your own benefit, unless of course you'd like spam bots to pick it up and send you lots of rubbish?

    Why do I keep three tables. Each sample that is evaluated is always screened by what I will call a "tech." Every so many cases the test must be repeated for quality control. If the findings of the initial testing or of a quality control test are found to contain abnormal results, then the test must also be repeated, this time looked at by a doctor. So I have what I refer to as the "main" table; the one that holds final data, which in my example I explained the two "flag" fields that indicate if the test was repeated. Every time a test is evaluated it is done by the same person, and the findings of an individual testing, or screening, are a set of test result codes. There is the "main" control table which I have called LR in my example. The reason I have the other three tables: one is used to store the test results of the initial screening (always done); one is used to hold the test results of a quality control case (may or may not be done); and one is used to hold the test results of an abnormal case that was screened by a doctor (may or may not be done). There is a separate table for each individual who may have done a screening.
    Let us consider the results of just one case. In the table LR we have something like this:
    | KEY | P_STATUS | Q_STATUS |
    | 100 | Y | Y |
    By default, for any entry in the LR table there is always a set of codes in the SCR table. We know a quality control was performed because QC_STATUS=Y, and we know it was screened by a doctor because P_STATUS=Y. So we would have three different sets of findings, each in one of the three tables:
    SCR TABLE: QC TABLE:
    | KEY | CODE | | KEY | CODE | | KEY | CODE |
    | 100 | 014 | | 100 | 13R | | 100 | 13R |
    | 100 | 13R | | 100 | 150 | | 100 | 170 |
    | 100 | 150 | | 100 | 170 | | 100 | 180 |
    | 100 | 160 | | 100 | 190 |
    The values in the three tables represent the findings of three different people who screened the test sample. Now suppose I combined all the data, I would suppose it would look something like this:
    | KEY | P_STATUS | Q_STATUS | KEY | CODE | KEY | CODE | KEY | CODE |
    | 100 | Y | Y | 100 | 014 | null | null | null | null |
    | 100 | Y | Y | 100 | 13R | 100 | 13R | 100 | 13R |
    | 100 | Y | Y | 100 | 150 | 100 | 150 | null | null |
    | 100 | Y | Y | 100 | 160 | null | null | null | null |
    | 100 | Y | Y | null | null | 100 | 170 | 100 | 170 |
    | 100 | Y | Y | null | null | null | null | 100 | 180 |
    | 100 | Y | Y | null | null | null | null | 100 | 190 |
    Since P_STATUS=Y I would want the result set returned to be {13R, 170, 180, 190}.
    But suppose P_STATUS=N and Q_STATUS=Y then I would want the result set to be {13R, 150, 170}
    And if P_STATUS=N and Q_STATUS=N then I would want {014, 13R, 150, 160}
    Of all of the sets of test results codes, only ONE is ever the final word (i.e. the right answer).
    So what I was trying to do is find a query that would give me what I want. And my apologies if there is a major design flaw. I always thought it was not that bad. But then I am no SQL guru either.
    To anyone who has read on further my most humble thanks. I really did not mean to waste anyone's time or be a pain in the ass.
    Thanks Again,
    -JC

  • Looking for SAP solution to extract data from the production system

    Hello,
    we are looking for the SAP standard tool to extract data from the production system and copy it to the development system. It should be as functional as some kind of partial client copy. The data, which we need to replicate is master and transactional data from FI, CO, AA MM and nice to have FS-RI modules. There is a product offered by the IntelliCorp called "Data Management" but we would like to know if SAP offers its own product.
    Kind regards,
    Krzysztof Murkowski

    Hi,
    SAP offers a solution called 'Test Data migration Server' or TDMS.
    You can access the master guide from the below link:
    https://service.sap.com/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700006332942006E
    Cheers !!
    Satya.
    PS: Pls reward points if the answer was helpful...Thx.

  • Looking for WS solution

    Hi,
    I need to implement couple of web services on a FreeBSD box. After a lot of effort, I managed to run (linux port of) JDK1.5 on my BSD box (actually, in a jail). I am having a problem with Axis; generated WSDL file has "in0 in1.." like parameter names. I have found a solution here, which talks about what I guessed, that is compiling sources with debug flag. If that's the only way, that sounds too stupid, now I am looking for a better way of exposing "the right" parameter names. If Axis cannot read names from somewhere else, or cannot display man-made WSDL file, I would like to migrate another "free" engine to run my web services, on the same BSD box.
    Do you have any suggestion/resolution to my concerns?
    Ismail

    Give JAX-WS a look. http://jax-ws.dev.java.net. The use of annotations will allow you to customize most Java->WSDL mappings.

  • Looking for a solution to a 50 meter problem

    Ultimately my issue comes down to wanting to connect a small security building to the rest of my network. The building is roughly 50 meters from my main facility. There are no building or anything in my way so there is nothing I can run a cable along to hide it. I do not want to run a cable underground to my facility because it is too costly.
    What I'm really looking for is something like an encrypted point to point signal sender/receiver. The devices I am trying to connect to my internal network are wired only devices. So I would like to find something that sends a radio signal (any type) and allows for a switch to be connected on the other end. This should integrate into my current Cisco network.
    WiFi could work, my only problem is others trying to spoof into my network so I would prefer a different radio type.
    Anybody know any devices that would fit this description?

    So i set up 2 residential grade routers to test this out. Seems to be working okayish. I believe with directional antenae routers I should achieve what I need.
    As for security I configured each device separately. I set them so only allow the MAC address of the other through wireless. This seems to be the best system for me. Once they are connected even if a MAC is spoofed of the other router it drops automatically because they are always connected. My wired devices get plugged in and recieve an IP from my main network.
    There more testing to be done, but it seems to be working.
    Thanks for your input and suggestions guys. I will be marking this topic as answered.

Maybe you are looking for

  • Premiere CS4 will not load project

    Hi! I've been looking around the forums for an answer to my problem, but so far I haven't found one. Here's my problem: I've been working on a Premiere project for a couple weeks now, and I've constantly been having problems.  It crashes often, and s

  • Problem in customer address while creating service notification using IW51

    Hi Experts, I am trying to create a BDC recording for creating Service Notification using transaction IW51. I have done the recording as follows. On the First screen I am entering notification type. Then on the next screen I am entering the Sold to p

  • Try to use trustedFunction

    var MyTrustedSaveAs = app.trustedFunction(function(?) app.beginPriv(); this.saveAs("Something");  app.endPriv(); I would like to save my adobe form name and I want to use code I have there. Can someone tell what should I but there where I have ?... I

  • Error in capturing excise invoice during stock transfer

    Hi When we are capturing an excise invoice in t code j1iex with reference to stock transfer order, system is giving an error message Excise Invoice 0000100135 30.09.2009 of plant 300007 does not exist The excise duties are not captured into the excis

  • Help with load xml driven swf in another swf

    Hello people ... (sorry for my Google transalte English) ... I am desperate, tapping in place last week. In fact, i make flash CD presentation in Adobe Flash CS5 AS2 (with minimal use of ActionScript). It  occurs to me the next problem ... need to lo