How much time do I need to process the data

Re. my previous question.
I will be scanning 26 analogue channels at 7 khz into the PCI 6024E using a SCXI 1000 with an 1100 temperature module and the voltage signals going into the 1180 direct feedthrough.
I would like to acquire up to 3 seconds of data at 7 khz on all 26 channels. I then would 'decimate' the 20 thermocouple channels down to a sample rate of about 700 hz from 7 khz and then display the temperature profiles on a chart and then write the data to disk for all 20 channels writing only the reduced number of samples for each channel.
Two of the 7 khz inputs I would do an RMS calculation on and then display the results and also write the results of the RMS to a different file.
The program then needs to
be ready to sample new data again for three seconds.
The computer is a P3 500 MHz with 327 MB ram.
Another part of the question would be suggestions about how to write the program so that we could be sampling new data while the program is processing the old data and writing to disk.

Hello mhtl,
If your question is how long will it take to process the tasks you mentioned, there's really no way to tell. This not only depends on the machine, but how you implement it. Certainly, tasks such as this are possible. In fact, we have a good example program that shows you a good structure using threads and queues.
Running Multiple Tasks in LabVIEW
(Make sure you select the "advanced" VI inside the llb file.) This example puts the three tasks, acquire, analyze, and present into three separate threads so that they are all acting simultaneously. (Which I believe was your question.) In your "analyze" V
I, you could be processing your data while the "show data" VI is simultaneously writing previous data to file. There is a good tutorial linked to the page I mentioned above as well. This topic is also covered in our LabVIEW Advanced training course if you're interested.
I hope this helps!
Russell
Applications Engineer
National Instruments
http://www.ni.com/support

