Execute list of sequence in asynchrono​us

Hi,
I would like to design a simply Test Sequencer that can execute testing on multiple device in asynchronous.
I knew that TestStand is the best solution for my task, but due to some constraints I am not able to use it.
There are so many way can do it (create multiple event in same case, run the application in multiple instance ).
But I would like to know is there any good method to design this for easier maintainability and sustainability in future.
Any suggestion or example?
Thanks.

TanTan wrote:
Yes there are a lot of state machine examples, but I still not yet found anyone can do parallelism job in single GUI.
Generally for GUI releated items you can use a producer/consumer architecture.
You might want to be a bit more specific about what you aretrying to solve. You discuss implementing and sequential test excution engine and then add parallelism. Which are you trying to do? What exactly is your goal?
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • How to execute packages in sequence/order ODI11g

    Hi
    I developed 10 package and i want to execute these packages in order, one by one.
    When Package 1 finished than should automatically starts Package 2 when it finished then should start Package 3 till Package 10.
    Regards
    Sher

    Hi,
    Generate scenario for each of the 10 package.
    Then create another package say MAIN_PACKAGE
    place the scenario of 1st package then scenario of 2nd package and so no till 10th package scenario
    Join 1st to 2nd via OK line and continue it to 10th one.
    When you execute the MAIN_PACKAGE all of your child package (package1,package2 ... package10) will get executed in a sequence provided no child package fails . In case of any failure your execution will stop there only.
    Thanks,
    Sutirtha

  • T.code S_ALR_87100833: in the aouput list the sequence number ...

    Hi All,
    launching the tax report by t.code S_ALR_87100833, in the output list the sequence number is linked to the tax code. Instead, I need it depends on the number of document listed.
    Any suggestion for me?
    Thanks
    Gandalf

    hi,
    Advance return for tax on sales on purchases
    enter c.code 1000
    Fiscal year    2008
    general selections
    posting dates  01.04.2008  to 31.03.2009
    Select Further Selections tab
    1. Tax on sales purchases Codes   select multipl selection
    enter ur output tax code or input tax code
    than excuite
    2.Transaction  select multiple selection 
    enter ur output tax Account Keys or Input tax Account keys
    than excuites
    next again Excuites
    than see ur advance tax out put or input tax reports
    this is  the way for advance tax retuns
    ur problem not understood
    path : easy access - accounting - financial accounting - general ledger - reporting - Tax reports - general - advance tax returs on sales and purchases - s_alr_87012357 advance tax on sale and purchases
    regards,
    janakiram

  • Where is a list of Sequence Assets (files)?

    I was looking at my friend's CS4 Premiere, and couldn't for the life of me find a window that listed the assets of a sequence.  You seemingly had to zoom into a timeline and peer at what was placed in it.
    This can't be, right?  Anyone know how to call up a list of clips and titles for a sequence?
    Kaiser

    Seems it would be nice to have a continual update list of sequence assets ...
    I guess I don't understand that need. That's what project management and organization is all about.
    One option you could use, if your project gets bloated with a lot of unused materials, is to use the Project > Remove Unused command. Premiere will remove all footage items from the project that are not being referenced by any sequences within the project. Note that this will not remove the materials from your hard drive; it simply removes the clip references from your bins. If you actually want to purge materials from the hard drive, check out the Project Manager (Project > Project Manager). You can specify options with this tool that will allow you to pare down a project and its related media.

  • 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!

  • No Authorization error in executing a planning sequence

    Hi,
    We are using BI 7.0 Integrated Planning.
    We have implemented Mark Bernaud's file upload solution. We have used a planning sequence that uploads the file and stores it in a cube. Using it, we are able to upload files without any problem when executing with a SAP User Id which has all the authorizations (the user id has SAP_ALL specified in its list of profiles). Now, we have a requirement where we need to execute the file upload using a user id which has limited authorizations. When we are trying to execute the file upload with the userid that has limited authorizations, we are getting the following authorization error.
    'You are not authorized to execute sequence PL_SEQ_FL_UPLOAD'
    where PL_SEQ_FL_UPLOAD is the name of planning sequence we are using. We have also included the authorization variable in the filters being used as suggested in one of the blogs but this didn't help.
    Could anyone please let us know the authorization objects to be added to the user id to enable access to this file upload.
    Many Thanks,
    Narendra.

    Thank you very much Diogo,
    The objects you suggested were already there. We have successfully traced the error by switching on the trace using ST01. We found the reason for the error to be that display authorization is not provided for S_RS_PLSQ whereas execute authorization is already present for that.
    Once again thanks Diogo.
    Many Thanks,
    Narendra

  • When ripping a CD to iTunes to sync to iPod classic, songs are not listed in sequence.  Some are missing only to find them further down the list

    When ripping some CDs to iTunes to then sync to my iPod classic, songs are not listed in proper sequence.  Some are separated from CD and listed elsewhere, what gives??

    You probably have you Itunes music set as list and not as albums. Go to view at the top of Itunes and check as albums.

  • How can I start multiple Labview build executables in a sequence

    I need to start several executables in a certain order with pauses between them.
    How is this done.

    Why don't you make a new vi which contains a sequence structure and their you put in the program you want to run first (inserting a sub.vi) and then a pause or the second program and so on.
    I attached a screenshot by which i think you want to have your program.
    If you want to open other executables (for example ms exel and after few seconds open ms word) then its also possible to use the sequence structure.
    I hope i understand the question correctly, and this will help you solve your problem
    Attachments:
    sequence.JPG ‏24 KB

  • Reinitailizing a variable after executing a command sequence

    I am trying to set a condition where when a command is sent to a particular operation that it will only do it once and then stop until the command is sent again. The operation in LV resides in a while loop with many other simultaneous operations, so if the command is not changed or reset, it would contiune to execute while I dont want it to. The command is a string that is sent by an external device at irregular intervals.
    If I were doing something like this in VB or C, the command sequence would look something like:
    IF command = "xyz" then
    {does the operations}
    command = ""
    END IF

    I have included 2 examples for you (in LV 6.0).
    The first illustrates how to compare the current string with the past string using a shift register. This vi enables you keep the string showing the last setting, but if you want to repeat this same setting then it wouldn't work.
    The second vi shows how to reset the string to an empty string, so if the string contains something then the operation will run. The last setting will be lost using this method, but repeats will work.
    I hope this makes things a little clearer for you..
    Kim
    Attachments:
    String_selector.vi ‏17 KB
    String_selector_2.vi ‏17 KB

  • 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

  • Limit List From Sequence File

    In my sequence file I have approximately  2500 lines.  I have over 100 limits scattered about the sequence file.  Is there a script that can assemble and list the limits in an organized format available?  I am using TestStand 3.0. 
    Tony

    HI,
    You could use the Import/Export Tool to output the limits to a file.
    Not sure if with TS3.0 whether there is a <All Sequences> option, if not you will have to select each Sequence and perform the export of the limits and append the result to the file.
    Hope this helps
    Ray Farmer
    Regards
    Ray Farmer

  • Is there a way to log what user that executed a task sequence

    Our MDT task sequence prompts a user to enter their credentials to access the deployment share and see the task sequences to choose from.
    Is this already logged somewhere, or anyone have any clever ways of producing that information?

    Additional to said by Keith
    Garner, in BDD.log look for:
    Property OSDJoinAccount is now = <DOMAIN>\<USERNAME> - The user ID to be used to make network connections.
    Validate Domain Credentials [<DOMAIN>\<USERNAME>] - The name of the account used to join the domain.
    Property DomainAdmin is now = <USERNAME>
    Add this in CustomSettings.ini:
    ;Logging
    SLShare=\\<SERVER>\DeploymentShare$\Logs
    SLShareDynamicLogging =\\<SERVER>\DeploymentShare$\Logs\%ComputerName%
    in appropriate %ComputerName% folder on <SERVER> during OSD will be generated dinamically updated BDD.log
    Inspect this with trace32 from System Center Configuration Manager 2007 Toolkit V2.

  • How to execute a same sequence number for the resulting dynamic rows

    Hi friends,
    I have a sequence and trigger(which will fire id for each and every row insert).
    My scenario is, If i update more than 5 rows at a time means, i need to set a same sequence number example(1) for all the 5 rows.
    Next time, if i update another 5 rows means, then i need to set a same sequence number (i.e) 2 for the next 5 rows.
    So, my updation will be dynamic(may be 2 ,5, 10 rows at a time), But i need to set a same sequence number for one of the column for all the rows that i update.
    Next time, if i update another set of rows means, then i need to set only the next sequence number(i.e) 2(assume that previously updated sequence for the before set of rows is 1) for another set of rows.
    Like that sequence has to update in a sequential manner for more than one set of rows in that column.
    How to achieve it friends.
    example
    id-----------------name
    1-------------------A
    1-------------------B
    1-------------------C
    1-------------------D
    1-------------------E
    2-------------------D
    2-------------------E
    2-------------------F
    2-------------------G
    3-------------------H
    3-------------------IBrgds,
    Mini

    Hi,
    You forgot to mention your version.
    If you want a trigger based solution, then in 10g you need two triggers
    1. A statement level trigger that takes sequence.nextval into a dummy variable that will not be used.
    2. A for each row trigger that uses sequence.currval.
    In 11g you should be able to write a single, composite trigger.
    If you want a solution with no triggers, it could look something like
    SQL> create sequence s start with 10;
    Sequence created.
    SQL>
    SQL> create or replace function s_wrapped
      2  return number
      3  as
      4     v number;
      5  begin
      6     select s.nextval
      7     into v
      8     from dual;
      9
    10     return v;
    11  end s_wrapped;
    12  /
    Function created.
    SQL> create table tab1 as (Select level x, cast(null as number) y from dual connect by level <= 5);
    Table created.
    SQL> update tab1
      2    set y = (select s_wrapped from dual)
      3   where x <= 3;
    3 rows updated.
    SQL> commit
      2  /
    Commit complete.
    SQL> select *from tab1
      2  /
           X          Y
           1         10
           2         10
           3         10
           4
           5
    SQL>Regards
    Peter

  • Problem with process not being executed depending on sequence

    Got a weird problem which is causing us much frustration. We have a page with 6 processes on. It appears that several of the processes are not being run by Apex, we've verified this by looking at the debug readout.
    We created a new, unconditional test process to always run and placed it before all the other processes in the page. However it's not being run either. It doesn't even show up in the debug. But if we then change it's sequence so it's the last process in the page, it runs fine and shows up in the debug readout.
    Could we have set something on the page that's causing Apex to skip the first 2 processes. Even if they're conditional I'd expect the debug readout to show that Apex hasn't run them (e.g. 0.03: ...Do not run process "PROCESS1").
    The processes on the page have sequences of 10, 20, 30, 35, 40, and 999. If we create the Test process and assign it any sequence below 20, it fails to run. A sequence of 21 or above makes it run.
    Any ideas? We are stumped!

    They are all After Submit processes, they only run when the page is submitted, not when first built, so should they not all be shown in debug when the page is submitted, whether they're conditonal or not?
    The strange thing is, if I change their sequence values to 21 or above, they run fine. Although this does solve our problem it doesn't explain why they're not running as expected, and it's a potential issue that could catch us out elsewhere.
    Edit - we're narrowing it down I think. One of the processes appears to be the cause of this. If we increase it's sequence number, it seems that anything with a lower sequence than it never seems to run. I'll have a look at what this process is doing although I still don't understand why the ones before it don't show up.
    Edited by: Antilles on Mar 11, 2009 9:12 AM

  • Field Code , List Numbering , Sequence Fields

    In MS Word it is possible to create a list using what is referred to as a field code. The field code is referred to as list number or listnum or seq code.
    Is there equivalent functionality in Incopy or Indesign?

    In MS Word it is possible to create a list using what is referred to as a field code. The field code is referred to as list number or listnum or seq code.
    Is there equivalent functionality in Incopy or Indesign?

