Adding waveform from

Hi,
I wrote an application using USB 6215 DAQ in order to aquire analog signal on AI0. I aquire signals in continuous mode, that means loop structure is used. I would like to add waveform from loop iteration 1 to waveform from loop iteration 2 (loop iterations ale 1,2,3,4,5,6...) in order to compare them. In loop iteration 2 so I will have waveform from iteration 1 and iteration from iteration 2. Next iteration (3rd) I would like to have waveform from iteration 2 and iteration 3 to compare them. I used append to waveform VI, but I always want to see only 2 waveforms (from current loop iteration and from previous iteration). Any suggestion?
Kindest regards,
Tomaz Lusin

Hi tomaz,
If I understood your question, this should do what you need.  I used a waveform generator as I don't have a DAQ source on this PC.
Regards,
Jim
LV 2013
Attachments:
WaveLoop.png ‏5 KB

Similar Messages

  • Trouble capturing waveform from PXI-4472

    I'm really a very green newbie at this stuff, so bear with me...
    I've got a PXI-4472 data acquisition board and a PXI-5411 waveform generator. I've connected the arbitrary out of the 5411 to the channel 0 in on the 4472. An external oscilloscope shows a 1v-amplitude sine wave being generated.
    I created a very simple VI to show what the 4472 is capturing. It connects a NI-DAQ channel I generated to the standard "AI Acquire Waveform.vi", then out to a Waveform Chart, all within a while loop with a Stop button. Problem is, all the waveform chart seems to be showing is the running average of the waveform instead of the form itself (solid line, a tad above zero).
    I can hook the 4472 input channel up to a DC-out power supply, a
    nd when I vary the voltage, the waveform chart changes as well.
    So my question (whew!): What's wrong here that's not allowing me to capture a waveform from the 4472 (in turn from the 5411) and display it on my waveform chart?
    Thanks in advance for the help.

    Never mind.... it was a sample rate problem. I upped the sample rate and it came out ok.

  • How to get latest added file from a folder using apple script

    Hi..
    I am trying to get a latest added file from a folder..and for this i have below script
    tell application "Finder"
        set latestFile to item 1 of (sort (get files of (path to downloads folder)) by creation date) as alias
        set fileName to latestFile's name
    end tell
    By using this i am not able to get latest file because for some files the creation date is some older date so is there any way to get latest file based on "Date Added" column of a folder.

    If you don't mind using GUI Scripting (you must enable access for assistive devices in the Accessibility System Preference pane), the following script should give you a reference to the last item added to any folder. Admittedly not the most elegant solution, but it works, at least under OS X 10.8.2.
    set theFolder to choose folder
    tell application "Finder"
        activate
        set theFolderWindow to container window of theFolder
        set alreadyOpen to exists theFolderWindow
        tell theFolderWindow
            open
            set theInitialView to current view
            set current view to icon view
        end tell
    end tell
    tell application "System Events" to tell process "Finder"
        -- Arrange by None:
        set theInitialArrangement to name of menu item 1 of menu 1 of menu item "Arrange By" of menu 1 of menu bar item "View" of menu bar 1 whose value of attribute "AXMenuItemMarkChar" is "✓"
        keystroke "0" using {control down, command down}
        -- Sort by Date Added:
        set theInitialSortingOrder to name of menu item 1 of menu 1 of menu item "Sort By" of menu 1 of menu bar item "View" of menu bar 1 whose value of attribute "AXMenuItemMarkChar" is "✓"
        keystroke "4" using {control down, option down, command down}
        -- Get the name of the last item:
        set theItemName to name of image 1 of UI element 1 of last scroll area of splitter group 1 of (window 1 whose subrole is "AXStandardWindow")
        -- Restore the initial settings:
        click menu item theInitialSortingOrder of menu 1 of menu item "Sort By" of menu 1 of menu bar item "View" of menu bar 1
        click menu item theInitialArrangement of menu 1 of menu item "Arrange By" of menu 1 of menu bar item "View" of menu bar 1
    end tell
    tell application "Finder"
        set current view of theFolderWindow to theInitialView -- restore the initial view
        if not alreadyOpen then close theFolderWindow
        set theLastItem to item theItemName of theFolder
    end tell
    theLastItem
    Message was edited by: Pierre L.

  • I have added music from my CD library to iTunes but now my iPod will not sync.  Message says not enough free space.  How can I sync only a portion of my library to my 8Gb Nano?

    I have added music from my CD library to iTunes on my PC.  I now have too many songs in my iTunes and I have insufficient space in my 8 Gb Nano.  I am unable to sync my iPod now.  How can I get my iPod to sync?  I only want a portion of my songs on the Nano.

    Hi wisemra,
    First, make sure your iTunes does not attempt to sync automatically. Open iTunes, and select Preferences under the iTunes menu item:
    Then, once you have hooked up your device and selected it, you should see the device Profile pages to the right. Select the Music tab:
    Once you get to the Music detail screen, you will see the option to "Sync Music". You can then select "Sync Entire Music Library" or you can select "Sync Selected Playlists, Artists, Albums, Genres". Click on the second one. Then, below, you can select which of your music from the library you want on your device:
    Your will show a list of your music. Mine doesn't because I sync with an iTunes library on different computer, but once you have selected the options I have shown you, you will see the music listed. Just pick what you want on your device and then click "Sync" at the bottom.
    Cheers,
    GB

  • When I record an audio track, there is a waveform. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is there. How can I stop the waveform from disappearing?

    When I record an audio track using Logic Pro X, there is a visible waveform which appears as I record. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is still there. How can I stop the waveform from disappearing? And can I do something to view it after it has disappeared? Anyone know the anser?

    In Logic:
    Preferences/Audio Set Recording Delay to 0 <zero>
    This should always be set to zero unless a specific set of circumstances exist and you're audio drivers do not report position correctly.
    On occasion, usually when importing a Logic 9 project, Logic-X randomly changes this to a negative/positive number.  It's actually a bug in Logic, as it should always display the waveform.

  • I created a new itunes, but when i add the music i added it from my external hard drive by accident, so when i disconnect it and wish to play music without having it connected, obviously it asks me to located my songs, i dont want to locate each song help

    i created a new itunes, but when i add the music i added it from my external hard drive by accident, so when i disconnect it and wish to play music without having it connected, obviously it asks me to located my songs, i dont want to locate each song and i dont want to have to add all my music again, is there anyway of changing the location to a new folder all at once? for example, if it is my computer/harddrive/music/.... can i change it to mydocuments/musis/...
    and having the exact same music folder so all the further directions are accurate?
    thanks
    please i need help

    pass the music on your external hard drive to the computer then drag the to Itunes

  • Why doesn't adding Waveforms with compound arithmetic work?

    Hello everyone,
    I have a program that adds up multiple waveforms and displays them all together as one distorted curve in a single waveform graph.    
    I've had to add them all together using simple add functions, since the compound arithmetic block doesn't work. 
    Why would this be the case? Isn't it essentially just doing multiple additions in a convinient way? I've attached a VI with a simple example to show what I mean.
    fr00tcrunch
    Solved!
    Go to Solution.
    Attachments:
    simple waveform addition.vi ‏33 KB

    1.  No need to wire up the N.  The autoindexing will tell how many iterations to perform.
    2. Use Delete From Array to remove one of the waveforms from the array.  Initialize the shift register with the deleted portion.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    waveform addition shift registers_BD.png ‏18 KB

  • How do you get Itunes to only sync newly added photos from my phone to the computer and not every photo on my phone each time I try to sync?

    How do you get Itunes to only sync newly added photos from my phone to the computer and not every photo on my phone each time I try to sync?

    Hello Angelcasper,
    Welcome to Apple Support Communities.
    The following article provides some suggestions on importing photos from your iOS device to your computer.
    iOS: Import personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/HT4083
    Regards,
    Jeff D.

  • Create waveform from a set of points with differtent time intervals

    Hello,
    I would like to create a waveform from a set of points like this
    Time           Data
    0                 0
    0,5              1
    0,6              2
    1                 1
    2                 0
    5                 1
    The problem is that the time interval between each points are not the same.
    The only idea I found was to create a waveform for each doublet of points with the same rate (100ms) and than to append them together.
    Does anybody have a better idea?
    Regards,
    Risotto.

    If you use a Wave From data type, re-sampling is not required.
    When using a WF datatype the chart (graph) will pick-up the X value from the t0 of the waveform.
    The trick is to just build an array of the single update value and make sure the t0 value is correct.
    Re-create this example
    and try it for yourself.
    Ben
    Note: make sure the data you pass is consistant with the data already displayed. If you post a t0 value that is older than what is already displayed, the chart will clear the display and start over.
    Message Edited by Ben on 09-15-2006 11:49 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    WF_Datatype.JPG ‏59 KB

  • Adding fields from KOMK structure to screen painter.

    Hello Everyone,
    i have created an Extra tab(like ADDITIONAL DATA B) using BADI, i have added fields from VBAP table, its working fine. But when i add fields from KOMK structure(KOMK-STCEG) only empty field is showing. Do i need to code something in PBO or PAI?
    Thanks & Regards,
    NarsiReddy Cheruku.

    Hello NarsiReddy,
    I assume that you have linked the field KOMK-STCEG using "Get from Dictionary" option from your above screenshot.
    In PBO section, make sure to write the logic to update the value in the field. The logic which you would build, would be based on your requirement. For instance, you can use BELNR to check and its corresponding STCEG could be found in the structure KOMK.
    But if the KOMK structure itself is not filled with any value, then there is some problem with your code. Try to check your BADI and its corresponding structures which would get updated at runtime and use them appropriately.
    Thank you.
    Regards,
    Naresh

  • How to save only newly added elements from the trailing list

    Dear,
    I have a shuttle bean with left and right trailing lists.
    At some point I save the right trailing list content to DB. Then I add additinal elements to the trailing list. Trying to save again gives me oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key
    exception.
    What is the approach I can take to only save newly added elements from the shuttle?
    I am wondering if I can put the extra logic (what logic would that be - do I need to check the PK value that is already in the database?) in the AM method with which I save the shuttle like here (TicketID and ResponsibilityID are primary key)
    if (items != null)
    Object ia[] = items.toArray();
    for(int i=1; i<ia.length; i++)
    Row rowApproval = vo.createRow();
    vo.insertRow(rowApproval);
    rowApproval.setNewRowState(Row.STATUS_INITIALIZED);
    Row row = vo.getCurrentRow();
    row.setAttribute("TicketId",items.get(0));
    row.setAttribute("ResponsibilityId",items.get(i) );
    row.setAttribute("Status",items.get(i));
    or should I do something in the EO?
    Thank you
    Anatoliy

    Hi,
    Can you please clarify - do I have to make a loop? I mean for every record/element in the trailing list
    I run the VO (that I will create) VO.executeQuery?Yes you do need to execute the VO for every record....by passing the different parameter in each iteration.
    Regards,
    Gyan

  • WrapPanel not found even after adding it from Blend

    Everytime I run I get a parse error that tells me WrapPanel is not found in the assemblies, even though it builds fine. I added it from blend and made sure all of the references were there. What step could I be missing?
        xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
     <toolkit:WrapPanel/>
    and the references are Windows.Controls, Windows.Controls.Toolkit, and Windows.Controls.Toolkit.Internals
    Thanks,
    Shane

    Hi all,
    I faced the same problem: in one application the control worked fine but not in the other one.
    While checking the dll in .\bin\Debug I detected, that System.Windows.Controls.Toolkit and System.Windows.Controls.Toolkit.Internals were not present.
    The solution was quite easy: Adding the two dlls also to the main project.
    In my case the structure of the LightSwitch solution is:
    MySolution
      MyWrapPanel
      MyLightSwitchProject
      MyLightSwitch.DesktopClient
      MyLightSwitch.Server
    Refereces to the two toolkit-dlls have to be added to MyWrapPanel and MyLightSwitch.DesktopClient.
    I hope this helps other people trapping into this bug.
    Best Regards
    Hans

  • I have a problem in the liquefaction of confidentiality and answers when asked to reset the answers but remembered email added halted from by Microsoft Corporation, Is it possible to cancel the account and send the answers added on my email and thank you

    Dear,s
    I have a problem in the liquefaction of confidentiality and answers when asked to reset the answers but remembered email added halted from by Microsoft Corporation, Is it possible to cancel the account and send the answers added on my email:
    <Email Edited by Host>
    Thanks

    You are not addressing Apple here. And your post is a bit confusing. See Klaus's answer in this thread:
    https://discussions.apple.com/thread/5228474?tstart=0

  • Adding music from cd

    adding music from cd

    Bought a new i mac, but it doesn't have facility for CD's as they're being phased out. I still have lots of CDs with music I love on them, so want to somehow get this music into my new i mac & into my i phone for my art workshops.
    My 'old' Macbook pro can take CD's but is unstable (on its 3rd HD! hence the new i mac purchase!) so I have been unwilling to build up my itunes library on the Macbook HD as I don't trust it.
    Any suggestions would be much appreciated (as we are getting tired of hearing the same old tunes on the iphone...)

  • Deleted the recently added section from the source area how can i add back

    how can i add back the recently added section from the source without reinstalling itunes thanks in advance....
    insp 8100   Windows XP  

    Ok that is easy.
    1) File > New Smart Playlist.
    2) Make sure match the following rule is checked
    3)The first drop down change to date added.
    4)Set the second drop down setting
    5) Enter the number you want based on step 4
    The rest of the check marks are up to you but make sure "Live Updating" is checked.
    Take some time playing around with the smartlists. I love them!! I have a 2 level smartlist at work, I hardly use the regular playlists.

