Acquiring streaming data from two sources

I�m trying to acquire data from two devices at the same time. I have written two sub VI�s where each one takes the data from one piece of equipment. The equipment is such that they are both constantly outputting data. I have been successful in running both of the sub VI�s separately at the same time. The trouble occurs when I try to put the sub VI�s together in a larger VI. When the two sub VI�s part of a larger VI, both cannot run at the same time. One of the sub VI�s tries to read from the serial port and is unable to get anything in response. Is there something I am missing as to why they can not be running at the same time?

Hello,
It is possible that you are seeing the consequences of LabVIEW compiling code written in parallel. More specifically, if you have code in parallel (not connected by dataflow, but in the same block diagram) LabVIEW will split execution time between those parts of your code. Previously you were likely manually starting two separate programs, which inherently adds a delay between the start of the programs, allowing the first program to get sufficiently far in its execution; we could be seeing the consequence of this. It would help if you could be more specific about the details of your setup and code (such as 1. which instruments are connected to which ports? 2. are you writing a command to your instruments and then receiving data as a response? 3. do you rec
eive any errors? 4. if you do receive errors, which errors do you see and where in your code do you first see them?).
Repost with some more information (perhaps a screen shot or your code) and we can get a more definitive answer!
Thank you,
Regards,
JLS
Applications Engineer
National Instruments
Best,
JLS
Sixclear

