Question about the Wait Until Next ms Function

Hello,
I met a problem when I tried to use wait until next ms function to control the period of the loop.
I use Labview2009 now. I wrote a VI to sample the current values at 100Hz and then store the samples in a text file. The currents are sampled once in a loop and then wait for next 10ms to begin the next loop. After 360,000 loops (should be an hour), it will creat a new file to store the new samples in the following an hour.
I left the VI runs on CompactRio for the whole weekend. The result I got is shown in the picture below:
24 files should be created in one day. While there were only 3 files created in the firest 24 hours ( from Fri 16:00 - Sat 16:00). And after that it worked very well.
When I checked the first three files (created from Fri 16:00 - Sat 16:00), I found that it didn't sample at 10Hz. It sampled at the frequency of about 20Hz (sometimes 18Hz, sometimes 19Hz).
I am confused by the problem a lot. What may cause it didn't work in the first 24 hours and worked after 24 hours? And How could I fix this problem?
Thank you very much!

You need to show us some code!
This cannot happen in a single loop, but can easily happen if you have e.g. stacked loops or sequences containing multiple wait statements.
Also have a look at these old threads:
Synchronization problems during measurements (using while loop)
accurate timing between events
If accurate timing is important, use a timed loop. Your incorrect times are faster, so I don't think there is a problem with the inner code taking too long.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • What is going on "under the hood" of the 'Wait Until Next ms Multiple' vi?

    Hi,
    This question is really for the developers of LabVIEW, and I don't know if they are willing to divulge what might be considered "trade secrets". Anyway, I just thought there's no harm in asking.
    I use the Wait Until Next ms Multiple vi and it works great. For example, if I set my program to output a character on the serial port every 20 millisecond (mS), and check the output on an oscilloscope, I see the output at 20 +/-2 mS (that is, 18 to 22 mS). That's quite good and is all that can be expected on a PC running a non-real-time OS such as Windows.
    My question is this: Since the default Windows timer has a tick rate of 15.625 (1/64th of a second) (some PC's may default to 10 mS), how does LabVIEW attain roughly 1 mS accuracy? If the same thing is coded in any .NET framework program, such as C# or Visual Basic using any of the available timers (the System.Windows.Forms timer or the .System timer), the timer interval may be set in 1 mS increments, but if you time it you will see it actually has a granularity of 15.625 mS. So instead of getting 20 mS I get 2 ticks, or about 31 mS. So I can get an output every 15.6, 31, 47, 62.5, etc. but nothing in between.
    The System.Diagnostics.Stopwatch timer can be use to time code with very high resolution, or to create a high-CPU usage delay loop, but I haven't been able to find an easy way of generating an interrupt (timer tick) at say 1 mS. There are Win API functions that can set the timer to 1 mS on XP and 0.5 mS on Windows 7 and 8 Microsoft, but I have not tried them. (They come with the caveat that another program or process can come along and reset your timer!) There is the "multi-media" timer (now the HPET or High Performance Event Timer"), but it is meant for sound and video at the driver/kernel level, and not for the UI level, as LabVIEW or C# are.
    So how does the 'Wait Until Next ms Multiple work? It obviously is timer interrupt-driven because it yields to other processes (which is a primary reason for putting it in your overall While loop). And is it guaranteed on all recent OS versions (mine was timed on an dual core XP OS)?
    Thanks for any insight.
    Your typical curious engineer,
    Ed

    Ian,
    Thanks for your reply. Yes, I'm sure LabVIEW uses the (default) Windows timer. And yes, 1 mS is not guaranteed due to the preemptive nature of Windows (and even "RTOSs" to varying degrees), which is why I see about plus or minus 2 mS. 
    Apparently the Windows timer can be set by API calls. See: http://www.lucashale.com/timer-resolution/. Here's a screen shot of his TimerResolution.exe on a Windows 7 PC:
    Here it is on my Windows XP PC after I set it to "Maximum" (initially it was 15.625 mS):
    Notice that it sets the Maximum to less than 1 mS, which is supposed to be the max, so there are some bugs. Plus the Default button does not reset it in XP, but does work on Windows 7 or 8. (I know this is not the place to "debug" non-LabVIEW applications!)
    I'll bet LabVIEW sets it, too. The only caveat, as I said, is it looks like another application can change it, since the hardware timer is a "global" timer. I have not seen this issue in my LabVIEW applications, have you?
    I guess I need to do some more digging to see the code to set the timer, but it looks like the developers of LabVIEW have it figured it out.
    (FYI, I did notice that running my LabVIEW app (which gives about 2 mS resolution) or a C# app, which gives 15.625 mS resolution, does not affect what TimerResolution.exe reports, so I'm not sure if it's really working correctly. If I figure it out I'll post the results.)
    Ed

  • 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

  • Wait Until Next ms Multiple.vi explanation

    altenbach, 
    Great examples!!! 
    I am using an
    older code that place a “wait until next ms multiple.vi” in a time loop.
    From the feedback
    I am getting on the forum, I think I should use CONSUMER AND PRODUCER
    ARCHITECTURE TO GATHER THE data. BUT for me to get more time for the project I would
    have to explain why the current codes need to be changed.
    The only thing
    that change in this code when I run it at a smaller distance( angles smaller
    than .72) and bigger distance (angles greater than .72 ) are the timing for the
    “wait until next ms multiple.vi.”  Inside
    the time loop I measure the time it take for the wait until ms to finish.
    I had run the
    code when the angle was smaller than .72 and printed out the Boolean status for
    each iteration. And when it was bigger than .72. if interested I have attached
    the file. There is no different. The different is only with the timing!!!
     

     
    sticyfinger wrote:
    I am slow. Can you please elaborate on that some more? Sound
    interesting.  Think that may be related
    to what happen to my code. When I measure smaller distance I have to use bigger
    numbers for the wait. 
    Please elaborate how you are measuring. A wait controls, and does not measure, timing. What happens in the code during the wait? How do you measure?
    In a nutshell, here are some semi-true analogies:
    Wait until next ms multiple
    Do something every hour on the hour (60 minutes multiple), i.e. wait until the minute hand points straight up. If your task takes 30 minutes, you get a 30 minute break, if the task takes 50 minutes, you can only take a 10 minute break. If your task takes 61 minutes, you get a 59 minute break, but might lose your job because you missed an assignment.
    The first wait is random between 0 and 60 minutes and depends on the time you arrive at the job site.
    If the wait is in a loop, the first iteration takes between 0 and x ms. All subsequent iterations are equally spaced unless your code cannot complete in the allocated time.
    Wait(ms)
    No matter what time it is, wait 60 minutes before continuing. This is often somewhat clouded by the parallel nature of LabVIEW. For example if a wait(ms) is in a loop, the iteration cannot complete until at least x ms have elapsed. However the timer starts in parallel with the other operation in the loop, so even if the operations take a significant amount of time, it won't artificially prolong the loop. However, if you would use a sequence such that the wait is in the last frame, the loop time will be the sum of the code time and the wait time. And so on....
    All waits are the same, and independent in when you arrive at the job site.
    If the wait is in a loop, all iterations will be approximately x ms unless your code cannot complete in the allocated time. Over time, there could be slight drift due to accumulations of small errors caused by the delay between the loop start and scheduling of the wait node.

  • When the integral function is placed inside a wait until next ms multiple is it reset at the beginning of each loop?

    When the integral function x(t) is placed inside a wait until next ms multiple while loop is the Integrator reset to zero every time the loop executes?

    Hi,
    the function works on a discrete amount of data. Hence every call to it replaces the values used first time around.
    I've attached an example in LabVIEW 7.0 that uses a pulse generation vi to allow the manipulation of the array sent into the integral object, and then it's easy to calculate what the integral of the data would be.
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer
    Attachments:
    integral.vi ‏39 KB

  • Some question about the renegotiation function in SRM Contract (GOA)

    Hi All Expert,
    We are on SRM 5/4.6,  there is a question about the renegotiation function in SRM GOA.
    Can we renegotiate the price for some parts in the GOA items with this function ( e.g. Only renegotiate one item in the contract) ?
    Will the item price updated automatically after the renegotiation?
    Many thanks in advance!!!
        Wendrin

    Hi Sanjeev,
    Many thanks for your help.
    One more question, if I add a new item when we renegotiation, will it be transfered to contract and create a new item after that?
    Thanks and best regards
    Wendrin

  • Question about the function module (RFC_READ_TABLE)

    Dear everyone
    Could I ask you a question about the function module (RFC_READ_TABLE)?
    I was asked if it's possible to create a report which compares the data between different SAP systems (both production systems).
    Now, the easiest way would be to use the function module (RFC_READ_TABLE) within a SAP infoset query (SQ01 type query).
    But I heard the rumor that using the function module (RFC_READ_TABLE) is not advisable due to the security reason.
    However, I am not exactly sure what sort of security problems this function module can possibly have...
    Would you help me on this?
    I also would like to know if using "remote enabled module" type function module can always overcome this possible security issue.
    Or, are there any points that I need to be careful about even when I use "remote enabled module" function module?
    Thank you very much in advance.
    Takashi

    Dear Fred-san
    Thank you very much for your support on this.
    But, may I double check about what you mentioned above?
    So, what you were mentioning was that if some user executes the query with
    the function module (RFC_READ_TABLE), under the following conditions, he can access to
    the HR data even when he does not have the authorizations for HR transactions?
    <Conditions>
    1. the user has the authorization for HR database tables themselves
    2. RFC_READ_TABLE is called to retrieve the data from HR database
    <example>
    Data: LF_HR_TABLE like  DD02L-TABNAME value 'PA0000'.
    CALL FUNCTION 'RFC_READ_TABLE'
       EXPORTING
        query_table                = LF_HR_TABLE
      TABLES
       OPTIONS                    =
       fields                     =
       data                       =    .
    But then, as long as we call this function module for a non-critical tables such as
    VBAP (sales order) or EKKO (purchase order) within our query, it wouldn't seem to be
    so security risk to use RFC_READ_TABLE...
    Besides, each query (infoset query) has got the concept of user groups, which limits
    the access to the queries within the user group.
    ※If someone does not belong to the user group, he cannot execute the queries within that
       user group, etc
    So, my feeling is that even infoset queries does have authorization concept...
    Would you give me your thought on this?
    I also thank you for your information for SCU0.
    That is an interesting transaction
    Kind regards,
    Takashi

  • Question about the new Yoga 10 HD+

    Hi
    A few questions about the new Yoga 10 HD+ which I hope you can answer.
    I bought the old model last year. Loved the design and long battery time but a few major issues made me return it.
    Somewhere I read that it can't read NTFS over USB so I presume that's the same with an NTFS formatted microSD card?
    Can it read exFAT formatted microSD cards?
    Anyone observed issues regarding audio over bluetooth?
    (I know BT isn't exactly High End HiFi but the old Yoga 10 for some odd reason - most likely a driver issue which nobody cared to fix - sounded *much* worse with quite noticeably distortion while both my phone and a cheap noname tablet I have zero fidelity issues - no matter which of my bluetooth audio devices I tried aptX or not)
    So to avoid buying this only to return it too I really would like to see if I can have my questions answered before buying it.
    While I love the form factor and long running time the above issues are just two mayor dealbreakers to me. Bad audio quality = no joy listening to spotify, local MP3s etc. No NTFS or exFAT = no large movies.
    My old noname android tablet really could use an upgrade so I'm really curious whether this can be it or I should look at the competition and sacrify form factor and battery runtime.
    Thanks in advance.
    EDIT:
    If it's not supporting either NTFS or exFAT on the microSD have anyone tried ext3 and/or ext4?
    I mean with Androids Linux roots it should be a nobrainer to support at least when it comes to royalties unlike NTFS or exFAT where there *might* be some issues with Microsoft.
    Solved!
    Go to Solution.

    Thanks!
    OK. Seems I should just stay clear of this and look elsewhere
    Sony for sure I know support exFAT. I'm usure about Samsung. Odd it seems so hard to find out. File sizes of +4 GB should be taken for granted - it's not 199x anymore...
    Oh well. Wonder whether to just go for one from the competition or perhaps just save the money and wait until 64 bit catches on. Rumors is that the next Nexus 8 will be 64 bit... (I really don't expect an answer on this)

  • Help with "Wait Until Next Millilsecond Multiple" vi

    Hello,
          I'll try to keep this brief and follow up with additional information when necessary.  I'm not using the current software so PLEASE let me know if this has been resolved with the newest version.  I do plan to upgrade but not this month.
          The vi "Wait Until Next Millilsecond Multiple" isn't working as I expect.  Today, if I subtract the millisecond timer value from the real time, I get 10/19/2006  15:13:21.33 (try this yourself - current time -millisecond timer value/1000 = timer origination time). The millisecond timer value output is counting up from there.  Since it doesn't originate from an expected predictable time (appears arbitrary).  I can't use the vi AS-IS and get my vi to repeat at a predictable interval.  If I use 1000 for the input, I expect the timer to end at every whole second in time.  However, it ends at about 0.33 seconds later.  If I use 60,000 for the input, I expect the timer to end at every whole minute in time.  However, it ends at 21.33 seconds after the whole minute mark.  My timer appears to be losing time but I can confirm that tomorrow by comparing data.  I could create a vi to do the same function but I would like to know if there is a fix for this first.
          I have a running vi to back this up and I will post that and other examples if necessary.  
    Please Advise,  Scott

    Hello,
          My mistake.  The vi was intended this way.  When I read the help information on "Wait Until Next Millilsecond Multiple" it did NOT include the information about the "Tick Count (ms)" because I don't really use it.  It states "Returns the value of the millisecond timer. The base reference time (millisecond zero) is undefined. That is, you cannot convert millisecond timer value to a real-world time or date. Be careful when you use this function in comparisons because the value of the millisecond timer wraps from (2ˆ32)–1 to 0." 
          So there's no bug here but I do believe that there should be a similar function that would generate the millisecond multiple to be a multiple of real time.  So, if you input 60,000 the timer would end at the end of every minute.  I really don't see why the base reference time is undefined.  LabView can give me the real time.  I would guess that LabView could restart the millisecond timer at the start of every day.  This would certainly add value to the vi.
          I do want to mention that I've read other threads where people believe that the millisecond timer value is based on real time and they have inadvertantly advised others accordingly.
          I'll just make my own function for now.  I'll just use "Get Date/Time in Seconds", calculate the time to wait from the multiple, and divide it into 100 pieces or more (depending on resolution desired) and loop that many times or until the desired time has passed (rechecking time at each loop).
    Thanks, Scott

  • Short question about the nano controls

    Hi. I'm probably going to buy a 4Gb nano today, but first I'd like to ask a short question about the << >> buttons on the click wheel.
    I read in a forum that the << & >> buttons are actually 'skip' buttons (only used to play the previous or next song respectively), and that it's impossible to rewind or fast-forward within the track you're listening to. This is extremely important for me as I have several 2-3 hours mp3, and I need to be able to access different parts of the file quickly (eg. not having to actually wait 1 hour to listen to my favorite part). I found this to be an important feature, and I can't believe Apple hasn't thought about it.
    Anyway, I've never used an iPod, that's why this question may sound plain stupid.
    Thanks for you replies!

    The iPod fast charges to about 80% and then trickle charges the rest of the way to prevent damaging the battery/iPod. A full charge takes more than an hour or two though the battery indicator will show full. The best way to tell if a full charge has occurred is to unmount the iPod from the computer but keep it connected. The screen will show an animation of a battery. When the animation stops the battery is fully charged.
    Also, as your battery discharges the indicator will eventually show red indicating the battery is about to run out...in an hour or two. After you've owned your iPod for a couple months you'll figure out how much time you have left when the indicator turns red - it depends on a number of factors including play volume, equalizer use, etc. In real world use I'm getting over 11 hours.
    The headphones are...average. If they didn't hurt my ears I'd find them acceptable for my pop music but not so acceptable for acoustic and symphonic nor music with booming bass - because they don't boom the bass.
    I encode the majority of my music at 256 AAC and I've noticed no distortion caused by the EQ. This, plus your complaint about the earphones, leads me to think perhaps you got a bum set of phones. Borrow a pair from someone else and see what happens.

  • Question about the order to creating Account, Contact, Contact Role

    Hi, my friends,
    I have some questions about the order of creating Account, Contact, Contact Role, etc in Web Service 1.0. I could create them in the following case:
    1. Insert Contact object and get contactId (now new contact exists in CRMOD)
    2. Insert Account object with Contact Role child associated with contactId
    My questions are:
    1. Do we have the following order? Insert new Account with new Contact child and Contact Role child (Contact is new and does not exist in CRMOD).
    2. Looks like system need accountId, contactId, etc to make the objects relationship. Is there other field having the same function?
    Thanks
    Ray

    Hi Ray,
    In response to your questions:
    1. Do we have the following order? Insert new Account with new Contact child and Contact Role child (Contact is new and does not exist in CRMOD).No. Both the Account and Contact must already exist. The Role value is an attribute on the Account Contact relationship, this relationship must exist in order to assign a role value to it. This is consistent with the behaviour of the UI, when you press the New button on the Contact child applet, you are taken to the Contact New page where you can create a Contact record. Once you save, the relationship is created but you cannot assign a role value unless you click the Edit Roles link next to the new Contact.
    2. Looks like system need accountId, contactId, etc to make the objects relationship. Is there other field having the same function?Correct, the system needs to know which Account/Contact pair is being assigned a role value. To do this the Account and Contact values must be uniquely identified using the Id values for each.
    I hope this helps.
    Thanks,
    Sean
    Edited by: Sean Duffy on Jan 25, 2010 10:11 AM

  • A few  questions about the iPhone.

    Question 1: Does restoring your iPhone and getting the newer firmware help the battery life at all?
    Question 2: When restoring the iPhone, I have heard people say that you should back it up. only thing youd lose is contacts and texts right?
    Question 3: You guys most likely won't know this...but I have heard that apple is aware that the iphones were rushed and some have had issues. are the ones that they are now sening to the apple stores still old ones with the problems or do they make sure the ones they are sending out now are working good? because i'm just wondering if I should wait until apple addresses us directly about the issues until i buy.

    mikkilla wrote:
    Question 1: Does restoring your iPhone and getting the newer firmware help the battery life at all?
    Possibly, I haven't noticed anything different, but others might have.
    EDIT: What firmware do you have? If you don't have 5A347, then do a restore to get it.
    mikkilla wrote:
    Question 2: When restoring the iPhone, I have heard people say that you should back it up. only thing youd lose is contacts and texts right?
    EVERYTHING is erased off of your iPhone when you do this. You have to sync it back using iTunes regardless of back-ups. Back-ups just remember what settings and content you have on your iPhone so that it syncs everything back the way it was. Much more easier to do this than to start off fresh.
    mikkilla wrote:
    Question 3: You guys most likely won't know this...but I have heard that apple is aware that the iphones were rushed and some have had issues. are the ones that they are now sening to the apple stores still old ones with the problems or do they make sure the ones they are sending out now are working good? because i'm just wondering if I should wait until apple addresses us directly about the issues until i buy.
    Most issues are software problems, which will be resolved with future updates regardless of what phone you have. In my opinion, get it whenever because I don't think Apple will make any changes to the iPhone itself for a long time (years, probably), only the software.
    Message was edited by: eaglesflight1258

  • A question about the impact of SQL*PLUS SERVEROUTPUT option on v$sql

    Hello everybody,
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0  Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>
    OS : Fedora Core 17 (X86_64) Kernel 3.6.6-1.fc17.x86_64I would like to ask a question about the SQL*Plus SET SERVEROUTPUT ON/OFF option and its impact on queries on views such as v$sql and v$session. Here is the problem
    Actually I define three variables in SQL*Plus in order to store sid, serial# and prev_sql_id columns from v$session in order to be able to use them later, several times in different other queries, while I'm still working in the current session.
    So, here is how I proceed
    SET SERVEROUTPUT ON;  -- I often activate this option as the first line of almost all of my SQL-PL/SQL script files
    SET SQLBLANKLINES ON;
    VARIABLE mysid NUMBER
    VARIABLE myserial# NUMBER;
    VARIABLE saved_sql_id VARCHAR2(13);
    -- So first I store sid and serial# for the current session
    BEGIN
        SELECT sid, serial# INTO :mysid, :myserial#
        FROM v$session
        WHERE audsid = SYS_CONTEXT('UserEnv', 'SessionId');
    END;
    PL/SQL procedure successfully completed.
    -- Just check to see the result
    SQL> SELECT :mysid, :myserial# FROM DUAL;
        :MYSID :MYSERIAL#
           129   1067
    SQL> Now, let's say that I want to run the following query as the last SQL statement run within my current session
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;According to Oracle® Database Reference 11g Release 2 (11.2) description for v$session
    http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3016.htm#REFRN30223]
    the column prev_sql_id includes the sql_id of the last sql statement executed for the given sid and serial# which in the case of my example, it will be the above mentioned SELECT query on the employees table. As a result, right after the SELECT statement on the employees table I run the following
    BEGIN
        SELECT prev_sql_id INTO :saved_sql_id
        FROM v$session
        WHERE sid = :mysid AND serial# = :myserial#;
    END;
    PL/SQL procedure successfully completed.
    SQL> SELECT :saved_sql_id FROM DUAL;
    :SAVED_SQL_ID
    9babjv8yq8ru3
    SQL> Having the value of sql_id, I'm supposed to find all information about cursor(s) for my SELECT statement and also its sql_text value in v$sql. Yet here is what I get when I query v$sql upon the stored sql_id
    SELECT child_number, sql_id, sql_text
    FROM v$sql
    WHERE sql_id = :saved_sql_id;
    CHILD_NUMBER   SQL_ID          SQL_TEXT
    0              9babjv8yq8ru3    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;Therefore instead of
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;for the value of sql_text I get the following value
    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES);Which is not of course what I was expecting to find in v$sql for the given sql_id.
    After a bit googling I found the following thread on the OTN forum where it had been suggested (well I think maybe not exactly for the same problem) to turn off SERVEROUTPUT.
    Problem with dbms_xplan.display_cursor
    This was precisely what I did
    SET SERVEROUTPUT OFFafter that I repeated the whole procedure and this time everything worked pretty well as expected. I checked SQL*Plus documentation for SERVEROUTPUT
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Could anyone kindly make some clarification?
    thanks in advance,
    Regards,
    Dariyoosh

    >
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Hi Dariyoosh,
    SET SERVEROUTPUT ON has the effect of executing dbms_output.get_lines after each and every statement. Not only related to system view.
    Here below what Tom Kyte is explaining in this page:
    Now, sqlplus sees this functionality and says "hey, would not it be nice for me to dump this buffer to screen for the user?". So, they added the SQLPlus command "set serveroutput on" which does two things
    1) it tells SQLPLUS you would like it <b>to execute dbms_output.get_lines after each and every statement</b>. You would like it to do this network rounding after each call. You would like this extra overhead to take place (think of an install script with hundreds/thousands of statements to be executed -- perhaps, just perhaps you don't want this extra call after every call)
    2) SQLPLUS automatically calls the dbms_output API "enable" to turn on the buffering that happens in the package.Regards.
    Al

  • Some questions about the integration between BIEE and EBS

    Hi, dear,
    I'm a new bie of BIEE. In these days, have a look about BIEE architecture and the BIEE components. In the next project, there are some work about BIEE development based on EBS application. I have some questions about the integration :
    1) generally, is the BIEE database and application server decentralized with EBS database and application? Both BIEE 10g and 11g version can be integrated with EBS R12?
    2) In BIEE administrator tool, the first step is to create physical tables. if the source appliation is EBS, is it still needed to create the physical tables?
    3) if the physical tables creation is needed, how to complete the data transfer from the EBS source tables to BIEE physical tables? which ETL tool is prefer for most developers? warehouse builder or Oracle Data Integration?
    4) During data transfer phase, if there are many many large volume data needs to transfer, how to keep the completeness? for example, it needs to transfer 1 million rows from source database to BIEE physical tables, when 50%is completed, the users try to open the BIEE report, can they see the new 50% data on the reports? is there some transaction control in ETL phase?
    could anyone give some guide for me? I'm very appreciated if you can also give any other information.
    Thanks in advance.

    1) generally, is the BIEE database and application server decentralized with EBS database and application? Both BIEE 10g and 11g version can be integrated with EBS R12?You, shud consider OBI Application here which uses OBIEE as a reporting tool with different pre-built modules. Both 10g & 11g comes with different versions of BI apps which supports sources like Siebel CRM, EBS, Peoplesoft, JD Edwards etc..
    2) In BIEE administrator tool, the first step is to create physical tables. if the source appliation is EBS, is it still needed to create the physical tables?Its independent of any soure. This is OBIEE modeling to create RPD with all the layers. If you build it from scratch then you will require to create all the layers else if BI Apps is used then you will get pre-built RPD along with other pre-built components.
    3) if the physical tables creation is needed, how to complete the data transfer from the EBS source tables to BIEE physical tables? which ETL tool is prefer for most developers? warehouse builder or Oracle Data Integration?BI apps comes with pre-built ETL mapping to use with the tools majorly with Informatica. Only BI Apps 7.9.5.2 comes with ODI but oracle has plans to have only ODI for any further releases.
    4) During data transfer phase, if there are many many large volume data needs to transfer, how to keep the completeness? for example, it needs to transfer 1 million rows from source database to BIEE physical tables, when 50%is completed, the users try to open the BIEE report, can they see the new 50% data on the reports? is there some transaction control in ETL phase?User will still see old data because its good to turn on Cache and purge it after every load.
    Refer..http://www.oracle.com/us/solutions/ent-performance-bi/bi-applications-066544.html
    and many more docs on google
    Hope this helps

  • I the cloud and itunes match. Some songs have the "waiting" icon next to them but are unable to upload and instead of determing them ineligible itunes continues to try to upload that song and never gets to the rest of the list.

    I have  icloud and itunes match and most of my songs have been uploaded to the cloud. Some songs still have the "waiting" icon next to them and when I turn itunes match on they neither upload nor are they determined ineligible. My computer will literally spin its wheels for hours trying to upload the same song. Additionally, I uploaded an audiobook disc on my computer and 3 of the 11 tracks are still waiting to be uploaded???

    The exclamation mark happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    If the missing files just can't be found then, assuming you are in region where you are permitted multiple downloads of your audio purchases, delete the current enties and download again from your purchased history.
    tt2

Maybe you are looking for

  • Tomcat running under apache

    Hi All, I want to be able to run my tomcat3.3.1a under apache webserver, and i klnow i have to use mod_jk. The problem i am having is that my tomcat is not producing the mod_jk.conf_auto file. I have even added the apacheconfig directive to server.xm

  • Wireless printer offline when it isn't offline

    I set up an HP all in one printer and when I try to print from my macbook pro the printer is "offline." I also have an ipad and it prints just fine to the same printer. Why?

  • How to set default values for boolean columns

    I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success. I've tried to set default value at column level: <Field ID="{EFE23A1D-494E

  • Flex mobile project: web root and root path for a remote web service?

    Hi all, i'm trying to set up the testdrive tutorial for flex mobile project, with flash builder 4.5 and php data. I've uploaded the files on my remote web space (e.g. http://mywebsite.org, and the test file is http://mywebsite.org/TestDrive/test/test

  • Why my costumized settings change back to default, when i close the browser?

    I keep trying to customize that the browser open the windows and tabs from the last time and that before downloading something to ask me before and i save all this, but when i close it and open it again, the settings get to the default mode, meaning