Maybe you are looking for

  • Missing sound + missing USB power (sometimes) from Thunderbolt Display when waking from sleep

    Hi Two problems - one of which is driving med crazy!! Have the latest updates, and the display is connected to a MBA (mid 2011). The two are almost alwayes connected, and every time I wake the MBA from sleep, the Thunderbold Display does not "support

  • Need help with HTML5 code

    What is wrong with this code?  It does not play. It should play in Windows-7 and XP with IE8. Also, on the screen there is a large white area where the <video> code is.  Why? How do I get rid of it? Thanks. <!DOCTYPE HTML> <html> <head> <title>video

  • Draw a rectangle on an image in an applet

    Hello I have an applet that has 3 buttons. Each of them creates an image, which is displayed on the screen. Now, I want to draw a rectangle on these images. Since I already have a paint method for displaying the images correctly, I would need a secon

  • DotNet constructor node in LabVIEW 2013

    I am talking to a WLAN tester Agilent N4010. Access is done through DotNet. This has been working fine in previous LV versions, but in LV2013 I can not access the constructors. The attached picture shows LV2012 to the left and LV2013 to the right. I

  • Air print for Ipad 3 using HPMFP 1217NFW

    Dear all, I want to buy an HPMFP 1217NFW, does it support air print for my Ipad Regards, Mark This question was solved. View Solution.