Similar Messages

  • To Load Master Data From Two Source System

    Hi All,
    I have a small question :
    - Can we load master data from two different source system say from flat file and R3 or any two different or similar source  system?
       If answer is "Yes", then how?? If possible step by step.
    Appreciate your valuable points.
    Thanks,
    Niraj Sharma

    Hi,
    Still i have problem.R3 Transformation and DTP is getting activated but when i am executing DTP for flat file,
    I am getting below ERROR.
    Object DTP DTP_d55.......could not found in version A.
    I have  checked the Master data locally for source sys in compounding Tab of the key field.
    Please help..
    Thanks,
    Niraj

  • Master Data from two source systems

    Hi Gurus,
    I need to load master data from two different source systems. What is the best way I could do that ?
    I know one approach is add system id 0logsys as prefix in compound tab and load it. But problem is master data table will have two different records and in the report it will display 2 records, can not summarized it in the report. But I need one record in the report. What is the best approach ?
    Thanks
    Liza

    Hi,
    Create two DataSources. one for each of the source system.
    Create two separate flows to the master from these two DataSources.
    Hope this helps!

  • Getting data from two sources

    Hi all, i am trying to solve an specific scenario which i am having trouble with. here is my data
    WITH data AS
    SELECT 123 id, '10.30.2009' dt, 10 src, 'test1' name, 145 yd, 780 pdf, 'hd1' var FROM dual UNION ALL
    SELECT 123 id, '10.31.2009' dt, 10 src, 'test2' name, 146 yd, 781 pdf, 'hd2' var FROM DUAL UNION ALL
    SELECT 123 id, '11.10.2009' dt, 10 src, 'test3' name, 147 yd, 782 pdf, 'hd3' var FROM DUAL UNION ALL
    SELECT 123 id, '11.11.2009' dt, 10 src, 'test4' name, 147 yd, 182 pdf, 'hd4' var FROM DUAL UNION ALL
    SELECT 123 id, '11.12.2009' dt, 10 src, 'test5' name, 167 yd, 212 pdf, 'hd33' var FROM DUAL UNION ALL
    SELECT 123 id, '11.13.2009' dt, 10 src, 'test6' name, 137 yd, 322 pdf, 'hd34' var FROM DUAL UNION ALL
    SELECT 123 id, '9.27.2009' dt, 10 src, 'test7' name, 148 yd, 783 pdf, 'hd4' var FROM DUAL UNION ALL
    SELECT 123 id, '10.12.2009' dt, 10 src, 'test8' name, 149 yd, 784 pdf, 'hd5' var FROM DUAL
    data2
    SELECT 123 id, '9.25.2009' dt, 11 src, 'test4' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.26.2009' dt, 11 src, 'test5' name, 135 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.27.2009' dt, 11 src, 'test7' name, 15 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.28.2009' dt, 11 src, 'test8' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.29.2009' dt, 11 src, 'test99' name, 175 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.30.2009' dt, 11 src, 'test44' name, 175 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.31.2009' dt, 11 src, 'test33' name, 148 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.1.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.2.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.3.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.4.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.5.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.6.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.7.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.8.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.9.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.10.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.11.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.12.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.13.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.14.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.15.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.16.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.17.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.18.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.19.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.20.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.21.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.22.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.23.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.24.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.25.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.26.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.27.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.28.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.29.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.30.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.31.2009' dt, 11 src, 'test' name, 146 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.01.2009' dt, 11 src, 'test' name, 147 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.2.2009' dt, 11 src, 'test' name, 148 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.3.2009' dt, 11 src, 'test' name, 149 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.4.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.5.2009' dt, 11 src, 'test' name, 148 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.6.2009' dt, 11 src, 'test' name, 149 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.7.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.8.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.9.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.10.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL
    as you can see there are some rows in data table that matches the id, dt in data2.
    there is some rows in data2 that is not there in data table and vice versa. also both tables columns
    are identical except that data has more columns that data2 doesnt have.     i want to write a query.
    i would like to join data and data2 table.
    if a row in data table matches a row in data2 then i would take the row in data table
    and display it along with the rest of the columns. if a row is not found in data but it is found
    in data2 for a particular id (in this case 123) then i want to display the row from data2 and the rest of the columns value from data2.
    please note that in the data above i gave you one specific id 123. my tables will have the same situation as above
    for different id. the output of the above query should be as follow.
    ID DT SRC NAME YD PDF VAR
    123     9.25.2009 11 testt 145
    123     9.26.2009 11 test5 135
    123     9.27.2009 10 test7 148 783 hd4
    123     9.28.2009 11 test8 145
    123     9.29.2009 11 test99 175
    123     9.30.2009 11 test44 175
    123     9.31.2009 11 test33 148
    123     10.1.2009 11 test 145
    123     10.2.2009 11 test 145
    123     10.3.2009 11 test 145
    123     10.4.2009 11 test 145
    123     10.5.2009 11 test 145
    123     10.6.2009 11 test 145
    123     10.7.2009 11 test 145
    123     10.8.2009 11 test 145
    123     10.9.2009 11 test 145
    123     10.10.2009 11 test 145
    123     10.11.2009 11 test 145
    123     10.12.2009 10 test8 149 784 hd5
    123     10.13.2009 11 test 145
    123     10.14.2009 11 test 145
    123     10.15.2009 11 test 145
    123     10.16.2009 11 test 145
    123     10.17.2009 11 test 145
    123     10.18.2009 11 test 145
    123     10.19.2009 11 test 145
    123     10.20.2009 11 test 145
    123     10.21.2009 11 test 145
    123     10.22.2009 11 test 145
    123     10.23.2009 11 test 145
    123     10.24.2009 11 test 145
    123     10.25.2009 11 test 145
    123     10.26.2009 11 test 145
    123     10.27.2009 11 test 145
    123     10.28.2009 11 test 145
    123     10.29.2009 11 test 145
    123     10.30.2009 10 test1 145 780 hd1
    123     10.31.2009 10 test2 146 781 hd2
    123     11.01.2009 11 test 147
    123     11.2.2009 11 test 148
    123     11.3.2009 11 test 149
    123     11.4.2009 11 test 141
    123     11.5.2009 11 test 148
    123     11.6.2009 11 test 149
    123     11.7.2009 11 test 141
    123     11.8.2009 11 test 141
    123     11.9.2009 11 test 141
    123     11.10.2009 10 test3 747 782 hd3
    123     11.11.2009 10 test4 147 182 hd4
    123     11.12.2009 10 test5 167 212 hd33
    123     11.13.2009 10 test6 137 322 hd34
    123     11.14.2009 11 test 141
    if you notice, i am displaying the data from data table when there is a match in data and data2 tables for a particular id, dt combination.
    if there is data in data2 that is not in data then i pull those data from data2 and display. the same thing goes for data table. if there is data in data table
    but it is not there in data2 then i display data from data table. when rows matches then i take the one from data table
    i would like to write a query that give the above output. if anybody can help, i will appreciate.
    thanks

    Hi,
    I'm sorry, misread it and didn't look wll at the outcome. This is better:
    WITH data AS
    SELECT 123 id, '10.30.2009' dt, 10 src, 'test1' name, 145 yd, 780 pdf, 'hd1' var FROM dual UNION ALL
    SELECT 123 id, '10.31.2009' dt, 10 src, 'test2' name, 146 yd, 781 pdf, 'hd2' var FROM DUAL UNION ALL
    SELECT 123 id, '11.10.2009' dt, 10 src, 'test3' name, 147 yd, 782 pdf, 'hd3' var FROM DUAL UNION ALL
    SELECT 123 id, '11.11.2009' dt, 10 src, 'test4' name, 147 yd, 182 pdf, 'hd4' var FROM DUAL UNION ALL
    SELECT 123 id, '11.12.2009' dt, 10 src, 'test5' name, 167 yd, 212 pdf, 'hd33' var FROM DUAL UNION ALL
    SELECT 123 id, '11.13.2009' dt, 10 src, 'test6' name, 137 yd, 322 pdf, 'hd34' var FROM DUAL UNION ALL
    SELECT 123 id, '9.27.2009' dt, 10 src, 'test7' name, 148 yd, 783 pdf, 'hd4' var FROM DUAL UNION ALL
    SELECT 123 id, '10.12.2009' dt, 10 src, 'test8' name, 149 yd, 784 pdf, 'hd5' var FROM DUAL
    data2 as
    SELECT 123 id, '9.25.2009' dt, 11 src, 'test4' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.26.2009' dt, 11 src, 'test5' name, 135 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.27.2009' dt, 11 src, 'test7' name, 15 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.28.2009' dt, 11 src, 'test8' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.29.2009' dt, 11 src, 'test99' name, 175 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.30.2009' dt, 11 src, 'test44' name, 175 yd FROM DUAL UNION ALL
    SELECT 123 id, '9.31.2009' dt, 11 src, 'test33' name, 148 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.1.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.2.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.3.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.4.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.5.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.6.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.7.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.8.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.9.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.10.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.11.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.12.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.13.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.14.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.15.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.16.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.17.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.18.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.19.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.20.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.21.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.22.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.23.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.24.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.25.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.26.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.27.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.28.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.29.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.30.2009' dt, 11 src, 'test' name, 145 yd FROM DUAL UNION ALL
    SELECT 123 id, '10.31.2009' dt, 11 src, 'test' name, 146 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.01.2009' dt, 11 src, 'test' name, 147 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.2.2009' dt, 11 src, 'test' name, 148 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.3.2009' dt, 11 src, 'test' name, 149 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.4.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.5.2009' dt, 11 src, 'test' name, 148 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.6.2009' dt, 11 src, 'test' name, 149 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.7.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.8.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.9.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL UNION ALL
    SELECT 123 id, '11.10.2009' dt, 11 src, 'test' name, 141 yd FROM DUAL
    select data2.id,data2.dt,nvl(data.src,data2.src) src, nvl(data.name,data2.name) name,nvl(data.yd,data2.yd) yd,data.pdf,data.var
    from data2,data
    where data2.id = data.id(+)
    and data2.dt = data.dt(+)Herald ten Dam
    Superconsult.nl

  • Collecting data from two R3 source systems

    Dear All,
    Scenario:
    We are in the process of implementing SAP BI 7.0 in our organisation.
    We have a single BI server (7.01) collecting data from two source
    systems from two different divisions within the group.
    The first system is of Company 1 where we have IS u2013 MILL (ECC 6.0).
    BI has been implemented and running successfully in this unit. Now we
    have started implementing BI in the second unit u2018Company 2u2019
    where the industry specific solution IS u2013 AFS (ECC 6.0) is the source
    system.
    We are activating BI Standard Content for AFS. When we try to upload
    master data, we face a problem.
    The master data (0Division, 0Mat_Grp_3, etc.) is already loaded with
    IS Mill data (data from the first source system). Now when the data is
    loaded from IS AFS (second source system), wherever, the same key
    exists in the info object, we notice that the existing data is
    overwritten by the freshly loaded data, thus causing loss of existing
    data.
    A typical example is as follows:
    BW Data u2013 Source system 1 u2013 (Before upload of data from source system
    2):
    0Division
    99         EN          Stock Transfer Out
    AFS Data (Source system 2) -
    0Division 
    99         EN             STO
    BW Data u2013 Source system 1 u2013 (After upload of data from source system 2):
    After uploading the master data from AFS, the Values areu2026
    0Division
    99        EN            STO
    The original data is lost.
    Similar problem is noticed with other master data as well.
    Please suggest the right methodology for upload of master data when
    data to BW is sourced from two systems. How to retain the data in the
    same Infoobject but at the same time maintain distinction between the
    data from the two systems.
    We donu2019t find any specific mention of such scenarios in the standard
    documentation.
    Will such a problem recur when we upload transactional data?
    Regards,
    Aslam Khan

    Hi Aslam,
                Please use some compounding attribute for your master data object like Sourcesystem ID.  While loading the master data from different source systems... you should have two different flows to fill the same master data object.  In each flow you can specify the Source system ID as constant value ... eg SS1 (Source system 1)  and SS2(Source system 2) in each of the data flows.   This should solve your issue without overwriting your master data
    Thanks
    Kishore

  • Loading consolodated data from two excel files / cube into one infocube

    Hi Friends,
    I am receiving data from two sources:
    Source 1:
    Customer Product  Location                          Keyfig(Budget)
    C1            P1          L1                                     100
    C2            P1         L1                                      200
    C1           P2          L1                                      300
    Source 2:
    Product     Location                        KeyFig (Actual)
    P1               L1                                           320
    P2               L1                                           350
    I want to combinedata from two sources (or cubes) into one cube as follows:
    Customer      PRoduct       location          Budget            Actual
    C1                 P1                 L1                  100                 320
    C2                 P1                L1                   200                 320
    C1                P2                L1                   300                   350
    I tried by creating multiple data sources / infosources / transformations / updates rules and also tried with both DSO and cube. But the records are always getting updated as follows:
    Customer      PRoduct       location          Budget            Actual
    C1                 P1                 L1                  100                 320
    C2                 P1                L1                   200                 320
    C1                P2                L1                   300                   350
                        P1               L1                                           320
                       P2               L1                                           350
    Can you help me figure out if this is possible? If yes, how can I do it.
    Thanks a lot in advance.

    Hi,
    Please use the below approach.
    Load the budget data in ODS1.
    Load the actual data in ODS2.
    Create a ODS3 with same structure as ODS1 with additional key figure for Actuals,which will get data from ODS1. Here add a look up based product and location to populate actuals.
    Start Routine
    SELECT * FROM ODS2 into ITAB
    FOR ALL ENTRIES in SOURCE_PACKAGE.
    Transformation Routine:
    Read table ITAB  into WATAB
    with key location = <source_fields>-Location
    product =  <source_fields>-Product.
    If sy-subrc = 0.
    RESULT = WATAB-ACTUAL.
    ENDIF.
    -Vikram

  • Want to transfer data from 2 source systems

    hi everybody ,
    i want to transfer data from 2 source systems into a info cube, how can we do that and  i dont want to transfer duplicate data from two source systems. like i have 1,2,3,4 records in one source system and 1,5,6,7 records in the other system.i want to transfer 1,2,3,4,5,6,7 in to the cube. can u help me to solve this problem?

    Hi
    The solution given by Paolo will not work 100% correct.
    Even if you create ODS and with record number as key of  ODS the data in ODS will be record no 1,2,3,4,5,6,7
    But data of record 1 will be overwritten (first it will hold data from 1st source system and then from 2nd source system) since record number is key. Also you can not differentiate the values of data that means which data is coming from which system.
    For this you need to use compouding of infoobjects. In this expample, record number should be compounded with Source system ID infoobject-0soursystem. Then your ODS will contain source system ID along with record number as keys and record 1 will not be overwritten.
    Have a look at SDN threads on compounding-
    Re: Compounding
    Re: Tips on Compounding with Source System ID
    Hope it helps
    Regards
    Pradip
    (don't forget points)

  • Transaction Data from multiple source systems

    Hi BW,
    I want to load transaction data from two source systems: SQ1CLNT100 QA and SQ1CLNT200 Training client. into one BW system. What is the best practice, do I need to create another data structure or can I mix the data for QA and training in one data structure and separate them with authorisation?
    Please someone should help me out with the best practice on this.
    Thanx.

    Hi Dan,
    Do you mean use 0LOGSYS as authorisation relevant InfoObject?
    Dont you think that if I copy bid from one source system and use it in another, the two bids will have the same GUID? if that is possible, then I may be faced with the problem of data override. Please advice further.
    Regards.

  • Streaming from two sources

    Hi:
    I need streaming to Flash Media Server from two sources (microphone and sound tarjet)in my pc with FME.
    Streaming from microphone connect and start correctly (config stream=streaming1), but streaming from sound tarjet (config stream=streaming2) connect but doesn't start.
    Why?
    Regards.

    Hello,
    It is possible that you are seeing the consequences of LabVIEW compiling code written in parallel. More specifically, if you have code in parallel (not connected by dataflow, but in the same block diagram) LabVIEW will split execution time between those parts of your code. Previously you were likely manually starting two separate programs, which inherently adds a delay between the start of the programs, allowing the first program to get sufficiently far in its execution; we could be seeing the consequence of this. It would help if you could be more specific about the details of your setup and code (such as 1. which instruments are connected to which ports? 2. are you writing a command to your instruments and then receiving data as a response? 3. do you rec
    eive any errors? 4. if you do receive errors, which errors do you see and where in your code do you first see them?).
    Repost with some more information (perhaps a screen shot or your code) and we can get a more definitive answer!
    Thank you,
    Regards,
    JLS
    Applications Engineer
    National Instruments
    Best,
    JLS
    Sixclear

  • Differentiating Master Data from two different source systems

    Friends,
    i have used standard InfoObjects that provide master data for two InfoCubes which take data from two different source systems. Now the some of the master data is identical in both the source systems (example: 10 stands for "Industrial" in one whereas 10 stands for "Agricultural" in the other). What do i do so that the system(BW) differentiates the two.
    Thanks in advance for all the help.
    Mike

    I tried to include the 0SOURSYSTEM in the compounding of this InfoObject (for master data) but it gives me a list of other objects that use this InfoObject as a reference characteristic and also says that this InfoObject is used in a ODS and data needs to be emptied in the ODS before activating  this InfoObject.  Please let me know if there is any way out of it.
    Thanks
    Mike

  • How can I use notifications to send data from different sources to thesame chart?

    Hi,
    I am using the "Continuous Measurement and Logging" template project that ships with LV 2013.
    It is extremenly helpful for figuring out messaging between the acquire, graph, and log loops. (Thanks NI!)
    I've run into a snag however.
    I would like to modify it so that my graphing loop receives data notifications from two acquisition sources via notifiers.
    I'm having trouble getting data from both sources to display on the same chart.
    I've isolated the issue in the attached vi.
    Here's what happens:
    1. I create data from 2 parallel loops and send the data to a third parallel loop with notifiers.
    2. The third loop receives data from only one of the loops because one of the receiving notifiers just times out instead of receiving data.
    Can someone suggest how I can fix this?
    Thanks.
    - Matt
    Solved!
    Go to Solution.
    Attachments:
    test notification loop.vi ‏42 KB

    Here is my modification of your VI. I put notes on the block diagram to explain the changes. It uses a queue for the data transfer to avoid loss of data. It uses a notifier to stop the loops. All local variables and Value property nodes have been eliminated.
    The way the loops are stopped will likely leave some data in the queue. No more than one or two iterations of each of the data acquisition loops. If you need to guarantee that all data has been displayed (or saved in a real application), then you need to stop the acquisition loops first and read the queue until you know it is empty and both of the other loops have stopped. Then stop the display loop and release the queue and notifier.
    Lynn
    Attachments:
    test notification loop.ldj.vi ‏1036 KB

  • OBIEE 11g - Combine data from two Oracle tables

    Good day!
    I tried to combine data from two Oracle tables as fact data, but it doesn't work.
    My steps: I created SCOTT.EMP2 table from SCOTT.EMP table, update EMPNO and ENAME values of EMP2 table to distinguish data of my tables. Then I imported physical tables DEPT, EMP and EMP2 to BIEE 11g, created joins DEPT-EMP and DEPT-EMP2 in physical diagram. Then I dragged DEPT and EMP tables to BMM, and EMP2 table to EMP as second LTS. In Content tab for EMP and EMP2 I checked "This source should be combined with other sources at this level" checkboxes. Then I renamed logical tables EMP and DEPT to Employees and Departments and dragged them to Presentation area. In Answers I created Analysis with columns DNAME and ENAME.
    The problem is that data on results tab is only from one physical table EMP or EMP2 (depending on the order of sources EMP and EMP2 of LT Employees) and not from both.
    Can anybody help? Am I missed something?
    Al.

    Hi Al,
    I think you have to define the content of the LTS.
    http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_BusModSetup16.html
    You have to specify the content of the different fragments.
    http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_SetUpAggNav3.html#wp1005333
    Maybe you have to add an additional column 'Source' ('EMP1', 'EMP2')
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • How to stream data from TDS3000?

    Hi there,
    I would like to stream data from my scope into Labview for further analysis.
    Hardware: Tektronix TDS3014C
    Software: Labview SignalExpress 2.5.1 + Tektronix Extensions
    I don't exactly know when the interesting transient signal appears, therefore I would like to save ~5-10 s of streamed data.
    Right now I'm getting just fractions of 2 us and the scope switches into waiting for trigger.
    Is there a way to deactivate trigger, or a keyword I could search for?
    Thanks for your help,
    nook
    Solved!
    Go to Solution.

    muks,
    I think you got this post confused with another.
    nook,
    You can rarely continuously stream data from a GPIB scope. You can check the manual but often the scope cannot transmit at the same time it is acquiring so you have a sequential operation of wait, trigger, acquire, transfer, repeat.
    Can't you set the trigger for the transient?

  • Need to merge similar charecterstics comming from two sources

    Hi Experts,
    I have a requirement to upload data into BI from Two sources. one from ECC is business Sellout history data and from flat file is market sellout history data. Now one source has fields
    CALMONTH, Market, Sales Organization, Segment, Super Model, Model, Country Standard, Model Year, ZCOL, Power, Material No., Location, APO Version, Sell-Out History, UNIT
    Other source has fields
    Market,Model,Type Of Model.
    I need to upload this data to BI and merge Market, Model, as these fields are common in both the sources and display Type of model for the respective Market and Model.
    Can any one advice me how to proceed desgining this.
    Thanks in advance ...
    Santhosh.

    Hi
    An alternative to the above solutions, Create two DSOs and fields of the dsos should like below :
    DSO ECC :
    CALMONTH, Market, Sales Organization, Segment, Super Model, Model, Country Standard, Model Year, ZCOL, Power, Material No., Location, APO Version, Sell-Out History, UNIT, Type of Model
    Bold fields exists in DSO Flat file fields as well.
    DSO Flat file :
    Market,Model,Type Of Model.
    1. First load the data to the flat file DSO.
    2. while loading data to the DSO ECC you can populate the model type by writing an end routine to look up flat file DSO to find out the type of model using the condition DSO ECC- market = DSO-Flatfile- market & DSO ECC-Model = DSO-flatfile-Model.
    DSO ECC will have the merged data and DSO Flat file is used as a look up table in the end routine of the transformation.
    Also note that you can also cube in place DSO ECC if you dont want to stage data.
    Hope it helps.
    Regards
    Sadeesh

  • MDX query for to get the data from two cubes

    Hi
    Can you tell me how to create MDX query to get the values from two cubes.  (One hierarchy from first cube and one hierarchy from second cube)
    Can you give me one example.
    Regards,
    Madhu.
    Sudhan

    Hi Sudhan,
    According to your description, you want to retrieve data from two different cubes, right? The short answer is yes. To query multiple cubes from a single MDX statement use the LOOKUPCUBE function (you can't specify multiple cubes in your FROM statement).
    The LOOKUPCUBE function will only work on cubes that utilize the same source database as the cube on which the MDX statement is running. For the detail information about it, please refer to the link below to see the blog.
    Retrieving Data From Multiple Cubes in an MDX Query Using the Lookupcube Function
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for