Setting the 'WAIT' function

Hi,
Can someone help me to set the wait function to 5 minutes ?
Thanks In advance
Eldad

Set the Wait Mode attribute of the activity to Relative Time, and set the Relative Time attribute to the relative time interval
you want, expressed in <days>.<fraction of days>.
See: http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a95265/std04.htm#index-Wait-activity---0
Regards,
Clara
Hi,
Can someone help me to set the wait function to 5 minutes ?
Thanks In advance
Eldad

Similar Messages

  • Using the Wait function in while loops?

    Hi,
    I have a rather complicated top level VI with about 20 subVIs and the main VI has on big while loop around it and another smaller one inside, basically it runs rather slow and I have no idea how to set the wait function. I mean what factors should I consider..what would be the difference between setting it to 10 and 100 (besides the obvious 10ms vs 100ms)? I just want to increase the performance of the executable, so it is not that slow. Can you offer some hints as to what I need to take into consideration when determining my delay? And also, are while loops the only place that I should use the delay or are there other instances too?

    Adding waits is not a fix-all for slow running applications. Its just one thing that can be done to improve things. If you determine that a sub-vi is causing your problems then you need to find out exactly what that vi is doing to slow you down. If its because there is a loop inside it that is running constantly as fast as it can, then a delay in that loop may help. If that is not your problem then you need to look at other ways to boost performance. It sounds like you have alot of locals variables, each instance of a local variable makes a copy of the data that's in the control. If the controls/indicators that you have local variables of contain large amounts of data then you may be filling up memor
    y with copies of it.
    I suggest that you study the "Performance and Memory Management" chapter of the LabVIEW manual. This can found in the printed manual of the older versions, in the online manuals that install with 6i, or on NI's web site here: http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/732cec772aa4fbe586256a37005541d3?OpenDocument , which is Application Note 168. This should give you some good ideas of what to look for to improve your performance.
    Hope this helps.
    Brian

  • How to isolate the wait function to one part of the code

    I'm buildling an ecg montoring system along with programming an external stimulator using TTL pulses to work along side the information obtained from the ECG.The most important of  these features is the heart rate. However, whenever I activate my pulse trains in the code, the DAQmx Wait Until Done.vi function pauses everything in the code, including the part of my code that monitors the heart rate, which uses time to measure it. What I would like, is the wait function to only affect the pulse train generators without pausing anything else in the code. Is this possible? And if so how can I make it happen?
    I will attach my vi
    Solved!
    Go to Solution.
    Attachments:
    simulatejed.vi ‏130 KB

    Your problem is that everything is in the same loop.  So the longest operation is going to determine the loop rate (and therefore processing rate).  What you really need to do is separate your tasks into separate loops.  Use queues and/or notifiers to communicate your data and commands between loops.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Where to set the Transfer Function in Photoshop CS5?

    Where do I set the Transfer Function in Adobe Photoshop CS5?
    My college newspaper uses Transfer Function to control dot gain in  B&W photos, saving them as EPS files.
    In CS4 it was a button in the print dialog box, in the output section. It brought up a curves-like dialog to set a transfer curve. That  button is gone now, and the help files offer no help.
    The help files say "Save your file in the Photoshop EPS format, and select the Include  Halftone Screen and Include Transfer Function options in the EPS Options  dialog box." but doesn't say where to create the curve.
    Here's CS5. Compare to CS4 below, and the larger shot below that.
    Here's CS4
    Here's the transfer curve dialog box in CS4 that I can't find in CS5

    Hello!
    It might have been removed for the same reasons screen was removed: http://forums.adobe.com/message/3438135#3438135
    I'd try to use the same workaround: set a document transfer curves as you want, save it as a template, then open it in CS5.

  • Question about the Wait Function

    I wrote a VI to store the time stamps in a text file.
    I fond something strange in the text file (see the picture below).
    The time stamps weren't writen into the file every 10 ms! How could this happen? And how could I fix it and make the time stamp to be writen every 10ms?
    Thanks a lot!

    To further what was just said:
    The wait function will indeed wait 10ms, or near enough as I will soon explain.
    When used in a loop, the wait function will wait for 10ms AFTER the code inside the loop has been executed.
    Depending on your Operating System, and the speed of your PC, the code inside the loop could take several hundred milli-seconds to execute.
    So the total time for each loop iteration, and thus the time between file writes, will be (Xms + 10ms), where X is the time taken to execute the other code.
    Another thing to consider is that unless you are using a Real-Time OS, your Windows or Mac OS will not prioritise LabVIEW! The execution of your code must run alongside your virus scanner, email client, music player etc. etc. etc.
    As such, it is often asking too much to try to use labVIEW in accuracies of +/-1ms on the common desktop PC.
    As a final note: I cannot give facts on file writing, but just from my experience with LabVIEW a file write every 10ms is impractical as the write-to-file VI usually takes longer than 10ms to execute itself. Why not buffer up 10 writes/pieces of data/whatevers and then write them all to file at once? Whilst we are at it, why not buffer 100 pieces and then write them all at once?
    I have had this idea argued before, with people saying that if the system were to crash then the buffered up 100 reads would be lost. Remember guys: that labVIEWs write to file VI passes the data to the windows write buffer, and windows doesn't necessarily put it on disk straight away! That can only be guaranteed by closing the file reference or flushing the queue.
    Apologies, I have diverged.
    Rhys
    Applications Engineer
    National Instruments

  • How to set the move functionality.

    I want to set the move functionality for a Jwindow in solaris. If i click on the ALT F7 then the default move works, I want to set that default fuctionality to my menuitem is it possible.

    Do you have any solution regarding this move please tell
    K_ramanadham. But how to know your id kalpana there is nothing in your profile. If possible please send it to binduA @yahoo.com

  • Problem with the "Wait" function in dialing a number with an extension.

    I inserted a "wait" into phone number, followed by an extension. When I tap the number, it dials the call. Next to the "End" button, there is a button that shows "Dial..." and the extension. HOWEVER, the next calls for other numbers will always show the same "Dial..." and the extension until IOS restart. Any solution?

    Hello,
    Plese see below the correct syntax for the SUM function
    The following examples are applicable to both Basic and Crystal syntax:
    Sum({file.QTY})
    Calculates the sum of all values in the QTY field.
    Sum({orders.AMOUNT}, {orders.CUSTOMER ID})
    Sums (totals) the orders in each group of orders in the Amount field. The orders are separated into groups whenever the value in the Customer ID field changes.
    Sum({orders.AMOUNT}, {orders.DATE}, "monthly") % Sum({orders.AMOUNT })
    Groups values in the Amount field by month, and calculates the sum of the values for each month group as a percentage of the sum of the values for the entire report.
    Sum([{file.AMOUNT}, {file.PRICE}, {file.COST}])
    Sum of values in the Amount, Price, and Cost fields.

  • How do I permanently set the zoom-function, so I will not have to zoom every time I open a new tab/page?

    I have recently installed Firefox on my one month old laptop which has a 17" screen. Every time I open Firefox I have to use the zoom-function (ctr +) four times to be able to read comfortably. Every time when I next open a website, or tab, or window I have to use the zoom-function again. This is kind of getting old, fast.
    Is there any way I can set the zoom to a higher/closer setting permanently, so I do not have to use the zoom-function about 50 times everytime I use the internet?
    If you could help me that would be lovely!
    Thanks,
    Kikki

    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • Getting Errors while setting the Transformation Function

    Hello All,
    I was trying to attach a Transformation function to existing capture process.
    But I am getting ORA-30625 error while I was trying to set my transformation function to one of the
    DBA rule_names.
    Following are details:
    SQL> select rule_name from dba_rules;
    RULE_NAME
    TEMP1
    TEMP3
    TEMP5
    TEMP7
    SQL> DECLARE
    2 action_ctx SYS.RE$NV_LIST;
    3 ac_name VARCHAR2(30) := 'STREAMS$_TRANSFORM_FUNCTION';
    4 BEGIN
    5 SELECT RULE_ACTION_CONTEXT
    6 INTO action_ctx
    7 FROM DBA_RULES R
    8 WHERE RULE_OWNER='STRMADMIN' AND RULE_NAME='TEMP1';
    9 action_ctx.ADD_PAIR(ac_name,
    10 SYS.ANYDATA.CONVERTVARCHAR2('hr.transformation'));
    11 DBMS_RULE_ADM.ALTER_RULE(
    12 rule_name => 'strmadmin.temp1',
    13 action_context => action_ctx);
    14 END;
    15 /
    DECLARE
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at line 9
    Can any body suggest me what to do...
    Thanks in advance.
    Regards,
    Srinivas Jaltaru
    ( [email protected] )

    Hello
    I added the line you suggested, Compiling is done successfully, But Capture process
    is not invoking the Transformation function that I have assigned to it.
    Transformation function I am using is :
    create or replace function scott.transformation (in_any IN SYS.AnyData)
    RETURN SYS.AnyData
    IS
    rc NUMBER;
    BEGIN
    insert into scott.log values ('abc');
    return in_any;
    end;
    1) Any extra initialization parameters are required..?
    2) My Streams environment is having only a Capture process for capturing changes. There are no other
    components like propagation, apply.
    Appreciating your suggestions.
    Thanks in advance.
    Srinivas Jaltaru
    ( [email protected] )
    Put the following line
    action_ctx := SYS.RE$NV_LIST(SYS.RE$NV_ARRAY());
    on the line immediately preceding the call to ADD_PAIR.
    This should allow the pl/sql function to compile successfully.

  • HT4515 Problem with the "Wait" function in dialing a number with an extension.

    I inserted a "wait" into phone number, followed by an extension. When I tap the number, it dials the call. Next to the "End" button, there is a button that shows "Dial..." and the extension. HOWEVER, that button is dimmed and will not function. Any ideas?

    I changed in this way:
    FUNCTION COUNT_OBJECT(workflow_name_p IN VARCHAR2, object_type_p IN VARCHAR2) RETURN NUMBER
    IS
    object_present NUMBER;
    object_inserted NUMBER;
    table_name_p VARCHAR2(4000);
    query_stmt VARCHAR2(4000);
    BEGIN
    IF workflow_name_p = 'AIMDailyIngestorWorkflow'
    THEN
    SELECT SUM(B.STOREDOBJS) INTO object_present
    FROM DPCTJOBTYPESTATS B
    WHERE B.WORKFLOW_NAME = workflow_name_p AND B.OBJTYPE=object_type_p;
    SELECT 'AIM.'||B.TABLE_NAME INTO table_name_p
    FROM DPCTSWOBJTYPE B
    WHERE B.OBJTYPE=object_type_p AND SOFTWARE='AIM';
    EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || table_name_p || ';' INTO object_inserted;
    object_inserted := object_inserted - object_present;
    END IF;
    RETURN object_inserted;
    END COUNT_OBJECT;and now the error is:
    ORA-00911: invalid character
    ORA-06512: at "INFRA.WORKFLOW_STATISTICS", line 504
    00911. 00000 - "invalid character"
    *Cause:    identifiers may not start with any ASCII character other than
    letters and numbers. $#_ are also allowed after the first
    character. Identifiers enclosed by doublequotes may contain
    any character other than a doublequote. Alternative quotes
    (q'#...#') cannot use spaces, tabs, or carriage returns as
    delimiters. For all other contexts, consult the SQL Language
    Reference Manual.
    but the line 504 is the blank line higlighted with the ***.
    Why this error? The code seems correct.
    Thanks, bye bye.

  • How can use VISA Read and the Wait Function properly

    I am trying to read an instrument. The is a simple instrument because all it does is feed data; there aren't not any write commands whatsoever. I am trying to read the instrument in time intervals. It seems to work fine except for the one second interval. Every 5 seconds I don't get reading and there are zero bytes at the serial port. Any suggestions on what I should do?

    There is a Visa serial VI called VISA Bytes at Serial port. Use a comparison node for =0 and wire this to a case structure. In the false case, read your data.

  • Wait function problem

    Hi everyone,
    I am confused by wait function in LabVIEW. I have a while loop and the calculation time duration for each iteration is about 0.1ms without using wait funtion inside of the loop. However when I tried to add wait function and set the wait time to be 1ms, the average iteration duration became 5ms. Does it mean the iteration took 5ms to run each time? If it is the case, how did I get 0.1ms before using wait function? I also tried to add the wait time from 1 to10 and before 5 it gave me similar answer 5ms after 5 it give me the number I specified to it, so I think it works fine. I also attached my VI to it, I am using cRIO to run this VI so it wont work on the computer but the idea should be clear.
    Attachments:
    Untitled 4.vi ‏55 KB

    Hi Jeff,
    Thanks for your reply, basically this attached vi is only part of my code, and I would like to track the change of different variables on FP so I would like to have local variables inside of the loop instead of using shift register. The index constant is not necessary for sure, thanks for that info.
    However even I have made all the indicators to the outside and changed the array stuff into shift register it still gives me the same result, which is about 5 ms when applying wait function but about 0.1 ms without using it. This is quite unusual, and similar to the speed when i was using timed loop (5ms). 
    Also I am calling the objective function instead of using laview is because I would like to have easy maintenance for ppl not quite familiar with labview could understand the algorithm later on.
    Thanks again for the reply and hope to hear from u again.
    Best Regards
    Jeff·Þ·Bohrer wrote:
    OK First off lets introduce you to the concepts of arrays and a Shift Register:
    First, those index constants are not required-  Hit Ctrl+h- hover over the array index and hit detailed help the default is for each element you grow to increments so, with no index contstants, you get elements 0, 1, 2, ...n.
    Next, you only index them to feed them to indicator's local variables only to read them on the next iteration  a feedback node or shift register of type array of dbl would work so much better!  and, not require the UI Thread at all!  Really none of those controls or indicators are wired to the connector pane-  for debug use a probe!
    Most of the rest of your indicators can go away too, replaced by Shift registers.  (If I infer correctly you might need to show two elements on "Target Disp" but I have no idea what that library function call is)
    Essentially, you appear to trying to "C" your way into LabVIEW.  LabVIEW is a dataflow language-  hit the getting started material and online courses.

  • WAIT function

    I'm trying to get the wait function to work for a simple notification. I have the relative time set really small to test the WAIT function works, but the procedures never get pas the wait function. Can anyone help me with this?
    wf_engine.setitemattrtext
              (itemtype => l_item_type
              ,itemkey => l_item_key
              ,aname => 'WAIT_MODE'
              ,avalue => 'RELATIVE');
    wf_engine.setitemattrnumber
              (itemtype => l_item_type
              ,itemkey => l_item_key
              ,aname => 'WAIT_RELATIVE_TIME'
    ,avalue => 0.0001);

    How are you using the activity?
    You have to do this:
    1. Drag and drop the standard WAIT into your process
    2. From the "Node Attributes" tab of the activity choose:
    "Wait Mode" to be "Relative Time"
    "Relative Time" to be from an "Item Attribute" and select your item attribute.
    You can set this item attribute anywhere in your workflow
    3. When the engine hits the wait activity the workflow will wait for that amount of time.
    Remember to run the background engine to process the workflow when the wait returns.
    Hope this helps
    Raja

  • Officejet Pro 8500 Premier: How do I force the Copy function to use paper from Tray 2?

    I set the default tray to Tray 2 and locked Tray 1 to protect my envelopes and this works fine when printing from the computer. But when I copy a document using the START COPY button, the printer pulls from Tray 1 and complains about the media being the wrong size.
    When I use the printers control panel to set the Copy function to use Tray 2, it resets itself to Tray 1 the next time I copy something.
    Surely I am not the only one in the Universe who would want to configure my printer to do this.
    Has anyone else out there tried this?
    Also, is there a specific forum for the Officejet Pro 8500 series printers?

    Hi
    Hope you're still checking this
    I had the same problem but found that if you go to the copy menu through the touchscreen, change the tray to tray 2 and then scroll to the very bottom there is an option to "Set as new default". This also changes the default for the Start Copy buttons - at least it did for me anyway.
    Good luck

  • Need to remove crop lines set in custom function 3

    Hello All, I need help! I set the custom function 3 to the on position, thinking it would just give me lines to show where an 8x10 crop would be ~ I did not realize that it would actually crop all of my images. I shoot raw and I have imported them into lightroom, within lightroom I cannot remove the crop. I tried opening in Canon's software, removed the crop, then saved as a TIFF, but 17 files ended up being corrupt.
    I see that there is a plug in for LR, but it indicates DNG files, not RAW ~ is there a plug in for RAW? Does anyone know a work around that might help me? Thank you.

    This forum is for discussing Lightroom plugins.  You're more likely to get an answer if you repost in the main Lightroom forum.

