Draw the last set of data (1000 samples) in a loop

Hi, I read a waveform data continuously, but I would capture and draw the last data set after my stop. As shown in the picture of attacehd, when the condition is true I acquire data. The number of samples per read is 1000, and as you can see I used a shift register to store data. What I'd like to see where the loop stops is the last 1000 samples but when I acquire real-time data I get a random sample number when the loop stops. sometimes 90 samples, sometimes 950 samples etc... could you please let me know how can I get the last 1000 samples acquired in this loop

I even used DAQmx buffer for data but I can not get the last 1000 samples

Thank you

If your task has a number of points to buy, I don't see how you could have a number UN predictable and random points in the buffer.  The task should stop after having acquired the points of "N" and then say it's done.

What do you mean by "stop tripping?  You only have a 'start' trigger and it is not available for points once the task has been involved.  If you want the last 1000 points of the points "samples per channel", the last reading should return those.  I've never used the property "Done" before.  Count your samples read instead and stop once you have what you wanted.

Tags: NI Software

Similar Questions

  • in the menu toolbar customization, ALL the small icons in the last set (home, reload the page, stop downloadig page, etc.) are dishes on MISSING. What can I do?

    in the menu toolbar customization, ALL the small icons in the last set (home, reload the page, page download stop, etc.) are dishes on MISSING, and therefore I can not add the Firefox.What can I do?

    These buttons are not in the drop-down to 'Add' Palette, they are on the Navigation toolbar and must be "moved".
    The buttons Stop and reload should appear between the address bar and the search bar when customize is open, and the home button should appear to the right of the search bar.

  • Display data in a dataset when a field is null in the other set of data

    Hi all

    I have a report where I need to show some of the columns of a data set(Ex: SsOpportunity)... when there is no data in a column (Ex: "Petrofac-ProductLine") in the other set of data (Ex: SsRevenue) in a single table. I have another table that displays data for SsRevenue when it some data in the column "Petrofac-ProductLine.

    The first table does not work for me. Please suggest me where to specify the condition.

    Thanks in advance,
    Imtiaz.

    Sent files

  • How to display the "last process/Update Date' on the dashboard home screen / Hyp IR

    Hyperion IR V9.3

    I want a simple date field on my Hyperion, dashboard home screen that informs users of the last execution of the query option all processes and data has been updated.  How can I do this?

    If the solutions provided please mark the closed question and acknowledge the contributors properly.  If the solutions do not meet your question please let us know where you need clarity.

    w

  • LIGHTROOM6 CC 2015 2 UPDATED VERSION DOES NOT ALLOW UPLOAD CHOICES & is ALLE UPLOAD DIRECTLY to THE LAST SETTING

    I HAVE DOWNLOAD PROBLEMS.  I have a MacBook Air and recently updated to 2015 2 version and I checked 'Show add photos screen' in the preferences as suggested to stop it crashing.  Still, it breaks down or could not load several times, but less frequently.  What struck me the most upset is it does not show the choice of the right hand before downloading and just uploaded immediately.  He has not shown me the destination drive or he asked me first what format I want to use (for example to date before the number of the image), and only allows put me in key words first before hitting the import button.  It is a big problem that I don't see where he's going.  Fortunately photo files went to the last location that I used.  It is not acceptable that I can use a second external drive in the near future so I don't want to order the photos to go to a different place and NOT the last I used!  Let me know when you all these difficulty.  Adobe, you messed up of course upload!

    Hello Susi,

    Lightroom allows you to choose the destination at the time of importation, however, the structure of the hierarchy for destination has been removed from the last update.

    And you can put the keywords before importing

    Here is a screenshot:

  • View and query the different sets of data views

    I have a view created with the syntax below.

    CREATE or REPLACE FORCE VIEW vw_name (/ * column names * /)
    SELECT AS / * column names * from / to tables

    When I run the query with which the view is created, I m getting different data set which contains 4690 lines
    and when I appear the view I m get dataset that contains lines only 4657.
    Can you please explain why the differnce in the county when the source for both is the same.

    Can you please explain why the differnce in the county when the source for both is the same.

    Response should be one of the following

    1. the two queries are not the same
    2. the data in the table has been changed
    3. you see the bad thing (manual error)

  • After the last set windows to update my computer got caught in a loop, trying to step 3 of 3__ he remains at 0% for a while, then restarts.

    Windows does not run in a reboot loop

    Windows does not run in a reboot loop

    From:
    The update is not installed successfully, you receive a message, and the computer restarts when you try to install an update in Windows Vista and Windows 7

    When you try to install update 937287 from Windows Update on a computer that is running Windows Vista or Windows 7, you may receive the following message: Configuring updates step 3 of 3. 0% complete after you receive this message, the computer restarts, and then you receive the same message again. Windows will not start and the computer continues to restart and display the same message. The update is not installed successfully.

    To resolve this problem, use the following methods in the order in which they are presented. Method 1 is the simplest solution, and method 3 is the most complex.
    * Method 1: Start Windows with the Windows installation media and use the repair feature
    * Method 2: Start the system in safe mode and then use the system restore feature

    Ignore the number KB of the update in the article and start with the method 2 .
    If this does not resolve the reboot loop, then perform the method 1 .
    There is No method 3 listed in the article, and he needs a correction.
    MowGreen MVP Data Center Management - update of safety Consumer Services

  • Display of the unavailable wattage with the last set of power manager?

    I recently installed the latest version (1.51 (a) the "Power Manager" software ThinkPad on my t400 and it seems now that the show "power when on battery ' display is no longer available? Am I just do not find the option to enable it, or has been deleted completely? The user interface for the power manager seems to have achieved a complete facelift with version so I'm afraid, that it was deleted :-(

    Step by step to version 1.47 software gives me the back of the option

    Well I am still convinced that the option to display the power on the battery meter has been removed from the user interface, but I found a way to fix

    My problem.

    It seems that the following registry controls what is displayed:

    [HKEY_CURRENT_USER\Software\IBM\PWRMGR\Data]
    'ShowRemainingTimeGauge' =: 00000002

    0 is used to display the "remaining percentage.

    1 should display 'time remaining '.

    2 should display 'power '.

    After you change the registry, you can restart or turn the gauge in the application of power manager

  • Do I have to remove the last batch of data before the next batch of POST import?

    Hi all

    I am coding an integration with the API bulk import Contacts in Eloqua.

    Due to more than 32 MB capacity, I have to divide the data into several lots. So, I POST a Contacts import and PUBLISH data from Batch_1 import.

    After the Batch_1 data synchronization was successful, I would point OUT Batch_2 and synchronize it.

    Here's my question: what will happen to Batch_1? Is it to sync again? What I have to remove it before display Batch_2?

    Thank you

    Biao

    No, you don't need to REMOVE the resource export or sync associated with the first series before starting the second.

    The flow would be:

    1. Create import #1
    2. Create import SEO sync #1 #1
    3. Start to run the synchronization #1
    4. When you are finished, check the status of synchronization #1
    5. Create import #2
    6. Create import SEO sync #2 #2
    7. Start to run the synchronization #2
    8. When you are finished, check the status of synchronization #2

    And so on.

  • get the last ten weeks date value

    Hi friends,
    I have a requirement in which I need to get a list of 10 dates starting today on the same week. something similar to below but a list of all the 10 dates on the same day of the week

    Select sysdate-7 double

    output:
    2011-08-08
    2011-08-01
    2011-07-25
    2011-07-18
    2011 08-11
    2011-07-04

    and so on...

    Note: All of the above dates fall on Monday. I think I can do it using connect by clause, but need the exact syntax. I tried my best to get the result

    Please let me know.

    Ok.

    select sysdate -7*(level - 1) as dt from dual connect by level <= 11
    

    Not tested, not connected to oracle.

  • Hi I updated to Lightroom CC on my MBP (El Capitan) and I met permission issues... I tried to access the various Library folders to change the permissions of user group (according to the instructions from Adobe) but on the last set of permissions.

    (Sorry I seem to have accidentally pressed on enter...) My Library Caches file does not contain an adobe folder. What is the cause of my problems open Lightroom? and if so, how to fix?

    Thank you very much

    (Sorry for the disjointed text character).

    Dan

    See answer #7 here: Re: update on CC (for PS, LR and bridge) online and met a permissions problem with LR on three dossiers?

  • get the last 6 months data

    can I have a query that needs to retrieve only the most recent 6 months of sysdate.

    output must
    month
    10/05/2011
    10/04/2011
    10/03/2011

    etc.

    Try this please

    SELECT TO_CHAR(ADD_MONTHS(SYSDATE,1-LEVEL),'MM/DD/YYYY')
    FROM DUAL
      CONNECT BY LEVEL <=6;
    
  • Delete all the files/folders of old install once the last series on the window updates have been installed?

    I have everything, if records of installation/uninstallation and newspapers since I installed XP.

    I'm sure that the last set of Windows updates work.

    Is there a problem with the removal of old files/flies and connects using CCleaner?

    If not all, can I at least remove those older files that the SP2 install date?

    What problems can I hire after cleaned?

    I guess that the answer to MS Office updates also apply.

    Thank you

    caveman88

    If your PC behaves properly, you can remove the hidden Windows hotfix backup files that start with $NTUninstallKB to the WINDOWS folder. There are two ways to do:

    A. manually, but copy files on a CD/DVD first to enable their restoration has a fix must be removed thereafter. Now delete the folder \WINDOWS, but leaves the orphan entries to add / remove programs intact. Remove only the $NTUninstallKB files that relate to corrections, not those for applications such as Word, WMP, etc.. In addition, DO NOT DELETE THE folder$ $hf_mig.

    B. my preference goes to run a script that also removes the corresponding entries in Add / Remove programs. Once they are deleted by the script, they cannot be restored. Download, extract and run this little scripthttp://www.dougknox.com/xp/utils/xp_hotfix_backup.htm creating a system restore point first just in case something goes wrong when the update of the register.

  • I need the last CD of Microsoft Office - Satellite Pro U200-125

    I just bought Satellite Pro U200-125 without the last set of Microsoft Office CD. Does anyone have this CD?

    Thank you

    Musallam

    Hi Musallam

    Sorry, but what you mean with last Microsoft office defined? Office 2007 perhaps?

  • Point cloud with missing data and 3 sets of data

    Hello

    I'm doing a scatter diagram that has 3 sets of data in it (i.e. 3 plots on the same graph), except that 2 of my sets of data have a missing value while my third set has all the values. I end up getting 2 lines that are disconnected. I can't just remove the line containing the missing data for the 2 sets of data because since my category axis is time, my data points get shifted and no longer appear at the right time. This is the chart that I have.

    Thank you.

    Hi Gabrielle,.

    If there is a diagram of dispersion, the x axis is a value axis. If you have auto selected for the min and max values on this axis, the scale may change when you remove the data point, 15, 85, but the rest remains in the same position relative to the values on each axis of ordinates. What change will be , however, is the curve on which 15 85 approached a local y maximum.

    Scatterplots will always leave a gap in the line/curve of connection where there are a pair of missing data. There are two ways to close the gap.

    If the chart is an essentially linear relationship, you can use a calculated value is pair up with the lack of value x. The downside of this is that the representation of this point will be indistinguishable on the map of the other data points, measured.

    A better way would be to make two tables, one with the full data set, the other with the partial sets, but with the pair missing completely removed.

    Adjust the cards the same size and have the same scales on each axis, then just remove one of the cards except the data points, the curves connecting the data points, the x axis of ordinates and the legend showing the color and the forms used to plot each series.

    Give a graphic a transparent filling and place it in front of the other.

    Kind regards

    Barry

Maybe you are looking for