Display returns latest data value rather than maximum data value.

I have requested the Maximum value using the Statistics VI.  The display returns the latest value rather than the maximum.  I think it may have to do with specifying the sample size or data packet size but I don't know how to do that.

You probably are only taking a single reading with the DAQ Assistant and the Statistics function expects an array to determine the max value in that array. There are a couple ways to do what you want. One way is to use the Array Min & Max Single Point function (Signal Processing>Point by Point>Other Functions). This has a sample length input and a reset input. Another way is to create an array with a shift register and use the Statistics function or just the Array Min & Max function. You could limit the size of the array with Array Subset for example.
To attach a file to your post, look below the message body. There is a Attachment field with a browse button.
Message Edited by Dennis Knutson on 06-29-2007 09:41 AM
Attachments:
Max value.PNG ‏7 KB

Similar Messages

  • BC4J - ViewObject not returning latest data

    BC4J - ViewObject not returning latest data. Some kind of EO/VO Cache Latency Issue.
    I have an edit page that presents a drop-down list which is suppose to display * un-assigned * messages, but does not. The drop-down list is using an <jbo:InputSelect> tag that gets values from a ViewObject (UnAssignedMessageView ) which issues the query listed below. Note, the ViewObject is not based on an Entity Object.
    (Query in UnAssignedMessageView)
    select      message.message_desc_short, message.message_id
    from     fmm.message
    where      message.message_id not in (select cardmessage.message_id from fmm.card_message)
    and message.message_id != 0     
    (from the edit.jsp)
    <jbo:ApplicationModule id="am" configname="com.maxmcbyte.fmm.model.ModelModule.ModelModuleLocal" releasemode="Reserved" />
    <jbo:DataSource id="ds" appid="am" viewobject="CardMessageView1" />           <<****** The VO where the inserts/updates are recorded.
    <jbo:DataSource id="ds2" appid="am" viewobject="MessageUnAssignedView" />     <<****** The VO for the unassigned message drop-down-list.
    The problem is at step 3.
    Starting with 3 Unassigned Messages.
    Step 1: enter new record AND select a MESSAGE_ID from the drop-down list.
    Step 2: commit the transaction.
    Step 3: enter another record AND select a MESSAGE_ID from the drop-down list.     <<****** the list should now be displaying 2 unassigned messages but is displaying 3.
    Note, if I check the database after step 3 using the same query as in the UnAssignedMessageView I get the correct result. I guess I'm not understanding how BC4J ViewObject Caching is working. It is strange that even after I commit the record that the cache is not updated.
    I have read the docs and will have to re-read them again * but * it would be REAL NICE to see an illustration of "A DAY IN THE LIFETIME OF DATA IN BC4J" for dummies like me.
    Can anyone tell me what I'm missing here AND what specifically needs to be done?
    Thanks All,
    Bill G...

    Well, I figured it out * BUT * this is the sort of thing that I'll bet stumps a lot of new users * AND * should be posted to a "Gotch-Ya" list.
    I'd still like to see an illustration of "A DAY IN THE LIFE OF DATA IN BC4J"
    Bill G...
    <jbo:ApplicationModule id="am" configname="com.maxmcbyte.fmm.model.ModelModule.ModelModuleLocal" releasemode="Reserved" />
    <jbo:DataSource id="ds1" appid="am" viewobject="CardMessageView1" />
    <jbo:DataSource id="ds2" appid="am" viewobject="MessageUnAssignedView" />
    <%-- adding this did the trick --%>
    <%
    ViewObject view2 = ds2.getRowSet().getViewObject();
    view2.executeQuery();
    view2.first();
    %>

  • Safari on my iPad 4 opens the latest page used rather than my home page. This is new ,after I updated to IOS 8.3.How do I get it back to what it was?

    Safari on my iPad 4 opens the latest page used rather than to my home page.
    This is new ,after I updated to IOS 8.3.How do I get it back to what it was?

    You're welcome. You're not alone. The change has left alot of people scratchiing their heads wondering why. Maybe if enough people leave feedback at the link below it will be changed.
    http://www.apple.com/feedback/

  • HT1657 Can I watch my rented movie for just 24 hours? What about the 30 days? The countdown on my library returned in days countdown rather than hours. Can anyone clarify me about this?

    Can I watch my rented movie for just 24 hours? What about the 30 days? The countdown on my library returned in days countdown rather than hours. Can anyone clarify me about this?

    Read the article you linked
    iTunes Store: Movie rental frequently asked questions (FAQ)
    How long do I have to watch a rented movie?
    You have 30 days from the time of rental to watch your movie, and 24 hours (in the US) or 48 hours (elsewhere) after you've started viewing to finish it. Once the rental period expires, the movie will disappear from your iTunes library."

  • How To Display Image Dimension in Pixels Rather Than Inches

    I am using Photoshop CS3, which I'm still learning to use.  I want to see an open image's dimension (W X H) in pixels in the image's window/workspace.
    Right now, when I open a file it displays the file's Document Sizes in the lower part of the workspace (sorry, don't know the proper terminology).  Selecting the arrow next to this currently displayed information, I can then select Show>Document Dimensions.  However, it always gives the image's width and height dimensions in inches.  But, I want is to see these dimensions in pixels.
    How do I get the document's dimensions to be displayed in pixels rather than inches?  Thanks in advance.

    Oops!  Sorry about putting this in the wrong forum.  I'm using PS to edit images that I'm using within DW.  Hence, my (temporary) confusion.
    Anyway, yes, that solved my problem.  I appreciate the quick response.  Thanks!

  • Text box - I hit return and it exits rather than starts a new line or point

    Ok so I'm a very basic user of indesign, and we are still on CS2, but can someone please help with this.   I start a new text box, and type - the wrapping works, but if I want to start a new line or do a bullet list , hitting the return key exits the text box, rather than starting a new line.  I cant find anywhere to alter the formatting.  Have tried resetting to basic paragraph format.

    This is more common on laptops than I would have imagined. If you like having the numlock on, you'll probably want to remap the numpad enter.
    Turn on numlock, then Edit > Keyboard shortcuts... Set the product areae at the top to Type Menu and scroll down to Insert Break Character: Paragraph return. Click in the new shortcut field and hit the numpad enter key, then change the context field from default to text. You'll have to save this as a new custom set and select it for use. Both enter keys should now work with numlock on or off to insert a paragraph break. You can creat a new shortcut for the column break if you like at the same time.

  • EJB 3.0 - EntityManager.find() not returning latest data from DB

    I have to restart the app server (using 10g embedded server) to get an EntityManager find to work propoerly. Basically if I update the DB directly (using dbvisualiser) and do a find using an entiy bean in JDev with embedded container the find return old data.
    Very new to this.
    any ideas ?

    The persistence provider for our EJB 3.0 implementation is TopLink and uses TopLink's object cache for the retrieved entities. By default it is configured to aggresively cache. You can customize the caching by using TopLink configuration files. I briefly described the process in this EJB3: Mapping a Boolean.
    I would recommend using entityManager.refresh(entity) or use the vendor hint on the query:
    Customer customer = (Customer)entityMgr.
                                        createNamedQuery("findCustomerBySSN").
                                        setParameter("SSN", "123-12-1234").
                                        setHint("refresh", Booelan.TRUE).
                                        getSingleResult();Doug

  • In messages, does the return key always 'send' rather than shift to next line/paragraph?

    How may I configure my keyboard or its function so that in 'Messages" pressing the "return" key does not send the message , but moves to the next line.?
    I've looked at preferences etc. but cant seeem to locate an option for the "return" key

        for the       Points.
    8:44 pm      Tuesday; February 25, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Yahoo finance displays futures prices all day, rather than real mrkt prices

    Yahoo finance Dow, S&P, Nasdaq do not show accurate prices on their indeces. This has always been correct for the last 15 yrs

    It seems to be accurate for me, maybe try the following: [[Websites look wrong or appear differently than they should]]

  • Displaying workitem/task execution online rather than in SAP inbox

    Hi All,
    I am using the workflow WS01000045 when implementing the ESS scenario - Employment and Salary Verification.
    The user has the option of printing or faxing these details.
    When the user clicks PRINT the step 81(Print Employment and Salary Verification,Task TS01000076) creates a workitem in the user's SAP inbox.The user can print the details by executing the workitem from the SAP inbox.My requirement is to actually execute the workitem online and show the print preview screen to the user instead of going to SAPinbox(logical because all the employees in a company can't have dialog access to SAP system).
    We are on SAP 4.7(WAS 620) : SAP_BASIS SAPKB62059
                        SAP_HR    SAPKE47055
                        EA-HR     SAPKGPHA55
    ESS is implemented on EP6.0
    Pls advice how to avoid the SAP inbox.
    Regards,
    Kiran.

    Hi Kiran,
    We have a similar requirement. Have you found a solution to your problem?
    Thanks
    Renaud

  • How do i set pictures to display at fullsize by default, rather than having to zoom in

    Whenever i browse pictures on firefox it always shows the picture zoomed in by default. I want to set it to always be zoomed out by default

    You can set the pref <b>browser.enable_automatic_image_resizing</b> to <i>false</i> on the <b>about:config</b> page.

  • How to display name in the posting rather than number

    Hello All,
    I want my name to be dispayed instead of 403868, what should I do?
    Regards

    on the upper right hand corner, you will see "Forum Settings", click that lin and it will give you the option to show your name instead of that number.

  • How to display my music in lists rather than icons

    Since Itunes updated, my music library is shown in icons.  I prefer to have lists.  How can I change it?

    Oops!  Sorry about putting this in the wrong forum.  I'm using PS to edit images that I'm using within DW.  Hence, my (temporary) confusion.
    Anyway, yes, that solved my problem.  I appreciate the quick response.  Thanks!

  • Returning latest records based on specific conditions

    Hi Everyone, Thanks for everyone response for my queries. All responses are highly appreciated. I need one help in developing Sql query. I am
    using Oracle 11.2.
    I have table Test as below having columns as, ID;Name;Position;Level;Date_Added;Flag_Name;
    Suppose I have below data in table:
    ID       Name      Position      Level              Date_Added                Flag_Name
    1       Jack       Manager        10         10/29/2013 11:00:00 PM          Match
    2       Tom        Supervisor     20            10/31/2013 9:00:00 AM       NoMatch
    1       Jack       Manager        15          11/1/2013  10:00:00 AM          Error
    1       Jack       Manager        20         10/1/2013  9:00:00 AM           NoMatch
    3       John       Salesman      5           10/4/2013  2:00:00 PM           Error
    1       Jack       Manager        17         9/28/2013  2:00:00 AM           NoMatch
    2       Tom        Supervisor     12         11/2/2013  10:00:00 AM          NoMatch
    4       Remy       Accountant     12        11/4/2013  1:00:00 PM           Error
    4       Remy       Accountant     19         11/3/2013  2:00:00 AM           Error
    2       Tom        Supervisor     10            10/29/2013 7:00:00 PM           Error
    I need to return latest data in query based on combination of (ID;Name;Position) and date range with below conditions:
    1) Need to return latest records for Flag_Name other than Match.
    2) If latest record for combination of (ID;Name;Position) will come with Flag_Name as Error in that specified date range, then we need to look for this combination has Flag_Name as NoMatch anywhere before in table.
    3) If Flag_Name as NoMatch is found for this, then we need to return it. In this case also, if we found multiple records with Flag_Name as NoMatch for combination of (ID;Name;Position), then we need to return latest one.
    4) Else we find no record for combination of (ID;Name;Position) with Flag_Name as NoMatch in table, then we can return the latest record with Flag_Name as Error.
    While select ID;Name;Position should be unique combination, as we always return latest data for it.
    As per above table, if I need to return data for date range between 29-Oct-2013 and 5-Nov-2013, expected result will be like below:
    ID       Name      Position      Level         Date_Added                      Flag_Name    
    1       Jack       Manager        20              10/1/2013  9:00:00 AM           NoMatch
    2       Tom        Supervisor     12             11/2/2013  10:00:00 AM          NoMatch
    3       John       Salesman        5              10/4/2013  2:00:00 PM           Error
    4       Remy       Accountant     12           11/4/2013  1:00:00 PM           Error
    Please let me know if anyone has any doubt about the logic. Is it possible if we can do it in select statement rather than pl/sql code?
    All comments/suggestions will be highly appreciated.
    Thanks in advance.
    Regards
    Dev    

    First i didn't read topic exactly )))
    here is second way. I get with stmt from Karthick (thanks)
    with t
        as
        select 1 id, 'Jack' name, 'Manager'    position, 10 lvl, to_date('10/29/2013 11:00:00 PM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'Match'   flag_name
          from dual union all
        select 2 id, 'Tom'  name, 'Supervisor' position, 20 lvl, to_date('10/31/2013 09:00:00 AM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'NoMatch' flag_name
          from dual union all
        select 1 id, 'Jack' name, 'Manager'    position, 15 lvl, to_date('11/1/2013  10:00:00 AM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'Error'   flag_name
          from dual union all
      select 1 id, 'Jack' name, 'Manager'    position, 20 lvl, to_date('10/1/2013  09:00:00 AM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'NoMatch' flag_name
        from dual union all
      select 3 id, 'John' name, 'Salesman'   position,  5 lvl, to_date('10/4/2013  02:00:00 PM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'Error'   flag_name
        from dual union all
      select 1 id, 'Jack' name, 'Manager'    position, 17 lvl, to_date('9/28/2013  02:00:00 AM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'NoMatch' flag_name
        from dual union all
      select 2 id, 'Tom'  name, 'Supervisor' position, 12 lvl, to_date('11/2/2013  10:00:00 AM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'NoMatch' flag_name
        from dual union all
      select 4 id, 'Remy' name, 'Accountant' position, 12 lvl, to_date('11/4/2013  01:00:00 PM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'Error'   flag_name
        from dual union all
      select 4 id, 'Remy' name, 'Accountant' position, 19 lvl, to_date('11/3/2013  02:00:00 AM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'Error'   flag_name
        from dual union all
      select 2 id, 'Tom'  name, 'Supervisor' position, 10 lvl, to_date('10/29/2013 07:00:00 PM', 'mm/dd/yyyy hh:mi:ss am') date_added, 'Error'   flag_name
        from dual
    select ID,
           Name,
           Position,
           max(lvl) keep (dense_rank first order by с desc, Date_Added desc) lvl,
           max(Date_Added) keep (dense_rank first order by с desc, Date_Added desc) Date_Added,
           min(Flag_Name) keep (dense_rank first order by с desc, Date_Added desc) Flag_Name
    from(
    select  ID,
                Name,
                Position,
                lvl,
                Date_Added,
                Flag_Name,           
                decode(flag_name, 'Error', -1, 1) с
    from T
    where flag_name != 'Match'
    group by ID,Name,Position
    ID
    NAME
    POSITION
    LVL
    DATE_ADDED
    FLAG_NAME
    1
    Jack
    Manager
    20
    01.10.2013 09:00:00
    NoMatch
    2
    Tom
    Supervisor
    12
    02.11.2013 10:00:00
    NoMatch
    3
    John
    Salesman
    5
    04.10.2013 14:00:00
    Error
    4
    Remy
    Accountant
    12
    04.11.2013 13:00:00
    Error
    Ramin Hashimzade
    Message was edited by: RaminHashimzadeh

  • Adobe Captivate 4 - How do I include the playbar in the movie, rather than below it?

    Hi,
    As the title says, how can I have the playbar displayed inside the movie window rather than as a seperate entity below it?
    We used Captivate 1 up until recently to make our training videos. We would use the playbar "PresenterSilver" and then insert text boxes into the slides as a sort of guide as to what section the user was currently viewing. We would also use this to show the author and the date. A static image was used as a background also (this was created in Fireworks to look the same as the PresenterSilver background).
    This setup worked fine for all our movies. However when we upgraded to Captivate 4 the PresenterSilver skin is no longer there. The playbar is also no longer part of the movie but is below the window.
    I was wondering if it possible to include the playbar the way it used to be. If not, then can someone suggest a work-around? I was looking at it earlier and I see that you can use image files as backgrounds around the player. This is not ideal as I think that the images remain static for the entire movie. And we could not have a set image (e.g. Part 1 for slides 1-3, Part 2 for 4-6 etc.) for different slides, it would have to be the same the entire way through. If I am mistaken please let me know.
    Thanks for your help,
    Eoin.

    Hi there
    Unfortunately Adobe changed the playing field with version 4. You are no longer able to have the playbar occupy part of the main movie.
    Please report this as a bug to the development team. The link is in my sig.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for