Maybe you are looking for

  • Bose Sound Docks are no longer compatible with Apple iPhones or iPods?

    When plugging my iPhone 4S or 5, or my iPod 3rd Gen or 7th Gen into my Bose Sound Dock, I recieve a message that reads, "This iPhone/iPod is not compatible with this accessory" and will not play stored music. Background Info:       - The Bose Sound D

  • Update sequence wrong in Materialized view when using refresh group

    Hi, I made a trigger (for each row) on a materialized view(replication data from a master table in in a different database), which is refreshed by a refresh group (exec dbms_refresh.refresh('"...). However, the update order/sequence is important and

  • Idvd 6 won't play 1-260 photo's burned only 1-99

    I had made a slide show with IDVD 6 and have about 260 photo's on it. After the movie is burned from IDVD, I play it on the home player and it stops at photo 99 and stop as there is nothing else to play. It play on the MAC but pauses at 99 and then c

  • Mac wont recognize q10

    My mac will not recognize my q-10, it tries to connect, but says that i need to update my phone software--which i just did and it still wont work. I tried re insatlling blackberry link, but it still wont work. I really need to trasnfer all contacts f

  • Automating mapping creation

    Is there a way to automate mapping creation. I need to create mappings for around 100 tables and they're all very simple. Just taking all columns from source view, and then doing truncate/insert into the target table, which has the same column names