How do i add array element after acquiring 8 samples from pulsatile signals and display it?

Hello, LabVIEW Experts,
I'd like to do the following with the attached VI:
1)enter raw data(sampling frequency 333K/sec and 333K samples) into array1
2)the rising edge of the pusatile input triggers/starts the analog input(the first 8 points)
3)the 8 data points are appended/inserted into array2
4)front panel displays array and waveform of both array1 and array2
I know what to do in other langauges but i am having a hard time doing it with LabVIEW.
Please advise.
Thank you.
CK
Attachments:
tim continuation 020206.vi ‏90 KB

Hi CK-
The easiest method I can think of to perform this function is to sort through the array of data as it comes in and pull the necessary points.  I have attached a short example that shows how to graph the raw data and also to check two conditions:
Checking through the array, always check to see if one element in the array is greater than the previous (using shift register to store data)
Checking each point, always check to see if it exceeds the "Trigger Lvl" value
If both of these conditions are met (hence the AND "gate"), we break the While loop and save the iteration value.  We then grab values from the original array starting at this index and take "Length" number of elements.  Finally we present the array subset similarly to the original data.  This example uses a simulated square wave with noise, but reading an array from your DAQ operation should allow you to achieve the same results.
Hopefully this helps-
Tom W
National Instruments
Attachments:
Subset Suggestion.vi ‏79 KB

Similar Messages

  • How to set an array element in an object type of array??

    Hi,
    I have set attribute as follow:
    Color[] colors;
    Color[] colors = new Color[20];
    colors[0] = "Red";
    colors[1] = "blue";I can't compile this code. It said:
    "Incompatible type -found java.lang.String but expected Colors
    Could you tell me how to set an array elements when the array type is an object?

    in your case, the array shouldn't be Color[] but String[] since you re intending to put strings into it
    by the way, you could also use a hashmap to map a string to a color:
    HashMap<String, Color> hm = new HashMap<String, Color>();
    hm.put("Red", Color.RED);
    hm.put("Blue", Color.BLUE);
    etc.

  • How can i add an Engraving after i order the ipad ( add, not edit)

    how can i add an Engraving after i order the ipad ( add, not edit)

    Sorry, I don't mean to appear rude, but I don't understand the question. What do you mean "how do you call"? You pick up the telphone and call the store's number, just as you would any other person or company.
    None of the Apple Stores have on-line chat.
    Regards.

  • How do I add Chinese local after Solaris OS has been installed

    How do I add Chinese local after Solaris OS has been installed. right now on my
    /usr/lib/localedef/src I only have iso_8859_1
    Thank you

    Welcome to the Apple Support Communities
    1. To boot into Mac OS X, press X key while your computer is starting.
    2. Install Boot Camp drivers

  • HT204364 how do i add 3 photos after i have already imported the others into the Book?

    how do i add 3 photos after i have already imported the others into the Book?
    Bill

    drag them to the book project in the source pane on the left
    LN

  • How do I recover a background after accidentally deleting it from the background catalog

    How do I recover a background after accidentally deleting it from the background catalog

      Close Photoshop Elements Editor and Organizer.
    Navigate to:     
    //Library/Application Support/Adobe/Photoshop Elements/11.0/Locale/en_US/
    Delete the file Mediadatabase.db3.
    Re-launch Photoshop Elements Editor. A progress bar appears as the media database is re-created. Wait for this process to complete. It make take some time and the screen may periodically go blank; so go away and get yourself a coffee and be patient.
      N.B. If you have any of your own custom effects, you may need to re-create/re-install them.
     

  • How do I add multiple songs to an existing playlist from the (no longer called) Library? Highlighting multiple songs and clicking the "Add to" button will only add the with the little arrow, not all the highlighted ones!

    How do I add multiple songs to an existing playlist from the (no longer called) Library? Highlighting multiple songs and clicking the "Add to" button will only add the one with the little arrow, not all the highlighted ones! I am using the "new" iTunes.

    For the moment there isn't a way for us end-users to control what is "matched" or "uploaded." That is purely a result of Apple's server-side algorithms.
    To re-add multiple songs at once simply highlight all the songs you want to re-add, then right-click (or Control+click) the list and choose "add to iCloud."

  • How to I add Camera Raw presets I've downloaded from the internet?

    How to I add Camera Raw presets I've downloaded from the internet? I have a mac and I use Creative Cloud.

    Presets are stored under Library>Application Support>Adobe>Camera Raw>Settings. Install them there. Once done, load the settings:
    Benjamin

  • HT203433 After reading the sample for Hard Measures and buying and downloading, the downloaded book was missing 9 chapters. Anyone know how to fix this?

    After reading the sample for Hard Measures and buying and downloading, the downloaded book was missing 9 chapters. Anyone know how to fix this?

    Hi Charles...
    Try re downloading the iBook >  Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How do you add an entry in the monitor log from the update rules?

    How do you add an entry in the monitor log from the update rules?

    Check this link for relevant SAP recommended implementation.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c22e690-0201-0010-9581-832abdb5d50d
    Sample Code (Routine) available on the last page of the document.
    award points if useful

  • How do I add my Apple MAC computer to print from my hp 6500 E710n-z printer?

    How do I add my Apple MAC computer to print from my hp 6500 E710n-z printer? 

    - Go to System Preferences > Print & Scan
    - Click the '+' sign at the bottom of the list of printers.
    - Select the Defualt tab on the top of the window. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How do I add text boxes that people can edit font type, size, and color in Adobe Reader

    How do I add text boxes that people can edit font type, size, and color in Adobe Reader? I am using Acrobat Pro XI.

    It is possible. Add your text fields and in their Properties set them to have Rich Text Contents (under Options). This will allow the users to specify all kinds of formatting settings for those fields (by pressing Ctrl+E and using the Properties bar).

  • How to Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER in VC++ ?

    Hi,
    I have :  -  IMAQ1394 2.0.1
                  -  NI Vision 7.1
    In VB, I can Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER :
        Dim Image0 As New CWIMAQImage
        imaq1394SnapCW(sid0,Image0)
        CWIMAQViewer1.Attach Image0
    Now,How can I do this in VC++6.0?
        I tried:
                  C_CWIMAQImage m_imgViewer1;
                  m_imgViewer1 = m_CWIMAQVision1.CreateCWIMAQImage();
                  m_CWIMAQViewer1.Attach(m_imgViewer1);
                  imaq1394SnapCW(Sid,m_imgViewer1);  <--there is no "imaq1394SnapCW "function in VC++,why?
        Please help me!
        Thank you!

    For people looking back at these old posts regarding
    CWIMAQViewer - it was not made to be used in the C environments and is made
    for VB.
    Refer to the following locations for displaying images in C
    environments:
    Start»All Programs»National Instruments»Vision»Documentation
    Start»All
    Programs»National Instruments»Vision»Text Based Examples
    Make
    sure that you look at the examples and documentation that is in
    reference to the C environments not the VB environments
    Vince M
    Applications Engineer

  • So I bought a video on iTunes, how do I make it compatible with iMovie so I can edit it and make my own video?  If I can't do this, then how do those people on YouTube make videos with clips from TV shows and Movies?

    So I bought a video on iTunes, how do I make it compatible with iMovie so I can edit it and make my own video?  If I can't do this, then how do those people on YouTube make videos with clips from TV shows and Movies?

    Videos purchased from iTunes cannot be copied.

  • How do I get old purchused songs that were deleated from my account and my liberary?

    How do I get old purchused songs that were deleated from my account and my liberary?

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.
    Use your backup copy to put everything back.
    You buy one and only one download.  It is your responsibility to move/copy/backup your music.

