How to delay the exection of an interface

Hi Experts,
I have a file to file scenario. There are two such interfaces.
I want to introduce a delay in the execution of one interface.
I have tried using sleep function in the mapping, but its not to mch effect.
Is there ne way we can do it??? how abt OS command after/before execution??
what should the script be?
pls share your thughts
Regards,
Teja

divyesh vasani wrote:
With OS Script, in the second interface  before message processing option in adapter, you can use choice command in batch script.
>
> Find some links on Choice command in batch.
>
>
>
> ---Div
Managed to find the anatomy of choice command in batch file to introduce delay:
Choice command in DOS is used to select menu items.
Here you can use with below syntax in OS command before processing in second interface, sender file adapter
choice /C:a /D:a /T:2>nul
Where 2 is the delay in seconds and keep rest as them.
I tested on windows XP on dos command.
--Div

Similar Messages

  • How to delay the license days in XI-NW2004s?

    I have successfully installed the XI-NW2004s,but only used in 30days.
    I think I can adjust time back to setup day to use longer. To my disappointed, there were many j2ee service failed in Visual J2EE administrator.
    How to delay the license days in J2EE service ?
    Can I install a temp license in Tcode "slicense" just like Minisap developer?
    Thx !
    points will be award !
    best regard!

    Hi Raymond,
    You need to make sure that the date to which you are changing should be greater then the date of installation. why don't you try this
    1.Use <b>SU01</b> transaction to find the date when the user was created.
    2. Now change the system date to that particular date or one day greater.
    Make sure all the instances of 2004's are down before changing the system date.
    once done restart the system.
    That should work.....
    Regards
    Gopi

  • How to monitor the traffic on network interface card NIC

    hello friends
    i m dong a network based project
    in that i need to calculate the incoming
    and outgoing traffic on network interface
    Can anyone help me regarding this...
    any API that i van use, i know abt JPCAP
    but unable to use that in this repect...
    Thanks in Advance

    sorry for any mistake....
    i m new to java
    Actually using JPCAP we can capture the packets
    and process them..may save to file or some thing like that
    but how to know the current incoming and outgoing traffic...on NIC
    and also how much it is capable of...
    can u tell me any good tutorial
    i really need to do that
    thanks for concern

  • How to delay the acquisition from the triggering on MIO DAQ devices?

    I run a PCI-MIO 16E board with Measurement Studio VB. I know how to trigger the acquisition (CWAI) from a pulse or external signal but I don't see a command or property to delay the acquisition from the triggering signal.
    Any clue?

    Hello;
    The only way to accomplish that is by inserting one of the general purpose counters in between the external trigger and the trigger source of the analog input task.
    You need to configure the counters to do retriggerable pulse generation and route that counter output to be the trigger signal of the Analog Input task. By doing that, you will be able to configure the delay you want as the delay of the pulse generated by the counter.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • How to Map the parameters in GP interface?

    Hello All ,
    I have 2 callable objects in two different actions for same Block. How to map the first callable object output to input of second callable object ??
    Please give the clear details.
    Thanks
    Risha

    Hello,
    Goto the Block -> Parameters tab....select the 2 parameters ...click on Group button .....give a name to it and click 'Create Group' button.....
    Regards,
    Shikhil

  • How to delay the audio to lip sync? (of the entire system)

    I`m using a LED 32" LG screen via hdmi, but the audio is outputing directly via usb to my Mbox Mini, and the image have a small delay (5 frames) but the audio not, so the result is out of sync videos.
    Of course there`s tons of apps that can solve the problem by compensating, like VLC and MPlayer X, but the problem is that i`m a video editor and use FCP and Motion all the time. For playbacking with these apps (after making the 5 frames compensation) turns into a perfect results, but during video editing it`s a pain to lip sync.
    Of course as i know that the delay is 5 frames, when i output i could delay the entire audio, but it would be a pain making this everytime and for internet streaming the videos would still off sync.
    There`s anyway i can delay the audio of the entire system?
    PS: I`m using Lion 10.7,

    > I wonder if there is any way to delay the opening of a
    MIAW. In particular i
    > have the following
    If you want other activity to take place, you could use a
    timeout object:
    dialogue = window().new("D_XML_Test (Greek2)")
    dialogue.filename = "path to file"
    t = timeout().new("mOpenWindow", 60000, #mOpenWindow,
    dialogue)
    -- #movie script:
    on mOpenWindow aWindow, aTimeout
    if ilk(aTimeout, #timeout) then aTimeout.forget()
    if ilk(aWindow, #window) then aWindow.open()
    end
    If you don't mind locking out activity, you could use the
    delay()
    function, but I wouldn't recommend that approach

  • How to delay the time??

    I just make the game and I want to know when I click at Button then next operation will be add at the same time. I want to know how to wait the time about 5sec?? it's mean next operation will be add at 5sec after click at button.

    Use a thread, and let the thread sleep for 5 seconds after he did that( 5000 milliseconds)

  • Please teach me how to make the arrangement using Code Interface Node.

    How is what is necessary just to make arrangement (for example, Sine?Wave)
    using Code Interface Node? Please teach me a way.

    Try to get hold of the 'Advanced Analyis' library for labview. It contains VIs for doing FFT! No need to reinvent the wheel.
    If you can't get it and want to take the hard way, try to learn CIN programming by
    - reading the manual (no joke or cynism intended)
    - look for advice in NI's developer zone (www.ni.com/devzone) by using the search phrase 'CIN tutorial': you'll get several links which should be helpful in your case.
    - better than a CIN: try to use the DLL calling mechanisms and compile your C code into a dll. In order to learn dll intewrfacing for LabVIEW, follow the route explained under point 1 and 2 above...
    Good luck,
    Franz

  • How to use the Web Dynpro Component Interface

    Hi, All
    Error when processing your request
    What has happened?
    The URL http://erp2005.besuretech.com:8000/sap/bc/webdynpro/sap/zz_test5/ was not called due to an error.
    Note
    The following error text was processed in the system E05 : Error when Creating Component ZZ_TEST6. ZZ_TEST6 Is a Component Interface, Therefore, an Instance Cannot Be Created. Name of Component May Not Be Specified. (Used Component: ZZ_TEST5, Component Usage: MYCOMPUSAGE)
    The error occurred on the application server erp2005_E05_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_COMPONENT_USAGE~CREATE_COMPONENT of program CL_WDR_COMPONENT_USAGE========CP
    Method: RESOLVE_MAPPING of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: MAP of program CL_WDR_CONTEXT_NODE_MAP=======CP
    Method: MAP of program CL_WDR_CONTEXT_NODE_MAP=======CP
    Method: IF_WD_CONTEXT_NODE~GET_ELEMENT of program CL_WDR_CONTEXT_NODE_MAP=======CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system E05 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server erp2005_E05_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server erp2005_E05_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 600 -u: LIPEI -l: E -s: E05 -i: erp2005_E05_00 -w: 0 -d: 20070120 -t: 212436 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    How can i do?
    Thanks

    Hi,
    There is something wrong in the definition of component usage in your component. Maybe you forgot to instantiate the use component, maby the name you are using is not correct. Try to find it in that direction.
    Good Luck,
    Ben

  • How to get the latest Version of Interface Mapping

    Hi
    I made some changes in IR, and when I am sending the Request...as per Monitor..it is not picking up the latest Interface Mapping Object. I am checking it from Trace in Monitor and then cross checking it with Object Version ID in Repository for Interface Mapping.
    I cleaned all the cache as well (from Design, Config and also from Admin), but still I am seeing old version id.
    Any suggestion....?

    Right now I do not have access to XI system but I remember these are the places you can check.
    Did you go to http://host:5<sysnr>00/rep/start
    There click on the Administration, and log on using XISUPER. Click on Cache and there is a drop down for mapping programs list. Check that out.
    regards
    SKM

  • How to delay the process?

    Hi,
      I am doing file to idoc scenario. When bulk of files came XI is picking all the files at the same point of time and sending to SAP system.  In SAP system all IDOCs are not processing. So how to slow down the processing or how to make sequential processing.
    regards,
    Ansar.

    Hi,
    in this book you will find how to use EOIO (exactly once in order) for IDOCs
    and also how to do pseudo IDOC queues in XI
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Delaying the erase with the Write On behavior

    Hey everyone.
    Does anyone know how to delay the "erase" with the write on behavior.
    When I apply the write on effect to my outline the behavior and set it to draw and erase. Motion draws the shape and as soon as it's drawn motion starts the erase the shape. I want to delay that erase and have the entire shape stay drawn for a few seconds.
    I thought I could play with it in the keyframe editor but there are no options to adjust that specific ability of the write on effect.
    Thanks.

    Hi,
    this had me stumped for a bit too. All you have to do though is drag the start point of the shape to an earlier point in the time line. This will automatically drag the start point of the write-on behaviour with it (annoying!). Then drag the start point of the behaviour to a later point on the time line. (It will allow you to this independently of the start point of the shape as long as you drag it forward in time.) Now just reposition the shape on the timeline accordingly. Hey presto! - A delayed writeon/erase effect. Hope this is clear enough.
    M.

  • JComboBox - delaying the dropdown list

    Does anyone know how to delay the population of a JComboBox's list until the user clicks the down arrow?
    In effect:
    1) the user clicks the arrow on the comboBox
    2) the wait cursor appears (no drop-down yet)
    3) the list gets built (still no drop-down)
    4) the data retrieval is done, the drop-down list is then shown, and the cursor returns to normal

    The size of the popup is based on the number of elements in the
    combobox before the model was rebuilt. We need to reset the popup
    when the number of items in the combobox changes.That seemed to do the trick. I don't know what I was trying originally before I posted for help, but when I called hidePopup() or showPopup() from within the popupMenuWillBecomeVisible() method, I was getting a stacktrace out the wazoo.
    Thanks for all of the ideas. Here's a completed example in case someone wants to refer to this later. I even added a sleep() call in the rebuildList method to simulate a long transaction, so that you can see the effect of the delay:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class DelayedComboBoxTest extends JFrame
      private JCheckBox chkA = new JCheckBox("A");
      private JCheckBox chkB = new JCheckBox("B");
      private JCheckBox chkC = new JCheckBox("C");
      private JComboBox cboItems = new JComboBox();
      public DelayedComboBoxTest()
        super("Delayed ComboBox Test");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel p = new JPanel();
        p.add(chkA);
        p.add(chkB);
        p.add(chkC);
        p.add(cboItems);
        Container c = getContentPane();
        c.setLayout(new BorderLayout());
        c.add(p);
        pack();
        cboItems.addPopupMenuListener(new MyPopupMenuListener());
      private void rebuildList()
        setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
        Vector items = new Vector();
        if (chkA.isSelected()) { items.add("A"); }
        if (chkB.isSelected()) { items.add("B"); }
        if (chkC.isSelected()) { items.add("C"); }
        cboItems.setModel(new DefaultComboBoxModel(items));
        try
          new Thread().sleep(1500); // simulate a long transaction
        catch (InterruptedException ex) {}
        setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
      public static void main(String[] args)
        JFrame f = new DelayedComboBoxTest();
        f.setVisible(true);
      class MyPopupMenuListener implements PopupMenuListener
        public void popupMenuCanceled(PopupMenuEvent e) {}
        public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {}
        public void popupMenuWillBecomeVisible(PopupMenuEvent e)
          int items = cboItems.getItemCount();
          rebuildList();
          if (items != cboItems.getItemCount())
            cboItems.hidePopup();
            cboItems.showPopup();
    }One downside though: typically, a change in one of the trigger fields' content (the 3 checkboxes in this case) would cause the list to be rebuilt. It's there where you can check to see if the previously selected item in the list is contained in the new list. If so, reselect it, otherwise clear the selection. In other words, if the old value is still valid, keep it selected.
    In this new way, the old value remains selected even if it's logically bad. On save, one would have to query if the selected value is still valid based on the criteria of the other trigger fields. Yeah, it's an extra step, but I don't mind doing an inexpensive hit once (on save) rather than an expensive one several times as each of the trigger fields is changed (of which could be many)

  • ASA 5505 8.4. How to configure the switch to the backup channel to the primary with a delay (ex., 5 min) using the SLA?

    I have ASA 5505 8.4.  How to configure the switch to the backup channel to the primary with a delay (for example 5 min.) using the SLA monitor?
    Or as something else to implement it?
    My configuration for SLA monitor:
    sla monitor 123
     type echo protocol ipIcmpEcho IP_GATEWAY_MAIN interface outside_cifra
     num-packets 3
     timeout 3000
     frequency 10
    sla monitor schedule 123 life forever start-time now
    track 1 rtr 123 reachability

    Hey cadet alain,
    thank you for your answer :-)
    I have deleted all such attempts not working, so a packet-trace will be not very useful conent...
    Here is the LogLine when i try to browse port 80 from outside (80.xxx.xxx.180:80) without VPN connection:
    3
    Nov 21 2011
    18:29:56
    77.xxx.xxx.99
    59068
    80.xxx.xxx.180
    80
    TCP access denied by ACL from 77.xxx.xxx.99/59068 to outside:80.xxx.xxx.180/80
    The attached file is only the show running-config
    Now i can with my AnyConnect Clients, too, but after connection is up, my vpnclients can't surf the web any longer because anyconnect serves as default route on 0.0.0.0 ... that's bad, too
    Actually the AnyConnect and Nat/ACL Problem are my last two open Problems until i setup the second ASA on the right ;-)
    Regards.
    Chris

  • How to fix the delay problem while recording? Can't set the Latency to 0. Win7, CS6,Realtek,C03u Mic

    I am using Win7, with CS6, Realtek soundcard and Samson C03U microphone.
    There is a problem that's really been bothering me. When I record songs the recorded audio always comes 0.1 seconds after where it's supposed to be and I need to fix the problem every time. How to fix the delay problem while recording? I can't set the Latency to zero. The minimum is 30ms and I still get an obvious delay.
    I saw some previous discussions saying that installing ASIO would help. Is it gonna work on my PC?
    Thank you in advance guys.

    You probably should look at a more 'serious' audio interface rather than the Realtek
    Yes ASIO drivers are the way to go
    If you want zero latency you need to monitor via your audio hardware (hence the 'serious' audio interface suggestion)
    There are a heap of reasonable audio interfaces which will do the job for you that are pretty inexpensive and I'm sure that someone will jump in with a suggestion

Maybe you are looking for

  • ERROR 1721, problem with windows installer package

    i have windows vista basic on a acer aspire 5535, itunes has always worked on my laptop until apple asked me if i wanted to update so i did (i believe the update was for itunes 9/9.2) after this update i am unable to install itunes and get the error

  • What's the best "Display Adapter" i can get??

    Hi guys, I am thinking about connecting my MBP to a Monitor or TV... i have the MBP 13" so what's there that i can use, anything with HDMI to get the better quality?? or what do you think is good out there??? Thanks a lot guys

  • Purchase Requisition Release strategy for MRP based Requisition

    Hello Gurus We want to set up the urchase Requisition Release strategy for MRP based Requisition ..Any can one Please share your experience about the impact down the road? Thanks Nick

  • TopLevel Navigation

    Hi, i am trying to create a toplevel navigation iview using the example http://help.sap.com/saphelp_nw04s/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm . My problem is that i dont want to show all nodes... i want to ignore some nodes that

  • Double items CCM

    Hi guys, We're currently facing an issue with double items in CCM and I ran out of ideas. The contentmanager has updated a catalog and published the Master. At first he didn't see the changes. He then removed the catalog, published the Master, upload