Looking for a particular vlaue in a id array

i have a program which generates me 1000000 sample values ie a array of 1 million values.in this 0ne million values i need to look for a particular range of values ie allthe values in the array are 4 and then they ia a value like say 10 and some more values. i need to detect the values greeater than four and then take the 20 values from the index where it is detected. i may have hundered of this pattern in the million samples.

I am attaching a VI which does what you want. The diagram is pretty straight-forward. Let me know if you don't understand anything.
Regards,
Khalid
Attachments:
chkarray.vi ‏34 KB

Similar Messages

  • Looking for a particular email

    I have Mail backed up to TM as well as an external drive. I am looking for a particular email that has been backed up. I moved the particular mailbox from each of these drives to my desktop. They are .imapmbox files and would like to import these messages into Mail as a separate disposable folder.
    On the desktop they are #.emix files which are not easy to search.
    How to do this?
    Thanks

    I'm not sure. I know you can import mail stored locally by opening Mail and selecting Import from the File menu. Select the Apple Mail option then follow directions. A file Open dialog will appear and you must navigate to the /Users/username/Library/Mail/ folder and select the Mailboxes folder. If your mail is there then you can select the mailbox and import it. However, this does not work for IMAP accounts. Make a copy of the .mbox file that should have your mail. Again select Import from Mail's File menu. Select the bottom option to import .mbox mail and follow directions.
    Imported mail will appear in a separate sidebar header called Imported Mail.

  • Scan\Look for a particular character in a file

    I would like to look for a particular character(@) in a file. The character might be in a word. When if find the character I want to read the actual whole word that contains that character.
    What's the best way of going abt this?
    Thx,
    Kapapra.

    Read the file line by line using BufferedReader.
    Tokenize each line on space.
    Loop through the token strings.
    For each token that contains the character that you are looking for (e.g. @) found using indexOf operator of the String class, print or save (or whatever you want to do with that token) that token.
    Continue reading the file line by line till the end of the file.
    Does this make sense? Look the java.io package API for the details on how to read the file and stuff.
    If anyone has more effecient method to do this, please share.

  • How to look for a particular phrase in a document???

    Hey guys, I'm a little new at this thing... I need to figure out a way to make Java search through a document looking for instances of particular phrases, and replacing them with something else. For example, have it look for "A B C" and replace each such combination of words with "D E F". The search/replace needs to look for a few different phrases at once.

    String.replaceAll is a fine answer, but you are creating Strings left, right & center, tis best to use a StringBuilder/Buffer.
        private static void replaceAll( StringBuilder sb, String search, String replace ) {
         int index = sb.indexOf( search, 0 );
         while( index >= 0 ) {
             sb.replace( index, index+search.length(), replace );
             index = sb.indexOf( search, index );
        }

  • Looking for a particular number, possible?

    Hi there,
    I need to get a particular number, similar to my business name. 
    example: my business name abcdef.
    Now, i am looking for a USA number at the end it will have (*** 222 333) ->(*** abc def)
    any one point me where can i get help to choose this kind of particular number? Or its not possible at all?
    Thank you.

    Hi, Smahi, and welcome to the Community,
    You would need to search through the lists of numbers presented when you arrive at the step to choose your Skype Number in order to determine if the precise numbering sequence is available.  Skype Customer Service is not able to start a subscription, and nor can they search the Skype Number databases to check for available numbers.
    Good luck!
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Looking for a particular set of features

    Does anyone know what Abode product will allow me to write with a stylus (on a Sony tablet) on a PDF and at the same time redord audio.  And then allow it to be played back.  I am math a teacher and I would like to upload an example question (PDF) for my students into a program.  then i would like to be able to complete the example by writing with my touch screen and i would like some audio to acompany it.  Then i want to save this and post on my class web page.   
    Are there and porduct out there that do that?

    Hi,
    Check for the fiscal year variant value for that  fisal period 003/2007in the cube is it same as that of othertwo values of the fiscal period.
    May be at the report level or at the cube level you have restricted the values of the fisacl variant for a particular value and for that variant value there is no fiscal period of 003/2007.
    Also it may be possible that your report key figures are restrcited year to date... that is till current fiscal period only through some other way.. and thats why you can only see data till current fiscal.
    Hope it helps
    Thanks

  • Looking for a particular font

    I'm looking for this font to use with final cut pro 6.0.1:
    http://img223.imageshack.us/img223/9837/fonthk4.png
    where can I download it?

    Aren't you using it? I mean, the link shows YOUR NAME.
    What is the name of the font? Google that and then you'll find it. Might have to pay for it, but such is life.
    Shane

  • Looking for a particular color correction tutorial

    I am looking for an online tutorial on how to do color correction if the video one is working with has color bars.  This happens on a lot of analog videotapes that come to me.  I know what my scopes are suppposed to look like when analyzing color bars, but I need something that shows me how to get from A to B.
    If I Google some varient of "color correction video color bars," all I get is information on calibrating monitors.
    I am using Premiere CS5.5
    Thanks in adavnce for any response!
    J. D.

    APP - Layer...
    Also... Check this site for looking at APPs.. I've posted this before but it's a good site. It just started up a week or so ago.
    http://androidapplications.com/

  • Looking for a particular BAPI for VB01

    Hi everyone,
    I'm looking for a BAPI i could use VB01 to tie finish goods to customer.
    I have got 5000 materials for my conversion, and each customer can tie to many materials, any ideas on this?

    Hai bernard,
    try this BAPI.
    BAPI_CUST_SAREAS_MATERIALS_GET -
    Create List of Materials for the Sales Areas of a Customer.
    REGARDS,
    PRABA.

  • Looking for a particular 1pad2 case

    I am looking for a case for the ipad2.  the case must protect the ipad2, without covering up ports and camera.  the kicker is, it needs to have a shoulder strap attached in order to be worn around the neck.

    love the new Vaja case, specially the black and red one. I had it for couple of weeks and it looks amazing.

  • How to look for a particular field in the segments of IDOC ?

    Hi,
    I am looking at a particular IDOC which I will use to do data trasfer from lgacy to R/3 using BAPI in LSMW. Now I know a field which is required to create a given business transaction when igrating data. But there are 100's of segments on the IDOC.
    Is there a way I can see if the given field is present in any of the IDOC segment ? I don't want to dig though each and everys egment and find it out...
    Regards,
    Rajesh

    Try using WE09..There you have the option of searching by the idoc data..CHeck in the bottom of the selection screen
    Thanks,
    Naren
    Message was edited by: Narendran Muthukumaran

  • Looking for a Particular App

    Here's the thing. At my school, I'm a major technical person, and I do a lot of tech stuff for our Creative Music class, which is basically a class where kids go and write songs.
    Now, this class wants to record some of their music. Is there an app for the iPad that can record music? I do NOT want to edit the music on the iPad, and I do NOT want to write the music on teh iPad, like with all teh composing apps.
    I just plain and simply want a sound recording app that will create CD quality recordings. Is this possible? Price of the app doesn't matter to me, and also: will I need to buy a special microphone or can I just hit record, plunk the iPad on top of the piano and leave it?

    There are many ways to record on the iPad, ranging from using a free voice memo app with the built-in mic to running through a mixer to one of the multitrack recording apps. If you go to the itunes store and search for 'recording' you'll find a huge number from which to choose. Obviously something like iTalk Lite + built in mic isn't going to give you CD quality. It depends on how elaborate you want to get. If you look at the how-to pages for some of multitrack recorders, like DAW, for example, or Studio MiniXL, they have tutorials explaining what all you need. Different apps work with different hardware.

  • Looking for a particular offset

    Hello all,
    I have been forced to deal with a binary file in java that is 100MB+ made of 64 byte records. What I have done is to build a pointers hashtable to point out the various records in the file but what I want is to skip to that offset. I looked at the API and found a skip() method but it says that it can skip one too many and return the true number of offsets skipped.
    I had also tried the read(byte[], int, int) but kept getting a index not found exception.
    I have built the pointers table without error and have done all else but this.
    Help!!!!

    java.io.RandomAccessFile

  • Looking for a particular upcoming new game

    There is a new game coming in the near end of October called Zettai Hero Project: Unlosing Ranger vs. Darkdeath Evilman (Yes. That's the title.). But the game itself is not on the website yet for preorder.
    Here is the cover:

    Deathdeath.. Evilman?
    The unlosing ranger I can see as a translation bo-bo.
    But Darkdeath Evilman?!
    Is this the result of some game designers severe writer's block?
    I'm sure that the GAME is nice, tho
    I am a Bestbuy employee who volunteers on these boards on my own time. I am not paid for posting here, and you should understand that my opinions are exactly that - opinions. I do not represent Bestbuy in any way.
    : Open Mailbox

  • Looking for a particular HP motherboar​d

    Hello 
    I was wondering if someone good guide me or tell me where I could find a mother board for the following laptop
    HP Pavilion dv7-4065dx.
    For some reason can't find it anywhere , not even on ebay or Hp website.
    Any help would be appreciated
    This question was solved.
    View Solution.

    Here it is on eBay. eBay #2
    It is available. That is an expensive systemboard.
    This is a search that I did for it.
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for

  • HP Live Photo FAQ, Help, and Support

    HP LIVE PHOTO HP Live Photo app - available on iOS and Android devices Make your photos come to life with HP Live Photo!  HP Live Photo is a free, fun, and easy app for iOS and Android that lets you share your experiences with friends and family by c

  • How do i install arch on a old laptop

    Hi i may need some help with this, I obtained the latest installation cd and tried booting it, it gives me the following output: This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for y

  • Result Analysis Values For particular period/year!!

    Hi Experts We are in a customer project, tenure of a project is around 2 to 3 years. As company follows Accounting standard AS-7 where we need to recognize the revenues in the same period in which the cost incurred. So, to achieve that we have planne

  • Does the Portal Server support URL masking?

    Is there way to block the URL that is being rewritten from showing on the browser address bar?

  • N80 Working ok except for battery life

    Hi All Just a quick one to say I have not had any of the problems everyone else is complaining about. The software version is 3.0617.0.3 and I am on Orange. My only problem is battery life, lasts a day! so I am about to turn off Bluetooth and the sea