Maybe you are looking for

  • How to auto-connect to external server upon startup?

    Is there a way that a user could by-pass "Connect to Server" and have the workstation auto-connect to an external, but in-house server each time the work-station is booted up? Also, is there a way to have it connect to this server without having to e

  • Why does Illustrator change CMYK color numbers when set to preserve them?

    I'm using CS2 on Mac OSX 10.4. Recently I tried importing a Photoshop image into Illustrator and then matching a color in Illustrator to a color in the Photoshop document. But Illustrator changed the CMYK values of the color in the Photoshop document

  • JEditorPane in read only mode

    Hi I have created a JEditorpane in read only mode - setEditable (false) the problem is the user can still mark the rows of the editor pane. how can i prevent that? Thanks, Liat

  • Time Series algorithm problem

    Hi, problem-In Time Series Algorithm predication  is wrong if Sales value is negative i  have data for more than  3 years  , sample data like Year/Month Zone-1 Sales 201001 -5467.66 201002 2345.88 201003 -7895.33 201004 2345.65 201005 120.2333 Due to

  • How do I increase the refresh rate provided by the Tag Engine?

    Good Day, Part of an application I've designed reads in various analog inputs from various sources (3 serial, a handful from the NI-6229 and some temps from the USB-9211A).  My Labview software (LV v7.1) is set to read in the values at 8 Hz (every 12