Similar Messages

  • My Epson Stylus Office TX525FW scanner does not works, does any one have information about how much time may pass before Epson provides the upgrade drivers for it?

    A couple of days ago, I updated my MacBook Pro to OS X Mavericks and unfortunately my epson mutifunctional in the scanner part does not function any more
    I have visited several times a day the support page for Maveriks inside Epson site and there is not such a driver to solve this problem
    As some members says, I got out Windows machines precisely for things like that and OHH this OS has the same problems

    This isn't Apple's fault. Epson makes the driver. It's not like Mavericks hasn't been out in beta for months. They had plenty of time to do it, but they didn't. Shows you how much contempt Epson has for their customers.
    You might have some success deleting whatever Epson scanner driver and scanning apps you have, and then try Image Capture (it's in Applications), and seeing if it will download a driver for your scanner.

  • How can I use Hash Table when processing the data from cdpos and cdhdr

    Hello Guru,
    I've a question,
    I need to reduce the access time to both cdhdr and cdpos.
    Because may be I'll get a huge number of entries.
    It looks like that by processing cdhdr and cdpos data will take many secondes,
    it depends on how many data you need to find.
    Hints : Putting instructions inside a form will slow down the program?
    Also, I just want use Hash table and I need to put a loop-instruction going on the hash-table in form.
    I know that it's no possible but I can declare an index inside my customized hash table.
    For example :
    DO
    READ TABLE FOR specific_hash_table WITH KEY TABLE oindex = d_oindex.
    Process data
    d_oindex += 1.
    UNTIL d_oindex = c_max_lines + 1.
    Doing this would actually not necessary improve the performance.
    Because It looks like I'm having a standard table, may be there's a hash function, but it could be a bad function.
    Also I need to use for example COUNT (*) to know how many lines I get with the select.
    FORM find_cdpos_data_with_loop
      TABLES
        i_otf_objcs TYPE STANDARD TABLE
      USING
        i_cdhdr_data TYPE HASHED TABLE
        i_objcl TYPE j_objnr
    *    i_obj_lst TYPE any
        i_option TYPE c
      CHANGING
        i_global TYPE STANDARD TABLE.
      " Hint: cdpos is a cluster-table
      CONSTANTS : objectid TYPE string VALUE 'objectid = i_obj_lst-objectid',
                  changenr TYPE string VALUE 'changenr = i_obj_lst-changenr',
                  tabname TYPE string VALUE 'tabname = i_otf_objcs-tablename',
                  tabnameo1 TYPE string VALUE 'tabname NE ''''',
                  tabnameo2 TYPE string VALUE 'tabname NE ''DRAD''',
                  fname TYPE string VALUE 'fname = i_otf_objcs-fieldname'.
      DATA : BEGIN OF i_object_list OCCURS 0,
                objectclas LIKE cdpos-objectclas,
                objectid LIKE cdpos-objectid,
                changenr LIKE cdpos-changenr,
             END OF i_object_list.
      DATA : i_cdpos LIKE TABLE OF i_object_list WITH HEADER LINE,
             i_obj_lst LIKE LINE OF i_cdpos.
      DATA : tabnamev2 TYPE string.
      IF i_option EQ 'X'.
        MOVE tabnameo2 TO tabnamev2.
      ELSE.
        MOVE tabnameo1 TO tabnamev2.
      ENDIF.
    *LOOP AT i_cdhdr_data TO i_obj_lst.
      SELECT objectclas objectid changenr
        INTO TABLE i_cdpos
        FROM cdpos
        FOR ALL ENTRIES IN i_otf_objcs
        WHERE objectclas = i_objcl AND
              (objectid) AND
              (changenr) AND
              (tabname) AND
              (tabnamev2) AND
              (fname).
      LOOP AT i_cdpos.
        APPEND i_cdpos-objectid TO i_global.
      ENDLOOP.
    *ENDLOOP.
    ENDFORM.                    "find_cdpos_data

    Hey Mart,
    This is what I met, unfortunately I get the same performance with for all entries.
    But with a lot of more code.
    FORM find_cdpos_data
      TABLES
        i_otf_objcs TYPE STANDARD TABLE
      USING
        i_objcl TYPE j_objnr
        i_obj_lst TYPE any
        i_option TYPE c
      CHANGING
        i_global TYPE STANDARD TABLE.
      " Hint: cdpos is a cluster-table
      CONSTANTS : objectid TYPE string VALUE 'objectid = i_obj_lst-objectid',
                  changenr TYPE string VALUE 'changenr = i_obj_lst-changenr',
                  tabname TYPE string VALUE 'tabname = i_otf_objcs-tablename',
                  tabnameo1 TYPE string VALUE 'tabname NE ''''',
                  tabnameo2 TYPE string VALUE 'tabname NE ''DRAD''',
                  fname TYPE string VALUE 'fname = i_otf_objcs-fieldname'.
    *  DATA : BEGIN OF i_object_list OCCURS 0,
    *            objectclas LIKE cdpos-objectclas,
    *            objectid LIKE cdpos-objectid,
    *            changenr LIKE cdpos-changenr,
    *         END OF i_object_list.
    ** complete modified code [begin]
      DATA : BEGIN OF i_object_list OCCURS 0,
                objectclas LIKE cdpos-objectclas,
                objectid LIKE cdpos-objectid,
                changenr LIKE cdpos-changenr,
                tabname LIKE cdpos-tabname,
                fname LIKE cdpos-fname,
             END OF i_object_list.
    ** complete modified code [end]
      DATA : i_cdpos LIKE TABLE OF i_object_list WITH HEADER LINE.
      DATA : tabnamev2 TYPE string.
    ** complete modified code [begin]
    FIELD-SYMBOLS : <otf> TYPE ANY,
                    <otf_field_tabname>,
                    <otf_field_fname>.
    ** complete modified code [end]
      IF i_option EQ 'X'.
        MOVE tabnameo2 TO tabnamev2.
      ELSE.
        MOVE tabnameo1 TO tabnamev2.
      ENDIF.
    **  SELECT objectclas objectid changenr
    **    INTO TABLE i_cdpos
    *  SELECT objectid
    *      APPENDING CORRESPONDING FIELDS OF TABLE i_global
    *      FROM cdpos
    *      FOR ALL ENTRIES IN i_otf_objcs
    *      WHERE objectclas = i_objcl AND
    *            (objectid) AND
    *            (changenr) AND
    *            (tabname) AND
    *            (tabnamev2) AND
    *            (fname).
    ** complete modified code [begin]
      SELECT objectid tabname fname
          INTO CORRESPONDING FIELDS OF TABLE i_cdpos
          FROM cdpos
          WHERE objectclas = i_objcl AND
                (objectid) AND
                (changenr) AND
                (tabnamev2).
    ASSIGN LOCAL COPY OF i_otf_objcs TO <otf>.
      LOOP AT i_cdpos.
      LOOP AT i_otf_objcs INTO <otf>.
       ASSIGN COMPONENT 'TABLENAME' OF STRUCTURE <otf> TO <otf_field_tabname>.
       ASSIGN COMPONENT 'FIELDNAME' OF STRUCTURE <otf> TO <otf_field_fname>.
        IF ( <otf_field_tabname>  EQ i_cdpos-tabname ) AND ( <otf_field_fname> EQ i_cdpos-fname ).
          APPEND i_cdpos-objectid TO i_global.
          RETURN.
        ENDIF.
      ENDLOOP.
      ENDLOOP.
    ** complete modified code [end]
    **  LOOP AT i_cdpos.
    **    APPEND i_cdpos-objectid TO i_global.
    **  ENDLOOP.
    ENDFORM.                    "find_cdpos_data

  • HT2736 how much time does it need to arrive to the email?

    i sent my brother an album as a gift on iTunes.
    is it possible to make it arrive now? i put today's date as the arrival date.
    so, is there a certain hour that the gift arrives to the email?
    thanks,
    Tom

    Hello,
    Any sales-person (or any person for that matter) that provided metrics of such things should not be trusted.
    You can not take something and apply a static/fixed measurement to something that has varying values.
    Maybe the Network is Slow and running at 128kbs versus 1GB .... How are we to know how fast your network is?
    Maybe the database has 10 instances running on it at 95% utilization .... How are we to know that?
    Maybe you have a 10k SCSI drive, versus a 15k SCSI drive for data .... How are we to know that?
    Too many variables that can function at different speeds to respond.
    Thank you,

  • Imaq 3.0 Driver, How much memory do I need to run Snap.vi?

    (1) When I am using ROI in the Snap.vi, the array should be in order of Left, Bottom, Right and Top to work it right, which is different from what Help says, that is, Left, Top, Right and Bottom. Which one is right?
    (2) How much memory do I need to run the Snap.vi? 3.0 Driver seems to need more memory than 2.5.1 Driver did. I have 255 MB RAM on my computer, but in reality, the memory usage is used over 255 MB to capture 640*480 picture.
    Could you give me a comment about this memory issue?

    Hello GraceSun.
    (1). The help menu is correct, the array should be Left, Top, Right, and Bottom for the ROI input.
    (2). I am not sure exactly what behavior you are seeing with the memory problems in 3.0. You should be able to run an image snap no problem, the memory useage will vary, but will be much less than the RAM on your computer. Be sure that you are not running an IMAQ Create.vi inside of a loop.
    Try running the example VI called HL Snap.vi, which can be found by going to Help&#187Find Examples. . . and browsing by directory structure. This VI should not be taking up too much RAM on your computer.
    Hope this helps!
    Regards,
    Colin C.
    Applications Engineering
    Colin Christofferson
    Community Web Marketing
    Blog

  • HT1569 how much time i need to update the iOS 7.0.6

    how much time i need to update software iOS 7.0.6

    Depends on your connection. Mine took very little time at all.

  • How much time is needed to receive a gift

    I've sent a gift to a friend, one our ago. He did not get it yet. How much time is needed?

    Perhaps he should look in any spam/junk filters that may be filtering his account. Check for filtering by his email service, his ISP and his client app itself.

  • How much time ipod needs to restore after plugging with external power?

    how much time ipod needs to restore after plugging with external power?

    Restore? Do you mean power on after it's been drained for awhile? It depends how long it's been dead. Sometimes it can take awhile (10-20 minutes maybe more) in some cases.

  • I need help getting my ipod to show me how much time left on a song !

           How can i get my ipod to show me how much time left on a song @ the top under the song that's playing it went away and i dnt know how to put it bck please help me out  . . .

    No, tap the screen briefly. If you hold your finger on the Now Playing screen - even for one second - the scrubber bar (with the time on it) will not appear.
    Tap - the quickest touch you can do.

  • How much RAM will I need?

    Considering buying a Macbook Pro, but I wanted to ask around and find out approximatly how much RAM I would need so that I dont get a model thats too powerful or too weak for my usage. I was considering 4 Gbs but im not sure if thats enough.
    What im mainly planning to do on the Macbook is:
    internet browsing (chrome, safari etc)
    Mail app
    Word processing software like Microsoft word
    Eclipse (java programming)
    skype
    utorrent
    Say I have all these programs running at the same time, how much RAM will I need to have?

    Oh also, I just remembered wanting to ask this, have you ever tried downloading an OS update for a macbook and apple wont let you because you have outdated technology? Like trying to download ios 7 on an iphone 3G for example.
    I've had that exact problem - someone gave me what was, supposedly, an iPhone 4s but turned out to be a 3Gs. Couldn't update to iOS 7.x so it just sits on my desk right now.
    And when I had my MacBook Pro (1,1 2006 model) I couldn't upgrade to Lion - was 'stuck with' Snow Leopard.
    O'd technology that no longer plays nice with new OS's? Time to get a new machine.
    Clinton
    Message was edited by: clintonfrombirmingham

  • While running the query how much time it will taken, I want to see the time

    Hi Folks
    I would like to know ... While running the query how much time it will be taken, I want to see the time? in WEBI XI R2.....
    Plz let me know  the answer.......

    Hi Ravi,
    The time a report runs is estimated based on the last time it was run. So you need to run the report once before you can see how long it will take. Also it depends on several factors... the database server could cache some queries so running it a second time immediately after the first time could be quicker. And there is the chance of changing filters to bring back different sets of data.
    You could also schedule a report and then check the scheduled instance's status properties and view how long a report actually ran.
    Good luck

  • Is there a plug-in that tracks how much time you've spent in specific files?

    I want an easy way to track how much time I've spent on certain projects. I really just need a plug-in that tracks how long files have been open. I'm having trouble searching for one like that; does anyone know if this exists as a plug-in or even as a function of Photoshop (or Illustrator)? This would be very helpful for freelancers. Thanks.

    Found this link via Google. I have CS6 and it looks like this, don't know about CC.
    How to Keep a Log of Your Work in Photoshop - Digital Photography School

  • Is there a way to see how much time's left to render?

    I was wonder if Final cut pro x have the ability to show how much time is remaining in the rendering process...like premiere or final cut 7 use to, if I remember correctly...Same thing with Compressor 4.1.3

    The big problem with estimating time remaining is the app cannot see into the future on the timeline. there might be a very complicated section coming up that requires rendering effects, graphics, or complicated Motion files but only after lots of heavy duty decompression or transcoding.
    After using FCP for many years we sort of got a feeling for how much horsepower and time were going to sucked up with any given project or settings but today's monster CPUs and graphics cards have required me to rethink all of that previous experience.

  • Possible to check how much time an update statement on a table would take ?

    Hello @all
    I have a table with a fragmented Index, the table has an actula "user_updates" from 226'699.
    How can i find out how much time an update on this table takes ?
    i would like to check if there is any performance increase when i regroup the index (rebuild), cause the index has a fragementation of 85% now... (or should i delete the index completely) cause there are no user_seeks... only user_updates on the table...
    and i thought that indexes only makes sense if users are reading from the table... am i wrong ? (cause on every update from the table, the index (indexes) have to be updated too...
    Thanks and Regards
    Dominic

    Rebuilding the index will not likely result in a modification be quicker. At least not more than marginal. In fact, it might wven be slower, since if you currently have space on the index page for the new row and then rebuild so you *don't* have space then
    the index rebuild will make that update be slower (at least for the cases where you get page splits). 
    However if the index isn't used to find rows (any of the other three columns), then you have an index which only cost you and doesn't help you!
    Tibor Karaszi, SQL Server MVP |
    web | blog
    Tibor, check out this forum thread:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/64ad4f52-2fd8-4266-b4a4-5657c8870246/needed-more-answerers?forum=sqlgetstarted
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How much time I had to charge my new I phone 5s for first time?

    How much time I had to charge my new I phone 5s for the first time?

    I would say that is a matter of judgement
    If we are being pedantic it may noteven  need a charge initially in that case ,it may have sufficient power ,
    assume we are ok with the green battery being full green for 100% charge

Maybe you are looking for

  • Can one pc have multiple ipods

    I have a problem when trying to download/purchase new music, I receive three security questions to set for security purposes. After listing the questions and answers I click the continue or enter and I receive an error message that my answers could n

  • How to set up an HP6122 on home network with Win 7 laptop?

    HP6122 works when plugged into laptop USB port.  Can't get it to work when it's plugged into an XP computer on the same network.

  • RFC Adapter not Call

    Hello Friends, I am working on XI 2.0 My Scenario is IDOC --> XI --> RFC Adapter --> R/3 System I am configuring the RFC adapter for the SAP system. But when I am able to try to call using the Integration Engine it’s not call the RFC adapter. I defin

  • Hp prime Copy and pasting problems

    Does any one know why the HP prime copy and paste function does not work properly. For example when I copy and past form the spreadsheet to the statistics 1 var app nothing happens. Perhaps there is a work around that will allow me to avoid this prob

  • Object use count is negative when two users access ViewObject at same time

    I need help! In my application, if two users execute the same view object at the same time, the users will see a combination of the two record sets: One user will receive their requested result set plus part of the other user's set and the other will