Data changed from different sources

I have a problem with obtaining data in an AB ML1200 PLC. I'm simplifying this to explain: I have given in reg N7:0 which is the result of a calculation. Lets say

"N7:0 = TextEntry1.value * 10. All right, but there is an another local HMI, who wrote also in N7:0. Although the value of this local HMI N7:0 illustrates the variation reflected the Calc above the Belvedere, any attempt to change the value N7:0 of the local GUI is substituted by the Calc. I need to be able to change the value of the local HMI and update the "TextEntry1.value" to reflect the change has Lookout. It sounds simple enough, but it is Kickin ' my ass! As a sidenote I would not have this problem if the AB driver on the lookout for the sustained MicroLogix float regs (F) - I was little shocked, that he did not. Any ideas?

Looks like you need the connection on the remote source. For example, to create a pot. On the properties page, change its source away to the N7:0. It will also be well read and write the connection.

But you also have to mutiply the value by 10, so you can first create an Alias on N7:0 by right-clicking the driver object and select Edit Configuration data members. Entry of scale, for example, the gross value of 0 to 100 and eng value between 0 and 10, so that this Alias will represent the value of N7:0 / 10. Give a name to this Alias. And then bind source away from the pot to this Alias. Have a try.

Tags: NI Software

Similar Questions

  • How can I use notifications to send data from different sources for the same chart?

    Hello

    I use the model of 'Continuous measurement and logging' project comes with LV 2013.

    It is extremenly helpful in understanding the messaging between the acquisition, graphic and loops of newspaper. (Thank you NEITHER!)

    I ran into a snag though.

    I want to change so that my graphic loop receives notifications of data from two sources of acquisition by the declarant.

    I have trouble getting the data from the two sources to display on one graph.

    I've isolated the problem in the attached vi.

    Here's what happens:

    1. I create 2 parallel loops data and send the data to a third parallel loop with the notifiers.

    2. the third loop receives data from one of the loops because one of the authors of just receiving notifications is to expire instead of receive data.

    Can anyone suggest how can I fix?

    Thank you.

    -Matt

    Here's my modification of your VI. I put notes on the block diagram to explain the changes. He uses a queue for data transfer to avoid data loss. It uses a notifier to stop loops. All local variables and value property nodes have been eliminated.

    The way loops are arrested probably let some data in the queue. No more of one or two iterations of each of the loops of data acquisition. If you need ensure that all data has been displayed (or recorded in a real application), then you must stop acquiring loop first and read the queue until you know it's empty and both other loops stopped. Then stop the render loop and release the queue and the notifier.

    Lynn

  • Simultaneous inputs from different sources

    I am creating a resistively heated wire heating unit.  What I had planned to do, is to connect the wire to a programmable DC power supply that I would link to a USB-232 (Jack single port RS232).  I also want to integrate some temperature readings of a thermocouple placed near the heating unit.  I would connect the thermocouple to one of the analog channels of a PCI-6259 (M series).  Already, we have the PCI-6259 (and the connection block), but so far have not bought the power supply DC or USB-232.  Until we buy these, anyone know if this configuration is still possible?  I wasn't sure if it would be possible to have two separate entries, enter LabVIEW from two different sources (USB and PCI) simultaneously.  Also, are there any other ways I could do it easier?  I looked into analogue programmable power supplies DC, which I was in control of the PCI-6259, but these seem to be still more expensive than RS 232 controlled ones.

    Thanks in advance

    Hi Stephen.

    You can have devices to multiply the input/output, how you design your code will detemin how well that work. The USB port can produce at the same time as the PCI card is entered. The channels you create what you will specify aquire and when.

    What is the programmable DC power you are looking at?

  • my date changes from computer to the manufacturing date

    HelloW

    my computer's date changes automatically for manufacturing date (2007)
    Help, please

    Your computer has a place where the Date / time and the card motherboard chipset settings are stored.  It usually has a stack in order to keep these "stored" settings when the computer is turned off.  If the date is the date the manufacturer, then is can be an indication of the battery is now "dead".  You should be able to get his change easily because it is just like a 'attention' to change the battery.

  • Dimension & fact from different Sources

    Hi all


    I was following the situation.
    (1) I have dimension of source who sits in EDW
    (2) my requirement is to create in time real made leave OLTP source B and create a report on DimA and FactB. To do this, I created a display in RPD and created FactB on it. On his own college B works very well with the fictitious dimension.
    (3) I'm fighting to join Dimension A(source A) with B (source B) done. There are the ID running between the two, but I do not know how to establish the relationship.


    Here's what I did and failed so far
    (a) join created between B done with Dimension A in the diagram of business model. "It did not work and gave me an error" [nQSError: 14025] indeed no table exists at the level of detail required.
    (b) in the fragmented content of the fact table, I gave this instruction to join FactB. ID = DimA.ID.It didn't work and I got following error ' none of the sources done B are compatible with the retail [] filter. " (HY000) »
    (c) together two steps above i.e. joined the FactB with DimA diagram of business model and content fragmented facts table this instructed to join FactB. ID = DimA.ID. Had the same error above b.
    (d) every time that I made levels are configured correctly.
    (e) I can not add logical dimension source Table because there is no physical relationship between two tables
    (f) also tried several logical Table Source but don't know how/where to join two tables.

    It seems that mine is not the case of the Federation of the horizontal, correct me if I'm wrong. Could someone suggest how to model this case in the DR.

    Sorry for the long post and thank you in advance for your valuable opnion.

    Thanks Christian. Email from Jeff helped me solve the problem. I assumed (not practical enough) that I can not create a physical link between the tables in two databases. OBIEE actually allows you to do. This solved my problem and everything works fine now.

    So the solution above the problem is "OBIEE allows you to create a physical link between two tables of different databses.

    Thanks again for your help.

  • Several aggregates County from different sources group by year

    I have a total of 4 tables and dealing with frequent travelers. My goal is to find the number of frequent travelers in a period of time dating from 1990 to this day.

    I need to create a report where I list the number of frequent travellers according to when they enrolled, have investigated and took their flights. Test data are only a small sample of data. Also, some frequent travelers can have registered and taken a poll but never flown as Freq Flyer 1004 and some customers could have registered but never took the survey as Freq Flyer No. 1010. The report must be per year (1990 - Sysdate).
    Year       Enrolled       Took Survey       Flights Flown
    =========================================================
    1990             99                99                  99
    1991             99                99                  99 
    1992             99                99                  99
    ...
    2010             99                99                  99
    2011             99                99                  99
    2012             99                99                  99
    Scripts for Tables and Inserts:

    #1: Frequent Flyer Master table
      CREATE TABLE FREQ_FLYER
       (     "FREQ_FLYER_NO" VARCHAR2(4 BYTE), 
         "FREQ_FLYER_LAST_NAME" VARCHAR2(30 BYTE), 
         "FREQ_FLYER_FIRST_NAME" VARCHAR2(30 BYTE)
       );
    REM INSERTING into FREQ_FLYER
    SET DEFINE OFF;
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1001','Taylor','David');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1002','Green','Robert');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1003','McWilliams','Cynthia');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1004','Poppins','Mary');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1005','Longnose','Pinochio');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1006','Brown','Edward');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1007','Menace','Dennis');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1008','Black','Monica');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1009','Dombrowski','Tom');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1010','Brown','Craig');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1011','Hernandez','Elsa');
    Insert into FREQ_FLYER (FREQ_FLYER_NO,FREQ_FLYER_LAST_NAME,FREQ_FLYER_FIRST_NAME) values ('1012','Williams','Brian');
    --------------------------------------------------------
    --  Constraints for Table FREQ_FLYER
    --------------------------------------------------------
    
      ALTER TABLE FREQ_FLYER MODIFY ("FREQ_FLYER_NO" NOT NULL ENABLE);
    Table # 2: registration
      CREATE TABLE FREQ_FLYER_ENROLLMENT
       (     "FREQ_FLYER_NO" VARCHAR2(4 BYTE), 
         "START_DATE" DATE, 
         "END_DATE" DATE
       );
    REM INSERTING into FREQ_FLYER_ENROLLMENT
    SET DEFINE OFF;
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1001',to_date('12-JAN-90','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1002',to_date('17-JAN-90','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1003',to_date('31-DEC-95','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1004',to_date('30-DEC-95','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1005',to_date('01-JAN-00','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1006',to_date('02-JAN-00','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1007',to_date('31-JAN-00','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1008',to_date('30-OCT-11','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1009',to_date('01-MAR-12','DD-MON-RR'),null);
    Insert into FREQ_FLYER_ENROLLMENT (FREQ_FLYER_NO,START_DATE,END_DATE) values ('1010',to_date('31-MAR-12','DD-MON-RR'),null);
    
    --------------------------------------------------------
    --  Constraints for Table FREQ_FLYER_ENROLLMENT
    --------------------------------------------------------
      ALTER TABLE FREQ_FLYER_ENROLLMENT MODIFY ("FREQ_FLYER_NO" NOT NULL ENABLE);
      ALTER TABLE FREQ_FLYER_ENROLLMENT MODIFY ("START_DATE" NOT NULL ENABLE);
    Table #3: survey
      CREATE TABLE FREQ_FLYER_SURVEY
       (     "FREQ_FLYER_NO" VARCHAR2(4 BYTE), 
         "SURVEY_DATE" DATE
       );
    
    SET DEFINE OFF;
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1001',to_date('01-JAN-91','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1002',to_date('01-FEB-91','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1003',to_date('01-JAN-96','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1003',to_date('01-JAN-97','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1003',to_date('01-JAN-98','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1004',to_date('31-DEC-95','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1004',to_date('12-FEB-11','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1005',to_date('12-MAR-11','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1005',to_date('12-APR-12','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1006',to_date('10-APR-10','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1007',to_date('10-APR-10','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1008',to_date('31-JUL-12','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1009',to_date('31-JUL-12','DD-MON-RR'));
    Insert into FREQ_FLYER_SURVEY (FREQ_FLYER_NO,SURVEY_DATE) values ('1009',to_date('02-AUG-12','DD-MON-RR'));
    --------------------------------------------------------
    --  Constraints for Table FREQ_FLYER_SURVEY
    --------------------------------------------------------
    
      ALTER TABLE FREQ_FLYER_SURVEY MODIFY ("FREQ_FLYER_NO" NOT NULL ENABLE);
    Table # 4: flights
      CREATE TABLE FREQ_FLYER_FLIGHTS
       (     "FREQ_FLYER_NO" VARCHAR2(4 BYTE), 
         "FLT_NO" VARCHAR2(4 BYTE), 
         "FLT_DATE" DATE
       );
    REM INSERTING into FREQ_FLYER_FLIGHTS
    SET DEFINE OFF;
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1001','1234',to_date('01-JAN-00','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1001','1234',to_date('01-JAN-12','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1001','2345',to_date('01-AUG-12','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1002','1234',to_date('01-FEB-95','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1002','2345',to_date('01-AUG-12','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1002','2346',to_date('04-AUG-12','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1003','1234',to_date('01-DEC-00','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1003','2346',to_date('01-JAN-01','DD-MON-RR'));
    Insert into FREQ_FLYER_FLIGHTS (FREQ_FLYER_NO,FLT_NO,FLT_DATE) values ('1010','1234',to_date('01-JUL-12','DD-MON-RR'));
    --------------------------------------------------------
    --  Constraints for Table FREQ_FLYER_FLIGHTS
    --------------------------------------------------------
    
      ALTER TABLE FREQ_FLYER_FLIGHTS MODIFY ("FREQ_FLYER_NO" NOT NULL ENABLE);
      ALTER TABLE FREQ_FLYER_FLIGHTS MODIFY ("FLT_NO" NOT NULL ENABLE);
    Your help or suggestions are welcome.

    Published by: Roxyrollers on August 7, 2012 17:39

    Published by: Roxyrollers on 8 August 2012 08:35

    Hello

    Roxyrollers wrote:
    ... How to combine years of declaration in a column? When I select only the year of declaration of table e, I see just of 1990, 1995, 2000, 2011 and 2012 as well as whites for others who are picked up s table

    If you want to e.reporting_year or s.reporting_year, that we're not NULL, no?

    SELECT  COALESCE ( e.reporting_year
                , s.reporting_year
                )               AS reporting_year ...
    

    If none of them is NULL, then it will return e.reporting_year, because it is listed first. In this issue, however, they will be always the same whenever the two are not NULL, because the join condition

    on     e.reporting_year = s.reporting_year
    

    whatever so that you put first in the list of arguments to COALESCE.

    Published by: Frank Kulash, August 8, 2012 13:16

    As always, if someone suggests to use something you don't know, look it up in the manual of approriate. It comes to SQL and PL/SQL forum, so usually the approriate manual is the manual of the SQL language, or PL/SQL manual. This problem involves no PL/SQL, so that it shrinks even more. It you are not familiar with COALESCE, and then look in the manual of the SQL language:
    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/functions030.htm#sthref995
    You will see that it is similar to the NVL. Obviously, you are already familiar with NVL, but Jean and I suggested that you use COALESCE instead NVL. Could there be a reason?

  • iMovie 10 - how to merge the events from different sources?

    I libraries iMovie on 2 hard drives and in iMovie on two iMacs files both running iMovie 10.1.1

    How can I copy all my events on a single hard drive but leave the events and projects on both iMacs?

    The projects will move at the same time or how can I move them as well?

    Thanks for any help possible!

    You can copy events from one library to another of in iMovie.  See:

    http://help.Apple.com/iMovie/Mac/10.1/#/mov3fa25bae7

    For more details.

    Geoff.

  • Easy way to synchronize the audio left and right, from different sources?

    I mainly filmed concerts of a single camera using a Sony Z1 - when they are available, I'll take a sound card feeds channel 1, and a live auditorium feed a microphone mono channel 2. Because of the distance of the scene (and light is faster than sound, etc.), the power of the sound card is synchronized with the video and power of the auditorium is between 1 and 3 frames behind. Is there an easy way for me to take the tray clips together and just move this auditorium feed back in sync with the video and sound card feed, raw clips?

    Previously, I did this by dropping the clips to the timeline, done to separate tracks, sliding manually sync on the auditorium that feed by the required number of frames and link everything back up again. Synchronize audio visually using the waveform display (before first CC).

    I have two problems with this in Adobe first CC. First, the audio waveforms are not like waveforms more (and it doesn't seem to be possible to change the display to the old way?). So now that I am syncing the auditorium that feed in sound only, because I don't see anything on the screen to sync any more - both channels just look like random noise (or almost).

    Secondly, I film some events of multi camera, and of course, I'd like to be able to use the new functionality of synchronization for the multicam. But I know in advance that the audio channels on all the clips are not synchronized with the video (the camera powered by the sound card will be synchronized, the camera takes live food out as indicated above). Surely, there must be a way where I can fix the sync audio to video on raw clips first, before you say Adobe to synchronize based on the audio clips? Otherwise it will all be misaligned and require adjustment of the manual sync anyway? Again, what I've done previously is set of benchmarks on the identical frames, multi camera sync (so the video is now just good) and then manually set the audio synchronization before editing.

    In the context menu for the timeline, you can uncheck rectified of Audio waveforms for their return to normal.  (I wish that Adobe does not have this as default.  It's just weird.)

    But to synchronize, you can only do in the order.

  • L50-A-19N satellite can not read audio data from multiple sources

    I can't read the audio data from multiple sources. It is very annoying when I have 2 youtube videos, playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 open media players and 1 youtube video playing, youtube video has no sound...
    It disappears when I plug my headphones...

    I already have all the latest drivers, the DTS driver was last updated was in 2014, his day of February of this year...






    25/02/14

    DTS Inc. Windows 8.1 - 64 Bit 1.01.2700

    I don't know if this has the feel, but I had his most recent DTS driver that I found, it is not my laptop model, but they all seem to be the same - v1.1.88.0
    I uninstalled the DTS software and still had the same problem, then it is irrelevant on its driver somehow...






    02/10/15

    Integrated Device Technology Inc. Windows 8.1 - 64 Bit 6.10.6491.0

    Audio driver IDT has more recent release date, but the version of the driver is the same as the 2013 one...
    Why the older drivers of toshiba releaseing as 'NEW '?

    2nd is my Advanced settings speakers, nothing has changed when I disabled "allow applications to take exclusive control of this device.

    Sorry but I don't understand your problem.
    I tested it on my machine and if I start the music on three different sources (YouTube, player, web radio) I can hear all together, but it makes no sense to listen to music from different sources.

    Or how do understand you?

  • Import data from different DBs to HFM Application using FDQM

    Hi gurus

    1. how to import data from different databases to HFM Application using FDQM?
    Do we need to write scripts for integration in FDQM, or is there an alternative method, we need to do?

    concerning
    Dev

    Data import is long to explain,

    To be more precise,
    1. you would establish a connection with your source systems and destination where you pull the data.
    You can do this by registering adapters of integration for send_break_action source machines
    2. you would then upward some formats for importing, maps and tables of control.
    Please go through the Administrator's guide,

    One of the experts will help you better understand.

    Kind regards

    David Martin

  • When waking from sleep, the date changes to 2029

    Sometimes when my computer wakes up from being asleep, the date changes until 2029.  The month and day are the same, but the changes of the year.  I then have to set manually the date, the automatically sync with windows server doesn't fix it.  Its really annoying because then my anti-virus thinks its out of date as well as the update of windows.  My internet browser also has security due to date problems.  I can not understand what causes the date change 2029!

    Hello Nevik09,

    A possibility is that the CMOS battery is out. Did you replace the battery to determine if it could be a cause?

    Also, take a look at this thread on Technet for another possible solution. http://social.technet.Microsoft.com/forums/en/w7itprogeneral/thread/9d180368-35ee-4334-9cce-cd2b2c7f1f2a

    Hope this helps

    Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to migrate data from a source to multiple targets (tables)?

    How to migrate data from a source to multiple targets (tables)? Describe the General steps, please or point me to a tutorial

    Yes, a table in a mapping element can be source and target at the same time (i.e. a target can be reused as a source for the rest of the map on the right side of the table).

    Don't forget to check the order of loading (in the property map), to ensure that the reused as source is loaded before the final table target table.

    I tested it and it works. However, the documentation is not said in the link I gave you above:

    "Each element of data store that has entries but no exits in the logical diagram is considered a target."

    Usually, I tend not to do. I am in favour of a Divide and Conquer approach and try to have my mapping as simple as possible. It is easier to debug and maintain.

  • Generic procedure to load the data from the source to the table target

    Hi all

    I want to create a generic procedure to load data of X number of the source table to X number of the target table.

    such as:

    Source1-> Target1

    Source2-> Target2

    -> Target3 Source3

    Each target table has the same structure as the source table.

    The indexes are same as well. Constraint are not predefined in the source or target tables.there is no involved in loading the data from the business logic.

    It would simply add.

    This procedure will be scheduled during off hours and probably only once in a month.

    I created a procedure that does this, and not like:

    (1) make a contribution to the procedure as Source and target table.

    (2) find the index in the target table.

    (3) get the metadata of the target table indexes and pick up.

    (4) delete the index above.

    (5) load the data from the source to the target (Append).

    (6) Re-create the indexes on the target table by using the collection of meta data.

    (7) delete the records in the source table.

    sample proc as: (logging of errors is missing)

    CREATE or REPLACE PROCEDURE PP_LOAD_SOURCE_TARGET (p_source_table IN VARCHAR2,

    p_target_table IN VARCHAR2)

    IS

    V_varchar_tbl. ARRAY TYPE IS VARCHAR2 (32);

    l_varchar_tbl v_varchar_tbl;

    TYPE v_clob_tbl_ind IS TABLE OF VARCHAR2 (32767) INDEX OF PLS_INTEGER;

    l_clob_tbl_ind v_clob_tbl_ind;

    g_owner CONSTANT VARCHAR2 (10): = 'STG '.

    CONSTANT VARCHAR2 G_OBJECT (6): = 'INDEX ';

    BEGIN

    SELECT DISTINCT INDEX_NAME BULK COLLECT

    IN l_varchar_tbl

    OF ALL_INDEXES

    WHERE table_name = p_target_table

    AND the OWNER = g_owner;

    FOR k IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    SELECT DBMS_METADATA. GET_DDL (g_object,

    l_varchar_tbl (k),

    g_owner)

    IN l_clob_tbl_ind (k)

    FROM DUAL;

    END LOOP;

    BECAUSE me IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    RUN IMMEDIATELY "DROP INDEX ' |" l_varchar_tbl (i);

    DBMS_OUTPUT. PUT_LINE (' INDEXED DROPED AS :'|| l_varchar_tbl (i));

    END LOOP;

    RUN IMMEDIATELY ' INSERT / * + APPEND * / INTO ' | p_target_table |

    ' SELECT * FROM ' | '. p_source_table;

    COMMIT;

    FOR s IN l_clob_tbl_ind. FIRST... l_clob_tbl_ind LAST LOOP.

    EXECUTE IMMEDIATE l_clob_tbl_ind (s);

    END LOOP;

    RUN IMMEDIATELY 'TRUNCATE TABLE ' | p_source_table;

    END PP_LOAD_SOURCE_TARGET;

    I want to know:

    1 has anyone put up a similar solution if yes what kind of challenges have to face.

    2. it is a good approach.

    3. How can I minimize the failure of the data load.

    Why not just

    create table to check-in as

    Select "SOURCE1" source, targets "TARGET1", 'Y' union flag double all the

    Select "SOURCE2', 'TARGET2', 'Y' in all the double union

    Select "SOURCE3', 'Target3', 'Y' in all the double union

    Select "SOURCE4', 'TARGET4', 'Y' in all the double union

    Select 'Source.5', 'TARGET5', 'Y' in double

    SOURCE TARGET FLAG
    SOURCE1 TARGET1 THERE
    SOURCE2 TARGET2 THERE
    SOURCE3 TARGET3 THERE
    SOURCE4 TARGET4 THERE
    SOURCE.5 TARGET5 THERE

    declare

    the_command varchar2 (1000);

    Start

    for r in (select source, target of the archiving of the pavilion where = 'Y')

    loop

    the_command: = "insert / * + append * / into ' |" r.Target | ' Select * from ' | '. r.source;

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    the_command: = 'truncate table ' | r.source | "drop storage."

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    dbms_output.put_line(r.source ||) 'table transformed');

    end loop;

    end;

    Insert / * + append * / into select destination1 * source1

    truncate table SOURCE1 drop storage

    Treated SOURCE1 table

    Insert / * + append * / to select TARGET2 * in SOURCE2

    truncate table SOURCE2 drop storage

    Treated SOURCE2 table

    Insert / * + append * / into select target3 * of SOURCE3

    truncate table SOURCE3 drop storage

    Treated SOURCE3 table

    Insert / * + append * / into TARGET4 select * from SOURCE4

    truncate table SOURCE4 drop storage

    Table treated SOURCE4

    Insert / * + append * / into TARGET5 select * from source.5

    truncate table source.5 drop storage

    Treated source.5 table

    Concerning

    Etbin

  • I bought a new hard drive. I don't have a system recovery disk. Can I load Windows Vista from another source and activate using my original product key?

    I bought a new hard drive. I don't have a system recovery disk. Can I load Windows Vista from another source and activate using my original product key?

    Hello

    There is no download available from Microsoft Vista.

    Contact the manufacturer of your laptop and ask them to send a set of recovery disks.

    They should do this for a small fee.

    "How to replace Microsoft software or hardware, order service packs and replace product manuals.

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

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key determines which Edition is installed.

    Builders recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    See you soon.

    p.s. If the old hard drive is still installed and running before you change on hard drives and you never received the to purchase recovery discs, you can make the recovery discs from the recovery Partition which should be on the old hard drive. You will need to request that the manufacturer how to do as each computer manufacturer has their own way of making records of this partition recovery.

    It depends on the old hard drive still works.

  • A target table is in charge of two different sources but the same columns, but a source is one database and another in a flat file.

    We all hope you are doing well.

    I have a business problem to implement in ODI 11 G. It's here. I'm trying to load a target table from two sources that have the same column names. But a source is to the file format and the other is in the Oracle database.

    That's what I think I'll create two mappings in the same interface by using the Union between the sources. But I don't know how the interface would connect to different logical architecture to connect to two different sources.

    Thank you

    SM

    You are on the right track, all in a single interface. Follow these steps

    (1) pull model of your data in the designer of the source file and your table model target to the target pane.

    (2) all relevant columns map

    (3) in the source designer to create a new dataset and choose as the UNION join type (this will create a separate tab in the source designer pane)

    (4) select the new dataset tab in the source designer pane and pull your source oracle table data model in the designer of the source. All columns that are relevant to the target card

    (5) make sure that your staging location is set to a relational technology i.e. in this case the target would be an ideal candidate because it is where the ODI will organize the data from source two files and oracle and perform the UNION before loading to the target

    If you want to watch some pretty screenshots showing the steps above, take a look at http://odiexperts.com/11g-oracle-data-integrator-part-611g-union-minus-intersect/

Maybe you are looking for

  • Restore iTunes music library

    Anyone know how I can restore my iTunes music Library using only one xml file library on my PC?

  • Update iOS to 9.3

    iPhone 6 won't 9.2.1 to 9.3. says just "updated asked" very useful ability. Other (medium-sized enterprises) iPhone 6 updated without problem. Have you tried the different wifi networks. Suggestions?

  • Satellite L655-1F0 - problems with download ATI display driver

    I have a Satellite L655-1f0 and I recently had to re - install Windows 7.Of course, this meant losing all pilot plants I had before, but I was hoping that I could find on the Web from Toshiba site. And many of them that I have found, however, the ATI

  • ACER X223W monitor

    I want to remove my monitor X223W settlement and the related appendices. Is this possible? I am installing a dual screen system, and the bulk of the material that attached to the back of the monitor is a bit unsightly in this type of circumstance. An

  • Pavilion g series 1257dx cmos battery location

    Please help - battery cmos location on Pavilion g series 1257dx laptop?