How do you compare the data collected continuously?

So, I'm stuck on the basic architecture, therefore, hoping that you can push took me.

What I have is a VI that measures the tensions permanently, then, I have a flow of power from DAQ hardware data points.  What I WANT is to act on the data points of tension, only, which are larger than the previous points.  For example, I want to act on the first data point, since it will be the most important, since there is nothing to compare to, then I want to compare the points of data subsequent to the first, until there is a greater than the first data point.  Then, I want to compare tensions the NEW value more and so on, etc. and act only on the NEW larger value.

Consider this list of data points and corresponding outcomes:

2 LAW

4 LAW

3. DO NOTHING

3. DO NOTHING

4-DO NOTHING

5 LAW

4-DO NOTHING

5-DO NOTHING

4-DO NOTHING

3. DO NOTHING

6 LAW

I've been watch combinations of them for WHILE loops and shift registers and the tables, but the table would get so huge so fast and the MIN/MAX value of the TABLE palette function would get pretty slow and I don't need to evaluate all previous data.  I just need to be able to identify the highest value and then compare it to the following values until there is a NEW larger value.  It's a bit like how the warriors would fight several opponents until they lost and then, there's a new champion, and all subsequent warriors are compared to the new champion and so on and so forth.

You have any suggestions on how to achieve this?  I'm puzzled.

Thank you

Dave

Yes, either case will work, I put it in the structure case just to show that you need to put in there if you want to use.

Tags: NI Software

