How do I move data from a DAQ into and out of loops and structures?

I have a set of RTD probes set up to read data into LabView through a DAQ. This block of code is in a while loop
that executes alongside of several other loops simultaneously. I need to use the data from the RTD probes in other
loops and case structures specifically for logic tests.
The problem is that I can't seem to bring the dynamic data out of the DAQ containing while loop or into the other structures.
Any ideas?
I have had some success with using multiple DAQs and stopping all others while I need the data inside of a case structure.
Is there a way to reference data from a DAQ or to run multiple DAQs that read the same data from the same channels without getting a "Task in use error"?
Thanks,
-David

Search the forums for Prodcuer/consumer architecture.
This uses queues to pass data from the producer loop (such as your data acquisition loop) to other "consumer" loops.  These are the other loops where you want to use the data.
You won't be able to use multiple DAQ Read functions at the same time.  As you've seen you get error -50103 about the resources already being in use.

Similar Messages

  • How do I move data from my iPad to the cloud?

    How do I move data from my iPad to the cloud?

    lrc70 wrote:
    My old PC finally died
    Backup, backup, backup...
    Now I am trying to get all 733 songs into my Itunes library and on my macbook
    which you will promply backup, backup, backup, yes?
    And make and maintain regular backups?
    Time Machine is simply to use. Just plug in an external drive.

  • ABAP Function Module Example to move data from one Cube into Another

    Hi experts,
    Can any please help out in this ..?
    A Simple ABAP Function Module Example to move data from one Cube into Another Cube
    (How do i send the data from one client to another client using Function moduel).
    Thanks
    -Upen.
    Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
    Edited by: Thomas Zloch on Oct 29, 2010 1:19 PM

    This is the start routine to duplicate records in two currencies.
    DATA: datew   TYPE /bi0/oidateto,
          datew2  TYPE rsgeneral-chavl,
          fweek   TYPE rsgeneral-chavl,
          prodhier TYPE /bi0/oiprod_hier,
          market  TYPE /bic/oima_seg,
          segment TYPE /bic/oizsegment.
    DATA: BEGIN OF S_DATA_PACK OCCURS 0.
            INCLUDE STRUCTURE /BIC/CS8ZSDREV.
    DATA: END OF S_DATA_PACK.
    S_DATA_PACK[] = DATA_PACKAGE[].
      REFRESH DATA_PACKAGE.
      LOOP AT S_DATA_PACK.
        move-corresponding s_data_pack to DATA_PACKAGE.
        if DATA_PACKAGE-loc_currcy = 'EUR'.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
          DATA_PACKAGE-CURRENCY = 'EUR'.
          APPEND DATA_PACKAGE.
        else.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
        endif.
      ENDLOOP.
    This is to load Quantity field
    RESULT = COMM_STRUCTURE-BILL_QTY.
    This is to load Value field
    RESULT = COMM_STRUCTURE-NETVAL_INV.
    UNIT = COMM_STRUCTURE-currency.

  • How  to load the data from excel  file  into table in oracle using UTL_FI

    How to load the data from excel file into table in oracle
    and from table to excel file
    using UTL_FILE package
    Please give me some example

    This is something i tried in oracle apex
    http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    Regards,
    CKLP

  • How to I convert data from oracle database into excel sheet

    how to I convert data from oracle database into excel sheet.
    I need to import columns and there datas from oracle database to microsoft excel sheet.
    Please let me know the different ways for doing this.
    Thanks.

    asktom.oracle.com has an excellent article on writing a PL/SQL procedure that dumps data to an Excel spreadsheet-- search for 'Excel' and it'll come up.
    You can also use your favorite connection protocol (ODBC, OLE DB, etc) to connect from Excel to Oracle and pull the data out that way.
    Justin

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

  • How do I move data from old hard drive to the time capsule?

    Hi ,
    I got the Time Capsule a couple days ago and have been backing up my Macbook pro's data. I have an old Lacie 160G external hard drive with data I'd like to put into the time capsule. The only way it can do that now seems like I have to transfer the data from the Lacie to my mac ...then backs it up automatically to the Time Capsule.
    However, my 256G of space on my mac is about to be full !
    The time machine automatically puts my Lacie hard drive as excluded from being backed up and the button - (to remove it) doesn't work when an external hard drive is connected to the Macbook. Right now, my trust in the time capsule is not superb. I've tried intentionally to delete a video file on my Macbook and then see if I could retrieve it . I've had one fail/error and one success. Since one failed I have not dared to delete anything.
    So..the plan is to delete files on my Macbook and then import data from my Lacie to my Macbook...and pray the time capsule will save everything?
    Can anyone with experience tell me how to use the time capsule correctly?
    Thanks in advance!
    Kai

    The TM should be able to include the LaCie if it is formatted HFS+. If it isn't then no .. TM cannot backup.
    On Yosemite the simple fact is TM is working poorly.. we are awaiting a patch or 6 to fix some of the issues.. but it is being extra flakey.
    This is just a very personal opinion but I purchased Carbon Copy Cloner a couple of years ago.. very good purchase.. Easy to use.. reliable.. can backup network drives and disks that are not HFS+ formatted.. plus it can make a bootable clone.. It can backup separately your internal drive and your external drive to different sparsebundles on the TC.. I reckon for $40.. it is well worth it.
    Otherwise you are stuck with the Yosemite / TM bugs.. good luck with those..
    And more so the fact that TM is simply limited in its ability.
    At least create a disk image on the TC and copy manually the files from the external drive into it. You do not need to copy the files to the Mac to do this..
    But I think I would be buying another decent sized external drive.. 160GB drives.. sounds ancient..
    How to use data and backups properly on a TC.
    Q3 here. http://pondini.org/TM/Time_Capsule.html

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • How to load the data from excel file into temprory table in Forms 11g?

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Declare
        v_full_filename         varchar2(500);
        v_server_path           varchar2(2000);
        v_separator             VARCHAR2(1);
        v_filename              VARCHAR2(400);
        filename                VARCHAR2 (100);
        v_stop_load             varchar2 (2000);
        v_rec_error_log         varchar2(4000);
        v_error_log             varchar2(4000);
        ctr                     NUMBER (12);
        cols                    NUMBER (2);
        btn                     number;
        RES                     BOOLEAN;   
        application             ole2.obj_type;
        workbooks               ole2.obj_type;
        workbook                ole2.obj_type;
        worksheets              ole2.obj_type;
        worksheet               ole2.obj_type;
        cell                    ole2.obj_type;
        cellType                ole2.OBJ_TYPE;
        args                    ole2.obj_type;
        PROCEDURE olearg
        IS
        args   ole2.obj_type;
        BEGIN
        args := ole2.create_arglist;
        ole2.add_arg (args, ctr);                                
        ole2.add_arg (args, cols);                                   
        cell := ole2.get_obj_property (worksheet, 'Cells', args);
        ole2.destroy_arglist (args);
        END;
    BEGIN
    v_full_filename := client_get_file_name(directory_name => null
                                     ,file_name      => null
                                     ,file_filter    => 'Excel  files (*.xls)|*.xls|'  
                                                                            ||'Excel  files (*.xlsx)|*.xlsx|'                                                                 
                                     ,message        => 'Choose Excel file'
                                     ,dialog_type    => null
                                     ,select_file    => null
    If v_full_filename is not null Then
    v_separator := WEBUTIL_CLIENTINFO.Get_file_Separator ;
    v_filename := v_separator||v_full_filename ;
    :LOAD_FILE_NAME := substr(v_filename,instr(v_filename,v_separator,-1) + 1);                                
    RES := Webutil_File_Transfer.Client_To_AS(v_full_filename,"server_path"||substr(v_filename,instr(v_filename,v_separator,-1) + 1));     
    --Begin load data from EXCEL
    BEGIN
        filename := v_server_path||substr(v_filename,instr(v_filename,v_separator,-1) + 1); -- to pick the file
        application := ole2.create_obj ('Excel.Application');
        ole2.set_property (application, 'Visible', 'false');
        workbooks := ole2.get_obj_property (application, 'Workbooks');
        args := ole2.create_arglist;
        ole2.add_arg (args, filename); -- file path and name
        workbook := ole2.get_obj_property(workbooks,'Open',args);
        ole2.destroy_arglist (args);
        args := ole2.create_arglist;
        ole2.add_arg (args, 'Sheet1');
        worksheet := ole2.get_obj_property (workbook, 'Worksheets', args);
        ole2.destroy_arglist (args);
        ctr := 2;                                                     --row number
        cols := 1;                                                -- column number
        go_block('xxx');
        FIRST_RECORD;  
        LOOP       
                --Column 1 VALUE --------------------------------------------------------------------
            olearg;
            v_stop_load := ole2.get_char_property (cell, 'Text'); --cell value of the argument
            :item1 := v_stop_load;
            cols := cols + 1;                                                      
              --Column 2 VALUE --------------------------------------------------------------------
            olearg;
            :item2 := ole2.get_char_property (cell, 'Text'); --cell value of the argument
            cols := cols + 1;
            --<and so on>
        ole2.invoke (application, 'Quit');
        ole2.RELEASE_OBJ (cell);
        ole2.RELEASE_OBJ (worksheet);
        ole2.RELEASE_OBJ (worksheets);
        ole2.RELEASE_OBJ (workbook);
        ole2.RELEASE_OBJ (workbooks);
        ole2.RELEASE_OBJ (application);
    END;
    --End load data from EXCELPlease mark it as answered if you helped.

  • How do I recover data from a single App using an iTunes backup and put it back on my iPhone?

    An app I use (Text Me 2) automatically cleared conversation history. I have an iTunes back-up of it from last year. I tried searching a ton and found articles, but never found a step-by-step article from start to finish describing how I can get only that app's data back on my iPhone without having to restore the entire thing (otherwise I lose all of my last 6 months of content)? All the articles I read stopped after using the iPhone backup extractor to extract, and didn't tell me how to get that back onto my iPhone. I use iTunes on Mac OS Mavericks also.
    Thanks in advance!

    Then what's with all of the programs these two responses mention and being able to restore a single app data?
    If you know you are going to do this in advance and have a jailbroken phone, use AppBackup which you can get through cydia. Otherwise, if this need arises after having restored already, you can get the data from an iPhone backup using iPhone Backup Extractor and/or a Time Machine backup (you can google to find the location of the backups, but I think it's in Application Support > Mobile Sync > Backups), and then restore the documents/library folders of the application using iExplorer (which is by the same people who made iPhone Explorer but was changed for legal reasons and now is slightly more user friendly and suited for this purpose. I just did this to restore my Angry Birds scores/data among other things.
    and
    I do that with iTools. You can backup each app with its data into an ipa file to the computer, to restore it individually. This allows you to merge apps with its data from different backups.
    ...not to mention I found several answers like this in various forums...

  • HT1473 how do i move songs from an ipod into my itunes library

    My itunes library is missing loads of songs.  How do I move songs from an old ipod into my library, so that I can then move into my new ipod and ipad?

    For iTunes purchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    For non-iTunes music by one of the third-part programs discussed in this previous discussion:
    Best iPod to PC

  • My old comp crashed! How do I move data from my ipod onto the new one?

    I had a dell laptop; it crashed... I have about 2500 songs and videos on my ipod; is there a way for me to move the data from the ipod to itunes in my new computer? Thanks for any help...

    Hi! Welcome to Apple Discussions Forum.
    If you have purchased songs from the iTunes Music Store, then those are pretty easy to transfer to your computer. You'll just need to follow [this instructions|http://docs.info.apple.com/article.html?artnum=305465].
    All your other songs (for example, those ripped from your CD's), you'll need to use any 3rd party program to transfer them to your iTunes library!
    Some can also transfer your playlists, videos, ratings, podcast...
    *To use with iPod Touch/iPhone and other iPods:*
    [iGadget|http://www.ipodsoft.com/site/pmwiki.php?n=igadget.Homepage] (Mac and Windows)
    [iRepo|http://www.purpleghost.com/index.php?q=irepo] (Mac and Windows)
    [iPod Access|http://www.findleydesigns.com/ipodaccess/index.html] (Mac and Windows)
    *To use only with other iPods:*
    [Media Widget|http://www.bootstrapdevelopment.com/showproduct.aspx?t=b#features] (Windows only)
    [iDump|http://www.download.com/iDump/3000-2169_4-10407429.html] (Windows only)
    [Senuti|http://www.fadingred.org/senuti> (Mac Only)
    I would recommend you to keep your media safe, backing up library. Click [here|http://docs.info.apple.com/article.html?artnum=302392] to learn how to do it, using CD's or DVD's.
    Hope this helps! If you still have doubts, please reply.
    Best Regards,
    !http://signatures.mylivesignature.com/54486/122/A57996D55BE7ABB4A67DE686D381A27 4.png!

  • How to properly read data from one DAQ-assistant and write simultaneously with another DAQ-assistant (which is inside a loop)

    Hello.
    I'm a newbie working on my Master's thesis conserning a project that is based on old G-code made by another newbie so bear with me.
    I need to create a sequance of output controls. For this I'm using a for loop that eventually creates two triangular ramps during a period of 90 seconds. I've confirmed that this function works properly by measuring the actual output of the DAQ-decice (NI USB 6353).
    The problem is the following: During this controll-cycle I need to simultanously collect data from the same DAQ-device. At this point there is only one DAQ-assistant output-block in the main loop of the program and all the signals are derived from it to where they are needed.There is a case-structure (the bottom case structure in the picture) that contains the functions needed to collect the data during the test cycle. However these two actions, outputting data and inputting data, are not synchronized in any way which may be the reason why I get the 200279 error or alternatively the 200284 error during the test cycle. I've tried changing the sample rate, buffer size and the timeout time as adviced but nothing seems to help.
    What would be the simplest way to solve this problem?
    Help is greatly appreciated!
    Attachments:
    problem.jpg ‏206 KB

    Thanks for quick reply.
    However, I did try it (see the picture) but I still have a problem: I only get 100 samples / channel during the test sequence (all from the first seconds of the sequence) in total even though I've set the data aqcuiring DAQ-assistant as "continous" and "samples to read = 95k" and rate is 1000Hz.
    Edit.
    And lastly, I have trouble adding this "extra" DAQ-assistant to the vi. because I get an error about a resource (The 6353) being reserved, even though I connected a false constant to the "STOP" -input of the main DAQ-assistant.
    Attachments:
    is_this_what_you_meant.jpg ‏212 KB

  • HT1386 How do I move data from my iPhone 4 to my iPhone 4s?

    I backed my iPhone 4 to iTunes.  Then plugged in my 4s.  It wouldn't take the data etc from the 4 due to needing to update to iOS 6.  I had to add it as a new device.  Now I have two iPhones, a 4 and a 4s on my iTunes and can find no way to make the 4s as the 4 was. 
    How do I sync the data?
    thanks

    Ok, I've managed to do this tonight for my new 4s so hopefully ill manage to explain it to you.
    I take it you uploaded ios6 onto your 4s when you set it up as 'new'?
    If so, now go into settings on the 4s and chose to 'erase all content and settings'.
    When you now go back through the set up process on the 4s, it eventually gets to a screen asking if you want to restore from back up.
    When you plug it back into iTunes this time, it already has ios6 now and fingers crossed will just work! Select the back up version you want to restore from and off it should go.
    Hope that helps

  • How can I move data from one loop to another?

    I am using LabVIEW to record and display data.  The problem that I have run into is that if I try to collect and display the data all in one loop data points are lost because the loop takes so long to execute.  I decided to break my program into two independent loops and the data is recorded at proper speeds, but now I cannot get the data out of the first loop and into the second loop.

    See my example for one method of how to setup the Queue which Omar suggested. You'll also see many other ways, most of which should be avoided until you get more experience.
    Communicating Between Loops
    Richard

Maybe you are looking for

  • Using Subquery in Prepared Statement

    can i use subquery in my insert using prepared statement need to specify the * property eg: insert into table1 values(select * from table2)

  • Aperture loses focus, even in other programs

    I developed a new problem over the past week or so. I'll be typing along in any program when it suddenly loses focus. I can click to re-establish but, once it starts. it happens every 10-15 seconds. I think I've isolated the issue to Aperture. Once I

  • Business Rule Attached to Composite web form not running

    Hi I created a composite webform and attached a business rule.Rule is supposed to run on save.But its failing to do so.Version is 11.1.2.3.I also tried attaching BR to the individual webforms along with the composite webform.Still not working. Please

  • Using Photoshop CS with iPhoto 5

    I recently added Photoshop CS to my PowerBook. Can I use this application to edit photos that are in iPhoto? I know it sounds like a basic question, but I don't know where to start. I tried to import a photo from iPhoto to Photoshop to no avail. Can

  • Possible to design two reports  simultaneously?

    Hello! Is it possible to have one OBIEE analysis/dashboard open in one browser window and design a second report in another browser window? I tried it but when saving I got an cryptic XML error, though it may totally unrelated. After all, I am a OBIE