Use of Batch Synchronization??

Hello,
I am trying to run 2 steps at the same time.  Each step calls a subsequence.
I tried using the Batch Synchronization step before and after the 2 steps I am trying to execute at the same time (Enter, Exit).
I have the Section Type set to Parallel (All Threads Enter Simultaneously).
When I run the program, it still seems to run the first step first, and the second step second, in order.
Is this the proper use of the step Batch Synchronization?
B.W.

Hi Big Will,
I'm afraid I misunderstand your issue.  Let's get straight on some terminology so I can help you better.
1-"2 steps at the same time" to me means that you have two different steps in your sequence but you want them to execute simultaneously and asynchronously of each other.   OR 
2- it could mean that you have one step and the batch model is set up to run two different testsockets which would create two different threads for the same step.  Then you want those two different threads to run at the same time.  OR
3-it could mean that you have 2 steps in a sequence that execute in order and for those two steps you want a synchronized section in which the steps get executed at the same time within each thread your batch process model spawns.  Which one do you mean?
First of all that is the incorrect usage of the Batch Synchronization step.  That step is for different threads of the same sequence.  So like your batch model will spawn 3 testsockets (threads) of the same sequence.  The synch sections are for synchronization among the threads.  Not for steps within a single thread. 
I'm attaching a small example of what I think you want.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Attachments:
Asynch2Steps_Old2.seq ‏31 KB