Similar Questions

  • Can I use scan interface mode during the collection of the data of cRIO? How to view the data collected continuously on a waveform graph?

    Hello

    I intend to use cRIO as a standalone device to collect certain data off a tachometer House.  My goal is to store the data in the cRIO chassis, since it has its internal memory, but I can't even a cluster of data of the analog inputs of its devices.  I dragged and dropped the channel I collect data in a while loop, but it is only a point.  I want to see the data from the different time, what should I do?  Is this possible in Mode Interface Scan?  If Yes, could someone give me a simple example that shows streamed on a waveform data?  I would be very grateful!


  • How do you know the date and time of synchronization in the windows version?

    Where can I see the date and time of synchronization?

    Is there a toolbar button in the Palette to customize. Move this button to a toolbar or in the Menu box open. When you hover over this button, a ToolTip will appear with the day of the week and time of the last synchronization event.

  • How do you choose the data in tables using EBS web page?

    Hi friends,


    I'm in the URLs of the web pages EBS 11i > http://vision.abc.com:8000.
    using the SA account.

    Is there a counter part based on web module/menu to display the data in the table?

    As
    Select * from fnd_tables;
    or
    Select * from po_vendors;

    something like that which allow the display of data


    Thank you very much

    Yes, but I want a web tool that uses the URL, not the client server those. :), which are not allowed by the security check.

    As a development tools, I believe that developer SQL and TOAD (in addition to SQL * more) are what you need (although these are client/server tools).

    Oracle Enterprise Manager is a good tool tracking (but not for development), as a DBA you use EM, and access it via a URL.

    I might not necessarily use sqlplus command. but a program stored as programs simultaneous fnd.

    There is no standard concurrent requests that can help achieve this goal.

  • How do you get the data of the DVD running on other computers?

    Hello world! This is my first time and I really hope that someone can help out me.

    I want to make a DVD with JPEG files and WMA using my Toshiba Qosmio G20. However, whenever I try to do the DVD I end up with does not work on my desktop!

    I think it may have something to do with formatting (the laptop gives the DLA DVD).

    Does anyone have advice? I have already destroyed some DVD - RW.

    Any help will be really appreciated. Thank you!

    Hello

    What burning software did you use?
    I use a burning software Nero and it works perfectly. I m very satisfied.
    But have you tested the DVD burned on your Toshiba laptop?
    It work correctly?

    Good bye

  • How do you use the data binding feature in Visio to you connect to a server and automatically fill a form of server?

    LD would be able to obtain current data on my network for my network diagram. Thank you!

    Hello

    I suggest you to send your request from the link and check.

  • How do you set the time and date on fax for hp officejet 4622

    How do you set the date and time on the fax for hp officejet head 4622

    Hi Chrisharrison23,

    Date and time should be under configuration tools or fax setting in the printer control panel.

    OfficeJet 4620:

    1. click on the key icon on the control panel of the printer

    2. go to tools

    3 scroll to the date and time

    I would like to know if you are able to locate the setting?

    Officejet 4622: Set the date and time

     
  • How do you multiline text in a continuous form between the lines without scaling of the text?

    Help. How do you multiline text in a continuous form between the lines without scaling of the text?

    I tried to put each line of the form for amounts of specificity so that it ends at some point and does not change the text size to fit on the line but different key characters have different widths, so you do not get a length of the same line.

    I tried to remove the long text scrolling, but it changed nothing.

    I can create a text box great to fill out and have this scrolling of additional lines, but then I get too much information from people and I would need to clarify the lines behind the answer multi line text, or delete the lines...

    Is there a better solution?

    I usually just remove the lines and set the field "Does not scroll long text" so that all the text is visible. Including the lines is really only useful if the form may be printed and completed by hand, in which case you can use scripts as in this example is: http://acroscript.net/pdf/demos/multiLine_Demo1.pdf

    It works as expected in Acrobat/Reader, but not in Chrome and other PDF viewers who have little or no support for JavaScript. It uses scripts customized to validate on Focus and blur.

  • How can I export all the data collected on the page manage the of Echosign (list of all signed documents) to an excel file?

    Hello, rather than saving contracts individual pdf, I was wondering if there is a way I can export all of the data collected from the various contracts in a single great file?  Thank you

    Hello Olivia47511068,

    If you have used a library template to send the documents for signature, you can export the values of individual transactions by going into the tab manage and then scroll down to the section template Library, single click on it and on the right side, click on the history tab and select ' export the data. It will download the CSV file with data of form field of all transactions made using the model of the library.

    -Usman

  • How do you get the incremented xml data a statement?

    Hello

    I am importing data using xml and incrementing data that looks like this

    peopleObject.name0

    peopleObject.phone0

    peopleObject.image0

    peopleObject.name1

    peopleObject.phone1

    peopleObject.image1

    And now I'm trying to use this information using a statement but I don't know how I can add the number that is incremented at the end I tried to add a '+ I' like this

    for (var i = 0; i < = peopleTotal; i ++) {}
    var newMC:MovieClip = placeHolder.attachMovie ("peopleMovie", "peopleMovie_" + I, i);
    newMC._x = 100;
    newMC._y = is;
    newMC.peoplename.text = peopleObject.name + i;
    trace (peopleObject.name + i + "name + I")
    newMC.peopleimg = peopleObject.image + i;
    ago += newMC._height;
    }

    So no idea how can I access the data, it's in a variable incremented in a separate for the statement? Let me know if I'm not explaining enough good.

    Thank you

    Randy

    Use array notation:

    peopleObject ['name' + i] = everything which

    ["phone" + i] peopleObject = whateverelse;

    etc.

  • How do you use the freqout as the sample clock to write data on the of 6224 PCI

    Using PCI-6224, I try currently to export data using the freqout as a reference clock sample to a digital output channel. I plug the scope to see the clock on the freqout PIN. However, the data seem to be missing. How can I output the data correctly using the reference for timing? What am I missing that connects the two signals together? Any help would be greatly appreciated. I am writing this code in MS VS C++ and here's what I've done so far:

            int32       error=0;
            TaskHandle  taskHandle=0;
            TaskHandle  taskHandleFRQ=0;
            char        errBuff[2048]={'\0'};
        uInt8       data[8]={1,0,1,1,1,0,1,0};
    
        /*********************************************/
        // DAQmx Configure Clock
        /*********************************************/
        DAQmxErrChk (DAQmxCreateTask("",&taskHandleFRQ));
        DAQmxErrChk (DAQmxCreateCOPulseChanFreq(taskHandleFRQ,"Dev2/freqout","",DAQmx_Val_Hz/*Units*/,DAQmx_Val_Low/*IdleState*/,0/*Delay*/,10000/*Freq*/,0.5/*DutyCycle*/));
        DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandleFRQ,DAQmx_Val_ContSamps,8));
    
        /*********************************************/
        // DAQmx Configure Digital Output
        /*********************************************/
        DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
        DAQmxErrChk (DAQmxCreateDOChan(taskHandle,"Dev2/port0/line0","",DAQmx_Val_ChanPerLine));
        DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"/Dev2/PFI14",10000,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,8));
    
        /*********************************************/
        // DAQmx Write Code
        /*********************************************/
        DAQmxErrChk (DAQmxWriteDigitalLines(taskHandle,8,0,10.0,DAQmx_Val_GroupByChannel,data,NULL,NULL));
    
        /*********************************************/
        // DAQmx Start Code
        /*********************************************/
        DAQmxErrChk (DAQmxStartTask(taskHandleFRQ));
        DAQmxErrChk (DAQmxStartTask(taskHandle));
    

    I think that the original code was operational. However, given that the data transmission has been set to finished, I had a hard time to visualize the data on my scope. By changing the value of DAQmx_Val_FiniteSamps to DAQmx_Val_ContSamps, I could easily see the data.

    My mistake. I'm still learning here. Thanks for the time.

  • lack of system restore - the animated icon appears to indicate the data collection, but then it stops

    When I try the system restore, I am able to choose a restore date. I then accept the details and press next to accept. The animated icon appears to indicate the data collection, but it then stops. Therefore, the system is not shut down and restart (which I think it is supposed to do). If you try to select another date that is the same thing. any ideas? I think that I was previously exposed to a system whose consequences restore virus had to hide all my files. I'm still not programe files on the start menu.

    Hello

    Method 1: I suggest you to run the Microsoft safety scanner to ensure that the system is free of infection by the virus:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: you can lose data if the parser detects a corrupted data file.

    Method 2: Run the SFC scan and check if system files are intact:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Method 3: You can also try restoring the system to the Windows recovery environment (WinRE):

    What are the system recovery options in Windows Vista?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

  • What ever the data that we are loading in HFM, how to check if the data are correct or not?

    Hello!

    This is SANDEEP, I loaded data using FDM in HFM. How to check if the data is correct or not, what ever the data I was responsible in HFM.

    Please tell me how to recover the data and what format, clearly can you me the data verification process step by step.

    It would be useful for me...

    Thanks in advance...

    Kind regards

    SANDEEP

    Hi Sandeep,

    I think the best way is to extract data from HFM for the same POV that you have loaded FDM and check if it is the same.

    If you then use HFM 11.1.2.x version

    1. login to the application and go to the menu Administration / extract / data.

    2. set the POV that you have loaded the data, then unzip it. You can open the file unzipped in a notebook

    3. you can compare the file with the data file generated by FDMEE under Outbox folder.

    But what would you give all the data corresponding to the POV that you set. So please ensure that you have the correct POV, defined according to the export FDMEE.

    Thank you

    Chandra

  • No need to advise - compare the date in *.sql with sysdate.

    Hi guys,.

    Need some help here.

    Someone has a script that will compare the date specified with the current sysdate. If previously, he will order that SQL * PLUS to leave immediately.
    The audit will be essentially in a script *.Sql. Whenever we run the script, @c:\script.sql, it will be first of all to compare the dates and decide whether to proceed with the rest of the codes (dml) below the date checker in the same script.sql

    Thank you

    I would like to combine the solutions of bencol and alberto:

    whenever sqlerror exit
    
    DECLARE
       v_date   DATE := TO_DATE('', 'YYYYMMDD');
    BEGIN
       IF v_date >= TRUNC(SYSDATE) -- or perhaps:  v_date>= sysdate
       THEN
         null;
       ELSE
         raise_application_error(-20000,'Date is before SYSDATE!');
       END IF;
    END;
    /
    
    whenever sqlerror continue
    
    -- rest of your script
    ...
    

    (not tested)

    Published by: hm on 08.05.2012 02:51

  • How can I publish the data to the hash table using regulator netui?

    Could someone help me on how to display the data of the hash to netui in the controller.

    There are altogether 18 survey questions (each question will have a list of surveyquestionanwer)
    but I see only 14 issues of the investigation during the validation in the controller and also I see all the answers of the survey instead of the one that is selected on the jsp.

    Here is my sample code.
    setQuestionSurveyAnswers(Set<Entry<String, Collection<SurveyQuestionAnswer>>> surveyAnswers)
    
    Map<String, Collection<SurveyAnswer>> surveyQuestionAnswerList = new HashMap<String, Collection<SurveyAnswer>>();
    
    surveyQuestionAnswerList contains <questionId, List<SurveyQuestionAnswer>>
    
    ---------------------------------------------------------------------------------------------------------------
    <netui-data:repeater dataSource="pageFlow.surveyForm.surveyAnswers">
    <netui-data:repeaterItem>
       <netui:span value="${container.item.key}" />
         <netui:radioButtonGroup dataSource="container.item.key" orientation="horizontal"> // is anything wrong here?
              <netui-data:repeater dataSource="container.item.value">
                   <netui-data:repeaterItem>
                        <netui:radioButtonOption value="${container.item.answerText}">
                             <netui:label value="${container.item.answerText}" />
                        </netui:radioButtonOption>
                   </netui-data:repeaterItem>
              </netui-data:repeater>
         </netui:radioButtonGroup>
    </netui-data:repeaterItem>
    </netui-data:repeater>
    ---------------------------------------------------------------------------------------------------------------
    data structure:
    ---------------------------------------------------------------------------------------------------------------
    questionId  answerId    answerText      surveyQuestionLabel
    ---------------------------------------------------------------------------------------------------------------
    1              1           Yes          Do you want to take the survey?  <SurveyQuestionAnswer>
    1              2           No           Do you want to take the survey?     <SurveyQuestionAnswer>
    2              1           Beginner     Your expertese Level?    <SurveyQuestionAnswer>
    2              2           Expert       Your expertese Level?    <SurveyQuestionAnswer>
    Appreciate your help.
    Thank you

    Hello
    It won't work, you bind the data of the hashmaps key, which does not work (you have a vo as the key)
    I believe that your structure should be something like

    [QuestionAnswer] where QuestionAnswer has the label of the Question as well as a map of string, the string (AnswerId v/s AnswerText) (this may be an implicit method that traverses all objects and creates a map of AnswerId, AnswerText) and a single field of selectedAnswer.

    Your outer loop will make a loop on QuestionAnswer and print the label of the Question and the inner loop will be the RadioButtonGroup, the data source must be the field of selectedAnswer (because you want to fill only) and the optionsDataSource is the AnswerId card, AnswerText

    concerning
    Deepak

Maybe you are looking for

  • smoothing by pieces

    Hi, I need to smooth out a curve, but the problem is, there are peaks which must not be smoothed. Currently, I select the area that needs to be smoothed and then I remove the data points and interpolate the values. the problem here is that is not spe

  • Ive been banned from a website, but did not break their tos. I need a new Ip address

    On glp.com, I used to be able to surf and read all the articles. Had not yet signed up for the site. But the other day, I received a message on p2p traffic on my server (I've used in the past, of course, but never with malice or for purposes of repro

  • 0x800CCC92 with the account of the Charter

    Getting a message saying account: "pop.charter.net', server: mail.charter.net ', Protocol: pop3, server response '-ERR [MARKET] account is locked by another session for maintainince, try again," Port 110, secure (SSL): no server error: 0x800CCC90, er

  • Error scanner security 0x0C600C03

    How can you get rid of this error each time the installation scanner Vista security

  • Irregular cursor jumping problem

    My cursor jumps while I type. The problem is very irregular.  There will be approximately 5 - 10 times a minute when I'm on Word or writing emails.  This can last for a week, and then the problem will completely disappear for a week or even a month.