Maybe you are looking for

  • Error on deleting page group (Path ID does not exist)

    Hello I'd like to delete a page group of my project. Normally I have no problem with that. But sometimes the following exception is thrown and the group can not be deleted: An unexpected error has occurred (WWS-32100) ORA-1: User-Defined Exception (W

  • Text notification ringtone

    So I've downloaded some ringtones and have no problems with phone calls and email notifications but whenever I get a text message, I first hear the ringtone followed by droid tone.  How can I get rid of the droid tone?

  • ITunes wont recognise Audio CD Track format files (No answer in Archive)

    I have a 60GB iPod. Have downloaded the latest iTunes and iPod drives. I usually copy all songs on a spare removable mass storage disk drive, and then add the entire folder made up of hundreds and hundreds of songs. Now. All songs with MPEG format, a

  • How do you set the expiration date of a secure zone?

    I am trying to set up a form where a user can sign up for access to a secure zone for 1 year. How do I set the expiration date of the secure zone for them to expire one year after they sign up for it? I have tried using a hidden field named "ZoneExpi

  • Ipod permanetly on hold and DND screen displayed - Help!

    hooked up my iPod to my PC and then attempted to start up iTunes. After several failed attempts to start up iTunes (i.e., double-clicked several times, waited, and nothing happened), I disconnected my iPod. Only then I was able to start up iTunes. Ho