Similar Messages

  • "Batch Synchroniz​ation" in Parallel Model

    Hi,
    I'm working on a project with up to 15 UUTs which are supposed to be running using the parallel model, since they have to be able to start and stop separately.
    There are conditions in which all active UUTs are paused and restarted upon request. Communication with the UUTs is established using a single demon. Now I need a synchronization method, to make sure only one thread runs the daemons initialization. Just like a batch synchronization using the "One Thread Only" option.
    The Batch steps do not work in the Parallel Model so is there a best practice establish a synchronization like this? I have some ideas, but I guess I'm thinking too complicated and can't see the wood for trees....
    Cheers
    Oli
    Programming languages don't create bad code, programmers create bad code....

    James,
    thanks for the reply. I guess I can implement sth like you suggested. Was just wondering, if I'm missing some built in option that saves me from tinkering myself.
    Cheers
    Oli
    Programming languages don't create bad code, programmers create bad code....

  • How to get the destination path in an photoshop sdk export plugin when using a batch action?

    Hello,
    I've written an exporter plugin (not save-as) that exports a given file to a custom format.
    I was able to open a file selector dialog and choose a path that is then transported to the saving location.
    Now my problem is: Another intended use is batch exporting many files. The user records an action with the export step and then applies a batch on it.
    The PS batch window allows you to select the destination to be a directory where the exporter should write the data. Fine.
    Now how do I get this path? When running in batch mode the silent flag is set for my plugin so I do not spawn a file selector dialog to annoy the user.
    But I am also unable to obtain the path which was selected by the user in the batch window.
    The SDK automation plugin Getter has some code to retrieve the path of the file and even that fails as it cannot obtain anything.
    PropertyUtils.h has some PIGetWorkPathIndex and PIGetPathName functions but I always get 0 when asking PIGetNumberPaths, and get -1 with PIGetWorkPathIndex.
    I would be thankful if somebody could hint me how I can retrieve directories.
    It even seems impossible for me to get the path where the file is actually saved. The filter plugin called Propertizer utilizes a function called PIGetDocumentName but this only outputs the file name, not the full path.
    (Just to be sure: The file on which the tests run is already saved to disk, if that matters)
    Another fun part is: When I record an export step, what is the directory I am exporting into?

    Ok, after lots of reading the sdk sample outbound I've realized that or plugin is broken.
    When recording an action the outbound plugin stores the current path to gAliasHandle which is then recorded as a scripting parameter. Now when I execute the action I get the alias handle.
    However how is this supposed to work with an export plugin and batch processing with a "destination" set to a target? Is this even possible or do I need to double click the export step in the action and "reset" the location even if that causes the entire exporter to run again?

  • How to edit a line in a file using a batch file??????

    Basically i want to edit one line in a properties file, using a batch file, Here is what it says
    #Minecraft server properties
    #Tue Feb 22 15:58:36 PST 2011
    level-name=world2
    hellworld=false
    spawn-monsters=true
    online-mode=false
    spawn-animals=true
    max-players=5
    server-ip=5.196.238.77
    pvp=true
    server-port=25565
    white-list=false
    The IP address needs to be changed, i have a hamachi server and a server for home but i need to change this to my ip address on my computer wich is 192.168.1.74. This needs to be changed back and forth so how can i make a batch that just runs and then done its been changed.

    There are no .bat files in a Unix environment
    #!/usr/bin/env bash
    export NEW_IP=192.168.1.74
    perl -ni -e '
    s/d.d+.d+.d/$ENV{"NEW_IP"}/;
    print;
    ' yourpropertiesfile
    Make sure you change the file's protections so they are executable
    chmod +x nameof_yourscript
    There are other ways to do this, I just choose a perl script within a bash script. You could do it all with a bash script, you could use awk, you could use sed, you could use python, ruby, etc...

  • Help, how to install jvm and set the classpath using a batch file

    hello,
    i have created my java application and now have to create an installable / batch file which will install the JVM on the users machine and also the java packages such as javamail and the class files that i have created . it also has to set the classpath.
    i would like to know if anyone can tell me how to go about iti.e. how can i install the JVM using a batch file and then place the javamial packages etc in the apropriate directory .
    or is it advisable to explain it to the user how to go about it in tht user manual.
    and would also like to know that if i install the JVM will the path for the java.exe be set
    or will i have to set the path explicitly from the "batch file" so that the user can run the application without and problem just by running the java command followed by filename from the command prompt.

    hi,
    I have windows and I use it.
    The only problem with the free edition is that you can only create 1 launcher and that during the installation you get 1 popup showing that the installer was created with an unregistered version.
    Stijn

  • Can I use icloud to synchronize contacts and calender for 1 ipad and 3 Windows 7/8 PC?

    Can I use icloud to synchronize contacts and calender for 1 ipad and 3 Windows 7/8 PC?
    regards,
    Jan

    Thanks! One more question ..... Will I have to enter appointments on an iCloud default calendar by logging in to my iCloud account every time, or can I just enter data on calendars in my 2 devices?

  • I am looking for an example of how to use the Rendezvous synchronization object.

    I can't seem to find an example that uses the TestStand Synchronization Step Types. I am specifically interested in the Rendezvous type. I am have programmed quite a few VC++ applications that use semaphores, so I am familiar with the overall idea of sync objects.
    Thanks in advance.
    ~tony

    Here is a pretty good example that illustrates the benefits of multithreading over single threaded tests, and it utilizes a rendezvous to synchronize its multiple threads (see attachment to this post).
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    Attachments:
    Rendezvous_Demo.zip ‏81 KB

  • Problem about House Number of Vender Transfer by using LSMW+Batch-Input

    Hi,
    anyone has met the same problem?
    by using LSMW+Batch-Input method to transfer vender data the field House Number cannot be added.
    Object: 0040 Vendor Master
    Method 0002 Shared
    Program Name RFBIKR00
    Program Type B Batch Input
    Thanks in advance!

    in Vedndor master LSMW batch input method there is no field for House Number , we have only one filed
    (STRAS)for street and house numner in LSMW.
    first create the vendors after that update through XK02
    for this you can write program small LSMW recording  method
    using below fileds
    LIFNR                          C(010)    Vendor
    BUKRS                          C(004)    Company Code
    STREET                         C(060)    STREET
    HOUSE_NUM1                     C(010)    HOUSE_NUM1

  • Cancelling Goods Receipt and Using of Batch Number

    Hello,
    i did a wrong goods receipt with the MIGO and canceled after two days the material document with movement typ 102.The Material uses a Batch number.
    Now i want to use the old Batch number to do the right goods receipt, but the System says that the Batch number already exists.
    I thought when i cancel the material document i can use the old Batch number.
    I would be happy about every message.

    SAP does not stop you from re-using an existing batch number. The message that you get is in a SAP standard delivery just a warning, as it is from a business process unusual that the same batch can be received multiple times.
    If it is an error in your case, then somebody in your organization has changed the message attributes. so you should talk to them (see the change log in your DEV system) to know why this was done and  what the solution for your case could be

  • Using "automating batch sequence" query

    Hi,
    I am trying to add text content to an area of the page in a group of pdf files without having to open each file. I am not replacing existing text. After checking,  I could not find a batch sequence to do this in Acrobat v7.1. Could this feature be available in Acrobat v9.?  and/or would I have to use the (acrobat v7.SDK) to create a script and plug in to do this? or if not, in Acrobat v.9, use the SDK to create the script and plugin?  I would appreciate any information.
    thanks,
    je112

    It's not possible to just add running text to a PDF using a batch process or a script. What you can do is insert a field with text and then flatten it.
    This will have a result similar to adding text to the document, but it will not be an integral part of the running text (ie the text you add will not "push" the rest of the text forward).

  • Stale Data Error only Resolved by selecting "Use Update Batching"

    Hello,
    I'm having an issue after creating an update page in OAF.  The page only works when I select update batching within my EO.  The problem with this is my page is using a column type of BLOB which greys out the option to use update batching.  I have tried everything I can think of as well as search on every possible topic over the internet to resolve this issue.  Can't seem to figure it out.  It has become very frustrating as to why I can only update the table by selecting update batching.  Does anyone know how to overcome this issue?
    Thanks,
    Jeff

    I resolved this issue.  The reason I was receiving the stale data error was due to a custom table I created getting corrupted when adding the primary key through SQL Developer instead of doing coding it.  After I recreated the table the stale data error stopped displaying.  Hope this helps people in the future.  Just remember to code the table creation instead of creating it through SQL Developer.

  • How to run a FM using wf-batch

    Hi all,
    We are having one function module for updating production order number in a Z-Table.
    So whenever we save a production order this function module is automatically triggered using the user wf-batch and update the order number in the Z-Table.
    But we dont know how the function module was triggered using wf-batch when we created production order( Because the fm was created on 1998 by another client)
    How to find the link between FM(with wf-batch) and the production order?
    Kind Regards
    Kumar

    Hi aditya,
    Tnx for ur reply. But we are not using the WF module.
    If i put where used list for that FM then a business object with name Z_2005PP is displayed. In this they are using one method which contains the FM name.
    But if i put where used to that BO then no workflow template is available.
    So how they triggered the FM using wf-batch whenever they create the production order?
    Regards,
    Kumar.

  • Camera Raw Edits Not used in Batch

    Hey Everyone,
    I hope that someone can help me. I made alot of edits to about 100 images in Camera Raw ( ie (de)saturation, exposure adjustments, color adjustments,etc).
    I wanted  to finish up the images ( sharpening, saving) with an action that i created in Photoshop CS6.
    However, when i run the action in photoshop, none of the adjustments that I made in camera raw are visible. In other words, the saved images that were output of photoshop batch were essentially the images right out of the camera. What am I doing wrong?
    I appreciate your help in advance.
    -Andre

    The Action is very simple and does not make much sense to me.  The open step is not expanded so I can only guess that its and interactive open step inserted into the action using insert menu item and you selected file>open.  Other Since your original question is about RAW files I assume your opening a RAW file that has ACR settings previously set. So ACR should open the RAW file you select with its previously set ACR settings.  If  this is and interactive ACR step you can use Open as Object or Open Image.  Since later on in the action I see select layer "Background" you must be using open image for open object would create a smart object layer not a background layer.  You action then dupe the background layer and sharpens the duped layer select the background flattens and save as jpeg.   The result would be the same without the dupe and flatten.  These are needless steps.
    I also don't fully understand your original title "Camera Raw Edits Not used in Batch". Batch actions would normally not have and open step. Photoshop Automate Batch or a Photoshop script like the Image Processor would normally process open document or open files select in the bridge or pointed to in the batch process dialog. If the action has an open step the Batch Dialog has an option that can be used to override open steps. You did not show your bath dialog setting. I have never user that option and don't know exactly that option works. Particularly in this case where you failed to expand the open step.  If it is and Open As Camera RAW all image files in the source location will be open through ACR however JPEG  and Tiff files may not have ACR settings and other image file formats other the raw may cause errors. I do not know how the open step was recorded or how a open as camera raw steps are overridden. I'm sure Open recent and open file would open raw file through ACR and other image files formats would be open Photoshop where JPEG and Tiff file may be set to open through ACR.  Do all image file in you source image location have ACR setting and the file type set to be open via ACR?

  • Properties that are updateable and which ones not using epma batch client

    Can anyone provide list of properties (HFM/Essbase etc.) that are updateable and which ones not using epma batch client?

    This will be documented in the batch client and related documentation on the EPM documentation portal

  • Is there any program i can use to batch delete the inbound delivery ?

    Hello, everyone.
        Is there any program i can use to batch delete the inbound delivery ? Thanks.
    Xinzhou gao.

    Hi,
       VL66 is used for deleting temporary inbound deliveries that have been marked with the deletion flag in the database, the temporary deliveries should have the deletion flag selected in the database, but i want to delete the normal inbound delivery without deletion flag now, is there any  other solutions? Thanks.
    Xinzhou gao.

Maybe you are looking for

  • Tutorial - how to track user progress in a Captivate movie

    I wanted to start working with the new scripting capabilities in Captivate 4 and thought a good first project would be to create a set of variables and custom actions and execute the actions based on the state of the variables. I wrote up a descripti

  • SAP Best Practice for Plant Organizational Structure

    Hi Can one please suggest us . how we can design the Plant Structure ( Please refer OSS notes if you have ). 1) Design of a Plant / Storage location if it is located in  different state. We have one manufacturing plant , and six storage ware house in

  • I can not save an email to file using XPS Writer. I'm using Windows 7 . Works fine with Internet Explorer?

    When I try to perform this function of saving an email to file using Windows 7 XPS Writer. I receive a message stating that Firefox is not responding. XPS Writer is working using Internet Explorer?

  • ITunes need to close... ...........

    i know that happyendings already has kinda posted this question. but my situation is slightly different. i'm currently running on windows XP and i'm kinda getting what happyendings is getting/has been getting. but instead of closing 30 mins after ope

  • Value based permits

    Hi Every one, I want to know that is there any possiblity at permits level like value base For Exapmle If the cost of order is blow 50,000 then this permit will be aproved by person X and when cost of order increases above 50,000 then permit will be