Can Not execute a TS Sequence File with VIs that are already being compile in my Custom TS Operator Interface

I have build a custom TS Operator Interface (Executable) with some custom VI(s)(GOOP VIs). I want to be able to call the same custom VI(s) from Teststand Sequences. When i try ti launch the sequence from my TS OI i got an error message, because LabVIEW Run Time find the same VI(s) from two different location : the OI and the sequence.
I would like to know, that is the best approach to resolve this problem.
For the moment i got two solutions :
(1) dynamically calling the VI(s) in the OI (executable)
(2)Changing the name of the VIs in the TS sequence.
I would like to know if it exist an another solution ?
thank you
derek

For the moment the VI�s that are shared between the sequencefile�s and the operator interface, are used as code module in the sequencefile�s (not as sub vi in the code module).
On the target system I will got my custom operator interface (which is build from the Testexec.llb + my goop VI�s). My goop VI�s are statically link to my operator interface.
(I will say that my executable are on the C drive : C:\Testexec.exe)
My sequencefile�s and the differents VI�s of each step is deploy with the TestStand deployment wizard. A library with all the vi�s call by the sequencefiles are group in SupportVIs.llb. (the sequencefiles and the VI�s library are on the C drive too)
For exemple I will say that I got a foo.vi (goop
method) which is build in the operator interface testexec.exe. The same foo.vi is call (as code module) by a step of one of my sequencefile�s.
When I try to launch the sequence with the operator interface, The LabVIEW Run Time inform me that he can�t load step "foo" of sequence �MainSequence� because he find 2 VI�s with the same name in 2 different location (C:\Testexec.exe\foo.vi) and (C:\SupportVIs.llb\foo.vi.
If you got a sample example, i will be glad to see it.
Thank you Ray for your help.
Derek

Similar Messages

  • Numbers for Mac does not show all stored Numbers files in iCloud that are already in use on iPhone and ipad

    I have been using Numbers on both iPhone and iPad for a while and have about 8 files stored on iCloud. I have just purchased Numbers for Mac but I do not see any of my files stored in iCloud. I have created a test spreadsheet on my Mac which says it is stored on iCloud when I choose File - Open on my Mac but this test file does not appear on Numbers on iPhone or iPad.

    I have tried all what you have suggested but still no luck. I am unable to locate the file Mobile Documents in either the Library folder under Mac HD or Mac HD - System - Library.
    If you've set up iCloud properly on the Mac then in your Library there will be a Mobile Documents folder with documents in it:
    Everything else syncs absolutley fine such as contacts, mail, notes, pictures etc etc.
    Contacts, Mail, etc. sync via another iCloud protocol. For Numbers you need 'Documents & Data' turned on, per the screenshot upthread.
    Numbers appears twice under iCloud for some reason though -
    Numbers doesn't appear "under iCloud".  Numbers uses iCloud to sync. Not sure what your screenshot is showing. On the Mac your Numbers will be here (in Finder):
    SG

  • After migrating to a retina macbook with mountain lion I can not play windows media player files with flip4mac anymore

    After migrating to a retina macbook with mountain lion I can not play windows media player files anymore. I use flip4mac pro 3.0 and quicktime 7.6.6.
    The message I receive is: De bewerking kan niet worden voltooid. (OSStatus fout -50). I also have problems with zip files that can not be saved on the desktop anymore while unzipping.

    I actually installed Quicktime pro and Flip4Mac Pro again after I bought the Retina Macbook. Today I did it again but still get the same OSStatus error -50. I guess there is some old file that has to be removed. Flip4Mac comes with an uninstaller. Quicktime does not.
    I read that his could be something with security that is why I mention the problem with the zip files as well.

  • How to import Sony EX1 files into FCS (that are already on HD in folders)

    let me try an explain, I have bought some footage, and the person that sold me the footage gave me the raw files. I was shot using a SONY EX1. I have one too, as well as a EX3. My difficulty is that I'm not able to import the files into FCS... when I import my own footage I read it from the SXS using XDCAM Transfer, but as the footage he sold me is already on my HD and in the raw form (in folders divided into files)...
    Any ideas?
    Thanks

    I have been away on a shoot, but finally back, and still have not resolved the problem...I have try to do what you say, but XDCAM Transfer does not recognize the folders... it is strange...any other idea???

  • Can not execute a simple update query with ms access

    Hi
    I am trying to execute a simple update query , this is the code I am running : I get no exeptions but the db is not being updated .
    When I copy my query into access it works !
    The table / columns are spelled correctly and I am able to execute select queries.
    can anyone figure out what is going on
    Thanks shahar
    public static void main(String[] args) {
    MainManager mainManager = MainManager.getInstance();
    Log log = Log.getInstance();
    try {
    log.writeDebugMessage("befor executing query");
    //stmt.executeUpdate("update trainee set Trainee_Name = 'shahar&Rafi' where Trainee_Id = 1 ");
    //stmt = null ;
    PreparedStatement stmt1 = con.prepareStatement("UPDATE Trainee SET Trainee_Name =? WHERE Trainee_Id =?");
    String name = new String("Shahar&Rafi");
    int Id = 1 ;
    stmt1.setString(1,name);
    stmt1.setInt(2,Id);
    System.out.println(stmt1.toString());
    stmt1.execute();
    log.writeDebugMessage("After executing query");
    catch (SQLException e ){
    System.err.println("SQLException: " + e.getMessage());
    }

    Hi All,
    got the problem solved at last.
    first, in the SQL string all the values must be within " ' "
    for example:
    INSERT INTO Trainee(Trainee_Id , Trainee_password , Trainee_Address, Trainee_Name , Trainee_Phone , Trainee_Gender , Trainee_SessionTime , Trainee_Purpose , Trainee_HealthStatus , Trainee_StartDate , Trainee_Birthday) VALUES (6,'333','hhhh','rafi',048231821,true,63,4,true, ('Feb 22, 2002'), ('Feb 22, 2002'))
    second and more important,
    a 'dummy' sql select query must be performed after an update query
    example for code:
    try{
    DB.MainManager.getInstance().ExecuteUpdateQuery(A);
    DB.MainManager.getInstance().getStatement().executeQuery("SELECT * FROM Trainee");
    where A is the update query.

  • Slow access to files that are already being opened by another user

    HI,
    A client has a Windows 2008 server setup with Windows 7 workstations.  When a user opens a document (docx, xlsx etc) on the server it opens without an issues.  If a second user tries to open the same file that the first user is in, the second users
    computer hangs for about 2-3 minutes before bringing up the 'another user in accessing this file' box.   This is happening with every file type and with any user.  
    Any ideas?

    Hi,
    Do you mean that only the office files have the issue or all file types have the issue? Please refer to the thread below to troubleshoot the issue:
    File Server Role: Slow access for "opened files" and slow Explorer browsing
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/3b73f5c3-9f6b-4270-bef3-14c14137e734/file-server-role-slow-access-for-opened-files-and-slow-explorer-browsing?forum=winserver8gen
    Regards,
    Mandy
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I can't drag and drop files that are already on my desktop

    Files and images that are already on my desktop will not respond when I try to 'drag and drop' them, for example into the trash or iPhoto.
    No idea how this has happened!
    Thanks

    Probably but I don't know why.  If everything's working don't worry about it, change it to what you want and count your blessings - there's nothing wrong with your Mac!!!

  • Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it?

    Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it in some other form befor dragging it?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • I recently upgraded to a G5 and Logic Pro 8. My previous system was a Power Mac 7200 with Logic Platinum 3.5.3. I can not open the old song files unless they are first saved in Logic 6 or 7. Where do I get a dongle for Logic 7?

    I recently upgraded to a G5 and Logic Pro 8. My previous system was a Power Mac 7200 with Logic Platinum 3.5.3. I can not open the old song files unless they are first saved in Logic 6 or 7. Where do I get a dongle for Logic 7?

    eBay or Craigslist would be the only choice.

  • Error: can not execute binary files SAP on Linux

    Dear Gurus.
    I have installed SAP test drive netweaver 2004 on my Linux. when ever i am trying to get the hardware key by the command Saplicense - get, I am getting the error message that " can not execute binary file."
    pls do let me know how to get rid of this.
    Abhishek

    > I have installed SAP test drive netweaver 2004 on my Linux. when ever i am trying to get the hardware key by the command Saplicense - get, I am getting the error message that " can not execute binary file."
    Please post the output of the commands (as use <sid>adm):
    file `which saplicense`
    uname -a
    Markus

  • Windows Vista home addition want let Icloud execute. I went into the DEP program but I can not find the Apple exe file to add as ok. What is the file name?

    Windows Vista home additon want let Iclud execute. I went into the DEP program but I can not find the Apple exe file to add as ok. What is the file name?

    Hey,
    if you know the name(s) of the root folder(s) you want to access (eg. by making a note on the Windows side) then you can make them appear by just doing Shift-Command-G in Finder ("Go to Folder…"), and entering the full path to the required folders.  You can then navigate all the contents as normal.
    HTH,
    S.

  • Questions about "Diff Sequence File With..." function

    Hello,
    I've started working on a project where I'm maintaining a piece of older code written by a since-departed employee of my company.  It's a TestStand 3.0 sequence file calling on Labview 7.0 code. The thing is, there were two of these installations done at different times and, somewhere in the woods between stations 1 & 2, the code base diverged.  Part of it was due to not being able to get exact duplicate hardware for the PXI chassis and part was, apparently, due to the fact the client used the 2 machines to test different UUT models.
    So, I'm looking at copies of the installed code base on the two machines using the diff feature in TestStand.  (If it makes a difference, I'm doing this viewing in TestStand 3.5 since TS3.0 has mysteriously gone corrupt on me at the moment on my main development computer and, if memory serves, you have to uninstall all the later version of TS to reinstall an older version.  An altogether fun process, no doubt, but a little time consuming.)
    Anyway, the first thing I notice is that very many of the sequence steps have different Step Properties.Step ID values that look something like this: "ID#:2vMTp0db002mQDXArddRSA".  Messing with the diff screen showed an option to "Ignore Unique Step Ids" which got rid of these.  Regarding these unique step ID's: When are they generated and do they remain constant on a particular machine?  Beyond mere curiosity, I wonder because another diff is in some of the "On Pass Target" or "On Custom Condition True Target" under certain Step Properties and the value under there looks suspiciously like those unique ID's (i.e. ""ID#randomstuff"").  Are these all dynamically updated at runtime or will I break something by changing those (say if I copy a sequence from one version overwriting it in the other)?
    So, I filtered the unique ID's out.  The next large area of difference is that many, but by no means all, Labview VI calls have a difference under Step Properties > Flexible Labview Adapter Properties > ViCall > Connector Pane Checksum > Value.  Also, in a few other instances, ViCall > error out > Connector Number is different as well.  Does this indicate a different underlying VI?
    There are a few other differences, but I can interpret those.  My goal is to get one sequence file for both machines so the code will be easier to maintain.  I do think that some of the VI's with different Connector Pane Checksums may be different between the two installations since one of the different hardware components required a different driver library.  This leads to a third question, what does it take to use identical sequence files when the underlying VI's might differ?  Is it just the interface needs to be the same?  Like the connector pane has the same geometry and data types for the exposed inputs and outputs?
    Thanks for any help,
    Mike
    Solved!
    Go to Solution.

    I just got off the phone with NI support, so no worries on the answers.
    Short versions:
    The unique ID's are regenerated when a sequence is copied.
    Teststand doesn't need higher versions uninstalled to reinstall an earlier copy.
     Connector Pane Checksum implies a different underlying VI, but having the same connector geometry/inputs/outputs/types should allow you to have a different VI for different installations without different sequence files.
    Still waiting to hear back from support on whether the goto pointers get updated properly when a sequence or portion of a sequence is copied.

  • Compiling COBOLs in PSOVM - psrun.mak error - "cob64: can not execute Id".

    Hi All,
    After installing PeopleSoft OVM in our server, I need to recompile the COBOL. I believe this is not included in the OVM. These are the steps I did.
    1. Installed Microfocus Server Express 5.0 WrapPack 4
    2. Follow the steps in Compiling Cobol in Unix mentioned is the PeopleTools_8.50_Installation_Oracle guide.
    I was able to successfully compille the COBOL files by running ./pscbl.mak. The next step is Linking COBOL Components on UNIX by running ./psrun.mak and here I got the error:
    +./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...+
    +./psrun.mak - Error(s) encountered creating PSRUN!+
    +./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages+
    +[root@pshcm91ab setup]# more /opt/oracle/psft/appbatch/tools/setup/psrun.err+
    cob64: can not execute ld
    +[root@pshcm91ab setup]#+
    I followed all the steps in setting environment variable mention in the "Compiling Cobols in Unix" in PeopleTools_8.50_Installation_Oracle.
    Is there any specific documentation of compiling COBOLs in PeopleSoft OVM?
    Can anyone help me with this?
    Thanks in advance.
    -Chris
    Edited by: user9977167 on 4/02/2010 15:52
    Edited by: user9977167 on 5/02/2010 06:18

    Hi,
    Ok, I reproduce your case :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    cob64: can not execute ld
    [psadm1@psovmab setup]$It looks like a lot of rpm packages required by ld are missing on Peoplesoft OVM App/Batch server compared to the Peoplesoft OVM database server for instance.
    I added a lot of packages because of the dependendcies as below :
    From OEL5.2 Disk 1
    ==================
    -rw-r--r-- 1 root root  899210 Feb  7 10:10 kernel-headers-2.6.18-92.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3073639 Feb  7 10:25 binutils-2.17.50.0.6-6.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3114462 Feb  7 10:29 cpp-4.1.2-42.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh kernel-headers-2.6.18-92.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:kernel-headers         ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh binutils-2.17.50.0.6-6.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:binutils               ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh cpp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:cpp                    ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 2
    ==================
    -rw-r--r-- 1 root root  614718 Feb  7 10:05 glibc-headers-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2535024 Feb  7 10:05 glibc-devel-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2105297 Feb  7 10:05 glibc-devel-2.5-24.i386.rpm
    -rw-r--r-- 1 root root 5544086 Feb  7 10:20 gcc-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root 3987493 Feb  7 10:20 gcc-c++-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    83518 Feb  7 10:31 libgomp-4.1.2-42.el5.i386.rpm
    -rw-r--r-- 1 root root    84654 Feb  7 10:41 libgomp-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root  2980440 Feb  7 10:43 libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    20483 Feb  7 11:46 elfutils-libelf-devel-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root    58852 Feb  7 11:46 elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root   102193 Feb  7 11:49 elfutils-libs-0.125-3.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh glibc-headers-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-headers          ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.i386.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.i386.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh gcc-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc                    ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh  libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libstdc++-devel        ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh gcc-c++-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc-c++                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libs-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libs          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libelf-devel-0.125-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libelf-devel-s########################################### [ 50%]
       2:elfutils-libelf-devel  ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 3
    ==================
    -rw-r--r-- 1 root root  4588773 Feb  7 10:22 compat-gcc-34-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root 13542100 Feb  7 10:23 compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root   232846 Feb  7 12:21 compat-libstdc++-33-3.2.3-61.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34-c++      ########################################### [100%]
    [root@psovmab rpm]#The initial error is gone, but got a new one when linking :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    ld: cannot find -lgcc
    [psadm1@psovmab setup]$I looked around for this error, found a Metalink note, but the suggestion does not apply here, the path directory metioned in $COBDIR/etc/cobopt already exists :
    [psadm1@psovmab setup]$ more $COBDIR/etc/cobopt
    -C nolist
    set GCC_LIB=/usr/lib/gcc/x86_64-redhat-linux/3.4.6
    [psadm1@psovmab setup]$ ls /usr/lib/gcc/x86_64-redhat-linux/3.4.6
    32          crtbeginS.o  crtend.o   include   libgcc_eh.a  libgcc_s_32.so  libstdc++.a   libstdc++_nonshared.a  libsupc++.a
    crtbegin.o  crtbeginT.o  crtendS.o  libgcc.a  libgcc_s.so  libgcov.a       libstdc++.so  libstdc++_shared.so    specs
    [psadm1@psovmab setup]$So far, no luck, I'll still try, but you may have more luck to install a separate server with all the packages install from the scratch and run a process scheduler from there.
    Nicolas.

  • Update Row into Run Table Task is not executing in correct sequence in DAC

    Update Row into Run Table Task is not executing in correct sequence in DAC.
    The task phase for this task is "Post Lost" . The depth in the execution plan is 19 but this task is running some times in Depth 12, some times in 14 and some time in Depth 16. Would like to know is this sequence of execution is correct order or not? In the out of the Box this task is executed at the end of the entire load. No Errors were reported in DAC log.
    Please let me know if any documents that would highlight this issue
    rm

    Update into Run table is a task thats required to update a table called W_ETL_RUN_S. The whole intention of this table is to keep the poor mans run history on the warehouse itself. The actual run history is stored in the DAC runtime tables, however the DAC repository could be on some other database/schema other than warehouse. Its mostly a legacy table, thats being carried around. If one were to pay close attention to this task, it has phase dependencies defined that dictate when this task should run.
    Apologies in advance for a lengthy post.... But sure might help understanding how DAC behaves! And is going to be essential for you to find issues at hand.
    The dependency generation in DAC follows the following rules of thumb!
    - Considers the Source table target table definitions of the tasks. With this information the tasks that write to a table take precedence over the tasks that reads from a table.
    - Considers the phase information. With this information, it will be able to resolve some of the conflicts. Should multiple tasks write to the same table, the phase is used to appropriately stagger them.
    - Considers the truncate table option. Should there be multiple tasks that write to the same table with the same phase information, the task that truncates the table takes precedence.
    - When more than one task that needs to write to the table that have similar properties, DAC would stagger them. However if one feels that either they can all go in parallel, or a common truncate is desired prior to any of the tasks execution, one could use a task group.
    - Task group is also handy when you suspect the application logic dictates cyclical reads and writes. For example, Task 1 reads from A and writes to B. Task 2 reads from B and writes back to A. If these two tasks were to have different phases, DAC would be able to figure that out and order them accordingly. If not, for example those tasks need to be of the same phase for some reason, one could create a task group as well.
    Now that I described the behavior of how the dependency generation works, there may be some tasks that have no relevance to other tasks either as source tables or target tables. The update into run history is a classic example. The purpose of this task is to update the run information in the W_ETL_RUN_S with status 'Completed' with an end time stamp. Because this needs to run at the end, it has phase dependency defined on it. With this information DAC will be able to stagger the position of execution either before (Block) or after (Wait) all the tasks belonging to a particular phase is completed.
    Now a description about depth. While Depth gives an indication to the order of execution, its only an indication of how the tasks may be executed. Its a reflection of how the dependencies have been discovered. Let me explain with an example. The tasks that have no dependency will have a depth of 0. The tasks that depend on one or more or all of depth 0 get a depth of 1. The tasks that depend on one or more or all of depth 1 get a depth of 2. It also means implicitly a task of depth 2 will indirectly depend on a task of depth 0 through other tasks in depth 1. In essence the dependencies translate to an execution graph, and is different from the batch structures one usually thinks of when it comes to ETL execution.
    Because DAC does runtime optimization in the order in which tasks are executed, it may pick a task thats of order 1 over something else with an order of 0. The factors considered for picking the next best task to run depend on
    - The number of dependent tasks. For example, a task which has 10 dependents gets more priorty than the one whose dependents is 1.
    - If all else equal, it considers the number of source tables. For example a task having 10 source tables gets more priority than the one that has only two source tables.
    - If all else equal, it considers the average time taken by each of the tasks. The longer running ones will get more preference than the quick running ones
    - and many other factors!
    And of course the dependencies are honored through the execution. Unless all the predecessors of a task are in completed state a task does not get picked for execution.
    Another way to think of this depth concept : If one were to execute one task at a time, probably this is the order in which the tasks will be executed.
    The depth can change depending on the number of tasks identified for the execution plan.
    The immediate predecessors and successor can be a very valuable information to look at and should be used to validate the design. All predecessors and successors provide information to corroborate it even further. This can be accessed through clicking on any task and choosing the detail button. You will see all these information over there. As an alternate method, you could also use the 'All/immediate Predecessors' and 'All/immediate Successor' tabs that provide a flat view of the dependencies. Note that these tabs may have to retrieve a large amount of data, and hence will open in a query mode.
    SUMMARY: Irrespective of the depth, validate
    - if this task has 'Phase dependencies' that span all the ETL phases and has a 'Wait' option.
    - click on the particular task and verify if the task does not have any successors. And the predecessors include all the tasks from all the phases its supposed to wait for!
    Once you have inspected the above two you should be good to go, no matter what the depth says!
    Hope this helps!

  • " Can not interpret the data in file " error while uploading the data in DB

    Dear All ,
    After running the below report I am getting the " Can not interpret the data in file " error.
    Need to upload the data in DB through excel or .txt file.
    Kindly advise to resolve the issue.
    REPORT  ZTEST_4.
    data : it like ZPRINT_LOC occurs 0 with header line,
    FILETABLE type table of FILE_TABLE,
    wa_filetable like line of filetable,
    wa_filename type string,
    rc type i.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    CHANGING
    FILE_TABLE = filetable
    RC = rc.
    IF SY-SUBRC = 0.
    read table filetable into wa_filetable index 1.
    move wa_filetable-FILENAME to wa_filename.
    Else.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = wa_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = it.
    IF SY-SUBRC = 0.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    insert ZPRINT_LOC from table it.
    if sy-subrc = 0.
    commit work.
    else.
    rollback work.
    endif.
    Regards
    Machindra Patade
    Edited by: Machindra Patade on Apr 9, 2010 1:34 PM

    Dear dedeepya reddy,
    Not able to upload the excel but have sucess to upload the .csv file to db through the below code. Thanks for your advise.
    REPORT  ZTEST_3.
             internal table declaration
    DATA: itab TYPE STANDARD TABLE OF ZPRINT_LOC,
          wa LIKE LINE OF itab,
          wa1 like line of itab.
                       variable  declaration
    DATA: v_excel_string(2000) TYPE c,
           v_file LIKE v_excel_string VALUE    'C:\Documents and Settings\devadm\Desktop\test.csv',  " name of the file
            delimiter TYPE c VALUE ' '.         " delimiter with default value space
         read the file from the application server
      OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    write:/ 'error opening file'.
      ELSE.
        WHILE ( sy-subrc EQ 0 ).
          READ DATASET v_file INTO wa.
          IF NOT wa IS INITIAL.
            append wa TO itab.
          ENDIF.
          CLEAR wa.
        ENDWHILE.
      ENDIF.
    CLOSE DATASET v_file.
    EXEC SQL.
         TRUNCATE TABLE "ZPRINT_LOC"
    ENDEXEC.
    *------display the data from the internal table
    LOOP AT itab into wa1.
    WRITE:/ wa1-mandt,wa1-zloc_code,wa1-zloc_desc,wa1-zloc,wa1-zstate.
    ENDLOOP.
    insert ZPRINT_LOC from table itab.

Maybe you are looking for

  • Can anybody help on sending mail through Java Code

    I am trying to send the mail using the java code and I am unable to do it. My code is import java.io.*; import java.net.*; import java.util.*; import java.text.*; public class EmailExample { public static void main(String[] args) Socket smtpSocket; D

  • How to calculate the number of operations in Undo/Redo stack?

    How to calculate the number of operations in Undo/Redo stack? I tried to override UndoManager.pushUndo method and increment "operationsCounter" there, but pushUndo is called each time I make a change in text. Another idea was to override EditManager.

  • Problems between a WCS and a Location 2710.

    I have a Location 2710 that was being seen by the WCS. It worked fine for almost a day. But strangely it started to being not seen by the WCS. I tried to associate again the 2700 with the WCS but I received a message from the WCS: No response from Lo

  • Load a  external jpg in BitmapData

    Hello Everybody, I search a way to load a external jpg from my server in my swf to use it with the BitmapData-Class. The Method loadBitmap only works with images from my internal library. What do you think is the best way to solve this problem. For m

  • Epson Stlyus CX-4200

    is there a special driver to get so i can print with my epson?? the reason being is i dont have a wireless network i my home, my mom and dads eMachines, has been finall declared as dead, and there using that downstairs, i have my iBook in my room ups