VI, run duration

Hi friends,

How should I go about capturing the life test?

Test duration = beginning of VI following the time I press stop in VI

I have a while loop which is constantly acquiring data.

Thank you.

Have you looked on the pallet of Timing functions? There are several here that can be used. Easiest is to simply use the elapsed time. Just make sure that you do not set to reset when the target is reached.

Tags: NI Software

Similar Questions

  • regular expression does not run DURATION

    Hello adobe colleague,.

    I am currently stumbling on a strange question about javascript to compress a string:

    main function to compress any string, remove all non-alphabetiques characters and making the string lowercase

    function compressString (input) {}

    Patt var = new RegExp ("\\W","g");

    Patt.Compile (Patt);

    out of var = input.toLowerCase ().replace(patt,"") + "YES";

    return output;

    }

    Somehow this code runs perfectly while only viewable in adobe creative 9.0.0.2 but DURATION all javascript runs with the exception of the above party.

    I know that this part is executed because in the result, I see the string "YES" added to the response of this function.

    Somehow the model is not compiled or executed DURATION...

    I also tried several simple regular expressions but none of them actually worked.

    For models that the client option is defined where them run javascript, although while testing options to resolve the issue is also tried both and the server. None provided the solution.

    Can anyone provide any help... it is appreciated!

    Thank you

    Marcel

    Hello

    You can make your simple function.

    function compressString (input) {}

    (Return input.toLowerCase().replace(/\W/g,"") + "YESS"; "

    }

  • Had attempted to obtain address DRAM 524288

    During the execution of my program LabVIEW FPGA in ModelSim 6.5 c using external memory FlexRIO PXI-7952R I get the following fatal error in my window of transcription ModelSim

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    # * Note: running
    # Duration: 2412750 ps iteration: 1 Instance: / tb_nifpgasimulationmodel/mainstimulusblock
    # * Note: SendSettings
    # Length: 4863 ns iteration: 1 Instance: / tb_nifpgasimulationmodel/mainstimulusblock
    # * Note: running
    # Duration: 7741500 ps iteration: 1 Instance: / tb_nifpgasimulationmodel/mainstimulusblock
    # * Note: StartDMA_NOW
    # Duration: 7741500 ps iteration: 1 Instance: / tb_nifpgasimulationmodel/mainstimulusblock
    # * Note: running
    # Duration: 11011500 ps iteration: 1 Instance: / tb_nifpgasimulationmodel/mainstimulusblock
    # * Error:
    # ===================================================
    # Error has occurred
    #
    # Reason possible (s):
    #
    # LabVIEW FPGA: Was an error in the LabVIEW FPGA Module.
    #
    # Attempted to access DRAM address 524288
    # For the simulation, the valid range of addresses of DRAM is 0 to 524287
    # Limiting the address in one the following ways may fix the problem:
    #
    # Nested Clip - sharp: access only to addresses within the valid range.
    # Nested Clip - FIFO: limit the total number of elements written to the PEPS of the maximum range.
    # FPGA memory Articles: access only to addresses within the valid range and avoid access to the memory allocated to partitions beyond the maximum range.
    # ===================================================
    # Time: 11930 ns iteration: 1 Instance: / tb_nifpgasimulationmodel/nifpgasimulationmodel_instance/lvfpgasim795xtop_instance/lvfpgasim795xdrammainx/genbank0mig/drambank0controller
    # * Error:
    # ===================================================
    # Error has occurred
    #
    # Reason possible (s):
    #
    # LabVIEW FPGA: Was an error in the LabVIEW FPGA Module.
    #
    # Attempted to access DRAM address 524288
    # For the simulation, the valid range of addresses of DRAM is 0 to 524287
    # Limiting the address in one the following ways may fix the problem:
    #
    # Nested Clip - sharp: access only to addresses within the valid range.
    # Nested Clip - FIFO: limit the total number of elements written to the PEPS of the maximum range.
    # FPGA memory Articles: access only to addresses within the valid range and avoid access to the memory allocated to partitions beyond the maximum range.
    # ===================================================
    # Duration: 11932500 ps iteration: 1 Instance: / tb_nifpgasimulationmodel/nifpgasimulationmodel_instance/lvfpgasim795xtop_instance/lvfpgasim795xdrammainx/genbank0mig/drambank0controller
    # * Fatal: (vsim-3421) value 524289 is out of range of 0 to 524287.
    # Duration: 11932500 ps iteration: 1 process: / tb_nifpgasimulationmodel/nifpgasimulationmodel_instance/lvfpgasim795xtop_instance/lvfpgasim795xdrammainx/genbank0mig/drambank0controller file: nofile
    # Error fatal to a location protected by source
    #
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    In the first two lines, you can see the notes that my test bench is out.

    When I start the FIFO DMA to 'STARTDMA_NOW' process the fifo beginning to buffer, and then my algorithm starts to fill the DDR RAM. This does not appear to be due to a problem to address. My published project will have several megabytes of different memory blocks in size. But for my test bench I ask for a few hundred bytes.

    I use the external DRAM memory manager by default in the LabVIEW project, and the project has all the elements of memory shared equally in time granted round robin the resource manager in the LabVIEW project.

    I managed to reduce my elements of DRAM to the smallest size that LabVIEW will let me. By doing this, I can now write at least two elements of memory before the ModelSim error.

    It seems that LabVIEW is just launch the elements of memory anywhere that he wants in the memory card and it exceeds the capability of ModelSim to simulate accurately.

    Since the elements of memory as small as possible (it is said actual number of items 131072), this won't ever smaller. I seem to be stuck.

    I need to get LabVIEW to adjust the memory card while ModelSim can be read, or that I have to deal with ModelSim to read outside the range of addresses 524287.

    (and in case anyone asks, I'm not address located outside this range. I have only a few items. I guess that the address to which I am interested in is only a pointer and more the beginning of my block of memory allocated that is created for me.)

    Kind regards


  • Help to try to speed up the Get-HDD ScsiCanonicalName

    I'm working on a small script that will eventually be used to delete ROW, but for the moment only for testing purposes, I call you only Get-hard drive.

    My current code is as such:

    Get-disk hard - VM $vm DiskType - RawPhysical |  where {$_.} {ScsiCanonicalName - eq $i.GKUUID}

    where $vm is an object of a previous call to get - vm and $i.GKUUID is the naa # from a CSV file.

    I'm sure that my slow descent is from this line, even when all of the CSV file contains RDMs leave as a single virtual machine, so that get - vm is called only once, the script takes much longer.

    I'm pretty new to powerCLI in general, so I hope it's a faster way to find the hard drive.

    Here is the information that I have provided with:

    Action GKUUID GKHostDeviceName ESXCluster GKDeviceName ArrayName ServerName

    Delete "vm" 00000000000000000000000000000000 "cluster name" vmhba:CX:TX:LX 0000 0000-VMAX-X \\.\PHYSICALDRIVE34


    Thank you

    Hello, trevor12087-

    One thing that comes to mind is how you receive information from the hard disk for the given virtual machine.  It seems that you call Get-hard drive for each line of the CSV.  You could optimize things by calling this cmdlet less time (for example, once a VM).  Then, store the hard disk of the virtual machine objects in a table, and _then_ get the info you want on each hard drive (disc name found by ScsiCanonicalName).  Who will be a more code (for example, action of group-object), but should result in a more rapid overall performance.

    But, your desire to speed up Get-hard drive, or expedite at least to get the info of the disk hard as you want, reminded me that we at vNugglets has written such a function earlier.  This function gets Info for 'ordinary' VM - both for the virtual disks hard disks for RDM (including the ScsiCanonicalName).  So, I posted now the function to get the disks in VM and RDM using PowerCLI.

    This feature will allow in your case - not by speeding up the hard drive Get, but by eliminating the dependence on it (do not use at all).  You can use the function to get drive information you want / need and with a significant speed increases.  For example, I tested against a particular VM with RDM:

    method of retrieving disk information run duration
    Cmdlet Get-hard drive ~ 26 s
    Function get-VMDiskAndRDM of vNugglets.com ~2. 2 s

    Thus, about 10 x performance increase - nice!  And that's without rewriting as indicated above in paragraph 0.  You can also increase performance by only calling the function once per VM.

    Anyway, you can read all about this function at, once again, get drives of VM and RDM using PowerCLI.  How does do for you?

  • PL/SQL: digital error or value (string buffer of characters too small)

    Hi all

    Here is the procedure used to send notifications. It worked very well in the previous version of DB :-10.1.0.5.0 and it has been recently upgraded to 11.2.0.2.0.

    I respond very well, but when running it throws the error.
    PROCEDURE PROC_STATUS_MAIL_UNADJ IS
    
           K_BOUNDARY CONSTANT VARCHAR2(1000) := 'a1b2c3d4e3f2g1';
          l_analysis_report  VARCHAR2(32767); --empty_clob; --clob :=
          l_header VARCHAR2(1000);
          l_footer VARCHAR2(200);
          cnxn UTL_SMTP.connection;
    
          cursor cloc is select location_id from locations order by location_id asc;
    
          loc_id cloc%rowtype;
    
    BEGIN
    
      dbms_output.enable (1000000);
    
         FOR loc_id in  cloc
    
         loop
    
         l_analysis_report := '<style type="text/css">
        <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
        <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
        <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
        </style>
        <center><b><font face="Arial">Run Summary Report'
                    || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI AM') || '<br><br></font></b></center>'
                    || ' <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div>'
                    || '<span style="font-size: 10pt; font-family: Arial"> </span> '
                    || '<tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>'
                    || 'Analysis</b></td><td align="center"><font size="3"> <b>'
                    || 'Start Time</b></td><td align="center"><font size="3"> <b>'
                    || 'End Time</b></td><td align="center"><font size="3"> <b>'
                    || 'Run Duration (mins)</b></td><td align="center"><font size="3"> <b>'
                    || 'Status</b></font></td></tr> ' || UTL_TCP.CRLF;
    
    
                    FOR curr_refresh IN (SELECT AN.ANALYSIS_ID,AN.NAME ANALYSIS_NAME,TO_CHAR(ARH.RUN_START_TIME,'DD/MM/YYYY HH:MI:SS') START_TIME,
                                         TO_CHAR(ARH.RUN_END_TIME,'DD/MM/YYYY HH:MI:SS')END_TIME,
                                         ROUND(((ARH.RUN_END_TIME-ARH.RUN_START_TIME)*24*60),2) RUN_TIME_SECS,ARH.JOB_STATUS STATUS
                                         FROM
                                         RUN_HISTORY ARH,ANALYSES AN
                                         WHERE
                                         AN.ANALYSIS_ID=ARH.ANALYSIS_ID
                                         AND AN.CYCLE_IND_ID IN (1,3)
                                         AND ARH.RUN_START_TIME>TO_DATE(SYSDATE-30)
                                         AND ARH.JOB_NAME LIKE 'RHS_QU%'                                   
                                         AND AN.LOCATION_ID = loc_id.location_id
                                         AND ARH.JOB_STATUS='Completed'
                                         ORDER BY ARH.RUN_START_TIME DESC)
    
                           LOOP
    
                       l_analysis_report  := l_analysis_report ||'<tr><td align="center">'|| curr_refresh.analysis_name
                          || '</td><td align="center">' || curr_refresh.start_time || '</td><td align="center">'
                          || curr_refresh.end_time || '</td><td align="center">'|| curr_refresh.RUN_TIME_SECS ||
                          '</td><td align="center">'|| curr_refresh.status ||
                          '</td> </tr>' || UTL_TCP.CRLF;
                      exit when length (l_analysis_report) > 32500;
    
    
                   END LOOP;
    
                  l_analysis_report := l_analysis_report || '</table><br><br>';
                   l_footer := UTL_TCP.CRLF ||'<b> Note: This is an auto generated email. Please do not reply to it. Contact the IT team for any further information.</b>'||  UTL_TCP.CRLF;
    
    
                   FOR curr_email IN (SELECT GLOBAL_NAME INSTANCE_NAME,
                                      EU.EMAIL_USER_LAST_NAME last_name, EU.EMAIL_USER_FIRST_NAME ACNAME,
                                      EU.EMAIL_USER_EMAIL_ID,loc.LOCATION_NAME LOC_NAME,
                                      '[email protected]' MAIL_FROM
                                      FROM
                                      RHS_EMAIL_USER EU,LOCATIONS LOC,GLOBAL_NAME
                                      WHERE EU.LOCATION_ID=LOC.LOCATION_ID
                                      AND EU.LOCATION_ID=loc_id.location_id
                                  ) LOOP
    
                cnxn := UTL_SMTP.open_connection('smtprelay.inc.com', 25);
                UTL_SMTP.helo(cnxn, 'smtprelay.inc.com');
                UTL_SMTP.mail(cnxn, '[email protected]');
                UTL_SMTP.rcpt(cnxn, curr_email.EMAIL_USER_EMAIL_ID);
    
                      l_header := 'MIME-Version: 1.0'||'
    To: ' || curr_email.last_name || ' <' || curr_email.EMAIL_USER_EMAIL_ID || '>
    From: ' || curr_email.mail_from || '
    Subject: Un-Adjusted Analysis Report for ' || curr_email.loc_name || ' Location from' || curr_email.instance_name || ' on ' || to_char(sysdate, 'DD-MON-YYYY') || '
    Reply-To: [email protected]
    Content-Type: text/html;' || UTL_TCP.CRLF || UTL_TCP.CRLF;
    
                UTL_SMTP.data(cnxn, l_header || l_analysis_report || l_footer);
                UTL_SMTP.quit(cnxn);
    
                
                END LOOP;
    
                END LOOP;
    
    END PROC_STATUS_MAIL_UNADJ;
    
    
    Error :- 
    
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "SYS.UTL_SMTP", line 591
    ORA-06512: at "SYS.UTL_SMTP", line 497
    ORA-06512: at "SYS.UTL_SMTP", line 503
    ORA-06512: at "RISK_HISTORY.PKG_RHS_EMAIL_NOTIFY", line 206
    ORA-06512: at "RISK_HISTORY.PKG_RHS_EMAIL_NOTIFY", line 414
    ORA-06512: at line 2
    Can it please let me know if there is no problem with the code or upgrade questions?

    Kind regards
    Sunny

    Published by: k_17 on October 13, 2011 12:07

    You must move the thread {forum: id = 75}.

  • Buffer overflow error

    Hi all

    Version of DB :-10.1.0.5.0

    I have the package that is used for sending email when the report is finished. It worked very well in the test environment, but in production, he sent emails and hit. When the journal it shows the stamp on the error of flow.

    ERROR at line 1:
    ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
    ORA-06512: at "SYS.DBMS_OUTPUT", line 35
    ORA-06512: at "SYS.DBMS_OUTPUT", line 161
    ORA-06512: at "SYS.DBMS_OUTPUT", line 123
    
    Below is code 
    *************
    
    PROCEDURE PROC_STATUS IS
      
           K_BOUNDARY CONSTANT VARCHAR2(1000) := 'a1b2c3d4e3f2g1';
          l_report  VARCHAR2(32767); --empty_clob; --clob :=
          l_header VARCHAR2(1000);
          l_footer VARCHAR2(200); 
          cnxn UTL_SMTP.connection;
          
          cursor cloc is select location_id from loc order by location_id asc;
          
          loc_id cloc%rowtype;
          
    BEGIN
    
         FOR loc_id in  cloc
         
         loop
               
         l_analysis_report := '<style type="text/css">
        <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
        <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
        <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
        </style>
        <center><b><font face="Arial">Summary Report'
                    || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI AM') || '<br><br></font></b></center>'
                    || ' <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div>'
                    || '<span style="font-size: 10pt; font-family: Arial"> </span> '
                    || '<tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>'
                    || 'Report</b></td><td align="center"><font size="3"> <b>'
                    || 'Start Time</b></td><td align="center"><font size="3"> <b>'
                    || 'End Time</b></td><td align="center"><font size="3"> <b>'
                    || 'Run Duration (mins)</b></td><td align="center"><font size="3"> <b>'         
                    || 'Status</b></font></td></tr> ' || UTL_TCP.CRLF;  
                               
        
                    FOR curr_refresh IN (SELECT AN.ID,AN.NAME ,TO_CHAR(ARH.RUN_START_TIME,'DD/MM/YYYY HH:MI:SS') START_TIME,
                                         TO_CHAR(ARH.RUN_END_TIME,'DD/MM/YYYY HH:MI:SS')END_TIME,
                                         ROUND(((ARH.RUN_END_TIME-ARH.RUN_START_TIME)*24*60),2) RUN_TIME_SECS,ARH.JOB_STATUS STATUS
                                         FROM....... so & so)                             
                                         
                           LOOP
                                                     
                       l_report  := l_report ||'<tr><td align="center">'|| curr_refresh.name               
                          || '</td><td align="center">' || curr_refresh.start_time || '</td><td align="center">'
                          || curr_refresh.end_time || '</td><td align="center">'|| curr_refresh.RUN_TIME_SECS ||
                          '</td><td align="center">'|| curr_refresh.status ||
                          '</td> </tr>' || UTL_TCP.CRLF;
    
                      exit when length (l_report) > 32500;    
                   
                   
                   END LOOP; 
                   
                  l_report := l_report || '</table><br><br>';
                   l_footer := UTL_TCP.CRLF ||'<b> Note: This is an auto generated email. Please do not reply to it. Contact the IT team for any further information.</b>'||  UTL_TCP.CRLF;
                 
          
                   FOR curr_email IN (SELECT GLOBAL_NAME INSTANCE_NAME,
                                      EU.EMAIL_USER_LAST_NAME last_name, EU.EMAIL_USER_FIRST_NAME ACNAME,
                                      EU.EMAIL_USER_EMAIL_ID  ....... so & so) LOOP
                                              
                cnxn := UTL_SMTP.open_connection('smtprelay.XXXXX.com', 25);
                UTL_SMTP.helo(cnxn, 'smtprelay.XXXXX.com');
                UTL_SMTP.mail(cnxn, '[email protected]');
                UTL_SMTP.rcpt(cnxn, curr_email.EMAIL_USER_EMAIL_ID);
                            
                      l_header := 'MIME-Version: 1.0'||'
    To: ' || curr_email.last_name || ' <' || curr_email.EMAIL_USER_EMAIL_ID || '>
    From: ' || curr_email.mail_from || '
    Subject: Status Report for ' || curr_email.XXXXX || ' on ' || to_char(sysdate, 'DD-MON-YYYY') || '
    Reply-To: [email protected]
    Content-Type: text/html;' || UTL_TCP.CRLF || UTL_TCP.CRLF;
    
                UTL_SMTP.data(cnxn, l_header || l_report || l_footer);                    
                UTL_SMTP.quit(cnxn);
                          
                DBMS_OUTPUT.put_line('mail sent to ' || curr_email.EMAIL_USER_EMAIL_ID);         
                
                END LOOP;
                
                END LOOP; 
                
    END PROC_STATUS;
    So let me removal of "DBMS_OUTPUT.put_line (' mail sent to ' |)» curr_email. EMAIL_USER_EMAIL_ID); "would be the fix for this. If not any suggestions please.

    Kind regards
    Sunny

    This is the procedure of package as you can see, then add it after

    BEGIN
    

    Or you can add this command before call you the procedure.

    In my view, the use of the output for the large amount of logging information is not good idea.

  • Error notification e-mail...

    Hi all

    I created the new e-mail notification procedure. When I run the enamel of procedure is triggered, but in the body of the email, it returns an error message that is mentioned below. Actually this isn't Error exporting the code.
    CREATE OR REPLACE Procedure PROC_STATUS_MAIL_TEST
    IS
      
          l_ana_report  VARCHAR2(32767); --empty_clob; --clob :=
          l_header VARCHAR2(1000);
          l_footer VARCHAR2(200); 
          cnxn UTL_SMTP.connection;
    
    BEGIN
         
               l_ana_report := '<style type="text/css">
        <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
        <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
        <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
        </style>
        <center><b><font face="Arial">Ana Run Summary Report '
                    || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI AM') || '<br><br></font></b></center>'
                    || ' <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div>'
                    || '<span style="font-size: 10pt; font-family: Arial"> </span> '
                    || '<tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>'
                    || 'Ana</b></td><td align="center"><font size="3"> <b>'
                    || 'Start Time</b></td><td align="center"><font size="3"> <b>'
                    || 'End Time</b></td><td align="center"><font size="3"> <b>'
                    || 'Run Duration (mins)</b></td><td align="center"><font size="3"> <b>'         
                    || 'Status</b></font></td></tr> ' || UTL_TCP.CRLF;
    
                    FOR curr_refresh IN (SELECT AN.ANA_ID,AN.NAME ANA_NAME,ARH.RUN_START_TIME START_TIME,ARH.RUN_END_TIME END_TIME,
                                         ROUND(((ARH.RUN_END_TIME-ARH.RUN_START_TIME)*24*60),2) RUN_TIME_SECS,ARH.JOB_STATUS STATUS
                                         FROM 
                                         RUN_HISTORY ARH,ANA AN,
                                              (SELECT ANA_ID FROM ANA_SELECTED_DATA_TYPES 
                                               WHERE DATA_TYPE_ID IN (SELECT DATA_TYPE_ID FROM DATA_TYPE_LU 
                                               WHERE IND IN ('P','L'))) ADT
                                          WHERE 
                                         ARH.ANA_ID=ADT.ANA_ID
                                         AND AN.ANA_ID=ARH.ANA_ID
                                         AND ARH.RUN_START_TIME>TO_DATE(SYSDATE-20)
                                         ORDER BY ARH.RUN_START_TIME DESC)  LOOP   
                                                     
               l_ana_report  := l_ana_report || 
               '<tr><td align="center">'|| curr_refresh.ana_name                  
                  || '</td><td align="center">' || curr_refresh.start_time || '</td><td align="center">'
                  || curr_refresh.end_time || '</td><td align="center">'|| curr_refresh.RUN_TIME_SECS ||
                  '</td><td align="center">'|| curr_refresh.STATUS ||
                  '</td> </tr>' || UTL_TCP.CRLF;
                   exit when length (l_ana_report) > 32500;   
          END LOOP;
          
           l_ana_report := l_ana_report || '</table><br><br>';
      
        --   l_body := UTL_TCP.CRLF || 
        --   UTL_TCP.CRLF || l_ana_report;
        --   l_footer := UTL_TCP.CRLF || '--' || K_BOUNDARY || '--' || UTL_TCP.CRLF;
     
         l_footer := UTL_TCP.CRLF ||
         '<b> Note: This is an auto generated email. Please do not reply to it. Contact the IT team for any further information.</b>'||  UTL_TCP.CRLF;
          
                FOR curr_email IN (SELECT global_name instance_name,
                REU.EMAIL_USER_LAST_NAME last_name, 
                REU.EMAIL_USER_FIRST_NAME first_name,
                REU.EMAIL_USER_EMAIL_ID,
                '[email protected]' mail_from
                                 FROM EMAIL_USER REU,EMAIL_GROUP REG,GLOBAL_NAME
                                             WHERE REU.EMAIL_GROUP_ID = REG.EMAIL_GROUP_ID
                                                   AND REG.EMAIL_GROUP_NAME = 'Business'                                            
                                  ) LOOP
                
                cnxn := UTL_SMTP.open_connection('smtprelay.aceins.com', 25);
                UTL_SMTP.helo(cnxn, 'smtprelay.aceins.com');
                UTL_SMTP.mail(cnxn, '[email protected]');
                UTL_SMTP.rcpt(cnxn, curr_email.EMAIL_USER_EMAIL_ID);
                
            l_header := 'MIME-Version: 1.0'||'
            To: ' || curr_email.last_name || ' <' || curr_email.EMAIL_USER_EMAIL_ID || '>
            From: ' || curr_email.mail_from || '
            Subject: Ana Run Status Report for ' || curr_email.instance_name || ' on ' || to_char(sysdate, 'DD-MON-YYYY') || '
            Reply-To: [email protected]
            Content-Type: text/html;' || UTL_TCP.CRLF || UTL_TCP.CRLF;
    
          -- l_email := UTL_TCP.CRLF || l_header || l_ana_report || l_footer;
                
                UTL_SMTP.data(cnxn, l_header || l_ana_report || l_footer);                    
                UTL_SMTP.quit(cnxn);
                
                DBMS_OUTPUT.put_line('mail sent to ' || curr_email.EMAIL_USER_EMAIL_ID);
          END LOOP;
    
    END PROC_STATUS_MAIL_TEST;
    Email body: -.

    < style type = "text/css" >
    <!-.style1 {-font family: Verdana, Arial, Helvetica, without serif; do-size: 10pt; make-style: normal; color: #FF0000}->
    <!-.sidebar1 {do-family: Arial, Helvetica, without serif; do-size: 10px}->
    <!-.text {do-family: Arial, Helvetica, without serif; do-size: 12px}->
    < / style >
    < Center > < b > < of police = "Arial" > Ana Run Summary Report July 29, 2011 13:22 < br > < br > < / police > < / b > < / center > < div align = "center" > < table width = "95%" border = "1" cellspacing = "0" cellpadding = "1" < / div > < span style = "font size: 10pt;" font family: Arial "> < / span > < tr bgcolor = b4b4b4 > < td align ="center"> < size ="3"> < b > analysis < /b > < table > < td align ="center"> < size ="3"> < b > Start Time < /b > < table > < td align ="center"> < size ="3"> < b > end time < /b > < table > <" TD align = "center" > < fonts Size = "3" > < b > duration of execution (mins) < /b > < table > < td align = "center" > < font size = "3" > < b > status < /b > < / font > < table > < /tr > < tr > < td align = "center" > PCSUM CE we < table > < td align = "center" > 28 July 11 < table > < td align = "cente... and so of. Suite



    Can someone please guide me if something wrong with the syntax or code. I checked on google, but could not get out, always Googling.

    Kind regards
    Sunny

    Published by: k_17 on August 1, 2011 14:41

    k_17 wrote:

    I created the new e-mail notification procedure. When I run the enamel of procedure is triggered, but in the body of the email, it returns an error message that is mentioned below. Actually this isn't Error exporting the code.

    We need to see the actual error message for an accurate diagnosis.

    Looking at the code - looks like your code is violating the SMTP specifications (see RFC5321 for more details).

    The standard it seems to violate is the maximum size of a line of text send via the DATA command. The specification reads as follows:

    4.5.3.1.6.  Text Line
    
       The maximum total length of a text line including the  is 1000
       octets (not counting the leading dot duplicated for transparency).
       This number may be increased by the use of SMTP Service Extensions.
    

    Use several calls after the command DATA to deliver your MIME body and ensure that each call does not exceed a 1000 per line of text bytes.

    I suggest reading/analysis the RFC set to become familiar with the language of Protocol to request your code uses to communicate with the SMTP server.

  • I try to delete a file, but its duration I can't find this particular run file.how can I find this .exe files

    original title: delete files problem
    I try to delete a file, but its duration I can't find this particular run file.how can I find this .exe files

    I try to delete a file, but its duration I can't find this particular run file.how can I find this .exe files

    You mean you tried to delete a file, but said that it was in use?

    Try Unlocker.

  • DSC set up Alarming.vi - duration of long-running!

    I have a variable application ~ 400 County with DSC Shared Variable engine running.

    Call Alarming.vi set (DSC motor control Palette) to set off alarms takes about 30 to 50 seconds to the process through the list of variables.  In the former SDC you used to be able to I think.  Is there any equivalent for this function when you use EVS or what I have to deal through both variables?

    I tried only the \\hostname\LibraryProcess\ of power VI, but he didn't like that.

    RVallieu,

    Looks like you tried the correct steps. I talked to our R & D team, and it is unfortunately not an option to toggle hidden alarms in bulk. However, there is a better way to do that might be a bit faster. Check out This example of community . It defines alarming features one by one and then they committed at the same time, which is more effective.

    Otherwise, it is not really a good way to speed it up. 400 shared variables is many things to manage.

  • How can I leave the program runs longer than the duration of sleep?

    I have a desktop Pavilion Elite HPE - 110 t (win7) .  Turn off display & sleep have the default value (10 & 20 minutes).  According to the instructions that I read (somewhere in the paper documentation) when I got to the computer a few months ago, I do not turn off it during the night.  I think included grounds for diagnostics to run (by default grid) & I "think" I've seen (the next day) scans messages, updates, etc. have been executed.  I however turn off my modem to prevent the activity internet auto (anyway) during the night.

    This configuration has been satisfactory until this morning, when I tried to leave an app running I knew would require more than one hour to complete.  I had other non-computer tasks to do & did not sit the computer baby to keep him awake.  In fact, I thought that 'activity' (including the activities of memory without keyboard activity) he would keep awake.

    To my surprise when I got home 3 hours later, treatment stopped about 45 minutes after the start.  This was determined by the timestamps of the output files.  Normal processing resumed after that I have he awakened from his sleep.

    Is there a way (outside change go-to-sleep time setting each time) to allow work of long-term programs/application to keep running & to go to sleep after the treatment is finished? Am I wrong to think that 'auto diagnostic' are running when the computer & I sleep at night?

    Thank you

    The process will continue even after the monitor goes to sleep.

    I first noticed this problem when you make copies of images hard drive hard drive.

  • Duration of Windows7 stopping at vaio care running

    VAIO care will not work

    Hello

    If I understand correctly you are facing problems with Sony Vaio Care in your Windows 7 computer. I would like to know more information on the issue, so that we can help you better.

    1. what happens when you try to run the Sony Vaio Care?

    2. do you get any error code or error message?

    3A this works much earlier?

    4. have you made changes on the computer before this problem?

    Let us try the following methods and check if it works for you.

    Method 1:

    Try the steps in the following Microsoft Help article.

    What is a runtime error?

    http://Windows.Microsoft.com/en-us/Windows7/what-is-a-runtime-error

    Method 2:

    Put the computer into clan start state, and then try to run Sony Vaio Care. Place the computer in a clean boot state will help you determine which third-party program or an application at the origin of this problem.

    How to troubleshoot a problem by performing a boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: once you have completed troubleshooting, try the procedure described in step 3 to reset the computer to start as usual.

    If placing the computer in a clean boot state does not, then you try to reinstall Vaio care program and check. To further help related to Vaio Care contact Sony.

    http://eSupport.Sony.com/us/p/select-System.pl?Director=contact

    For more information, see the following Sony link:

    http://www.Sony.co.UK/hub/VAIO-software/VAIO-care

    Please reply with the status of the issue, so that we can better help you.

  • Program runs faster than expected - optimization of the compiler/DURATION?

    Hello.
    Here is the code example:

    Public Shared Sub main (String [] args) {}
    int var = 0;
    Start long = System.currentTimeMillis ();
    for (int i = 0; i < 1000000; i ++) {}
    for (int y = 0; y < 1000000; y ++) {}
    var = i + y;
    }
    }
    System.out.println ("operation took" + (System.currentTimeMillis () - start));
    System.out.Print (var);
    }

    And the output is:

    Operation took 10
    1999998

    So, it took only 10 milliseconds to run 1000000 * 1000000 additions.
    Question: is Java not actually perform additions or my expectations is just too old fashioned and it's normal "timing" on modern machines?

    Thank you
    Valery

    Valery_Cherepanov wrote:
    After a few tests and calculations I now tend to think that java is actually down additions

    No it's not "drop" anything. The Hotspot compiler figures simply noted that this:

        for (int y = 0; y < 1000000; y++)
            var = i + y;
    

    is exactly equivalent to this:

       var = i + ;
    

    And then he made similar optimization for the outer loop.

    It's just an optimization compiler do what does a compiler optimization: optimization of your microbenchmark down to nothing.

    (And looking at the byte-code is not particularly for education, as optimization happens in Hotspot, not in javac.) Access point can do things like inline method that javac cannot do so many things, so most of the optimizations are implemented in Hotspot rather than javac.)

  • How to create a rep duration of Reports10G file and run from the client side

    How can I do rep Reports10G file and can be run from the client side like report 6, 6i. I'd appreciate your quick response.

    Thank you

    If I remember correctly, the .rep files are 6i and earlier versions. 9i and later versions do not generate .rep.
    the 10g is no longer a client server model, is a model of web

    typical system:

    you have a server for your database
    you have a server for your application server (was RDF & .fmb (.fmx) files resident) is also your intranet.
    you have a customer

    the client uses a browser such as Firefox or IE to browse the intranet site. Oracle application server is your forms & reports a java plugin.

    hope this helps

  • Is the DURATION argument: what form to run module

    Dear friends,

    I put several user settings in file formsweb.cfg as of

    [user1]
    UserID=shifa12/shifa12@ORCL

    user [2]
    UserID=shifa_heaven/shifaheaven@ORCL

    user [3]
    UserID=fatima_tower/fatimatower@ORCL

    and used link

    http://shafa:8889 / / forms/frmservlet? config = User1

    http://shafa:8889 / / forms/frmservlet? config = user2

    http://shafa:8889 / / forms/frmservlet? config = user3

    now, I want to use several module above links

    I hope you understand my question?

    Dear Asif,

    You can easily do this by adding the name of the form to each user. like: -.

    [user1]
    UserID=shifa12/shifa12@ORCL
    form = D:\MODULE1\LOGIN_FORM. FMX
    envFile = default.env

    user [2]
    UserID=shifa_heaven/shifaheaven@ORCL
    form = D:\MODULE2\LOGIN_FORM. FMX
    envFile = default1.env

    user [3]
    UserID=fatima_tower/fatimatower@ORCL
    form = D:\MODULE3\LOGIN_FORM. FMX
    envFile = default2.env

    After that, in each default.env add your path shape as: -.

    BY DEFAULT. ENV

    FORMS_PATH = D:\DevSuiteHome_1\forms; D:\DevSuiteHome_1\forms\webutil; D:\DevSuiteHome_1\forms\java\icons; D:\MODULE1

    PATH1. ENV

    FORMS_PATH = D:\DevSuiteHome_1\forms; D:\DevSuiteHome_1\forms\webutil; D:\DevSuiteHome_1\forms\java\icons; D:\MODULE2

    DEFAULT2. ENV

    FORMS_PATH = D:\DevSuiteHome_1\forms; D:\DevSuiteHome_1\forms\webutil; D:\DevSuiteHome_1\forms\java\icons; D:\MODULE3

    I think this will help you...

  • MacBook Pro (3-inches, mid-2012) suddenly started running very slowly; Beach balls very common

    About a week and a half, it started running very slowly with the spinning beach balls popping up all the time.  This reminds me of how when I have too many tabs of the browser as in the past, but now, even with browsers had closed, open Word or Skype is really slow.  (I'm sorry for any confusing formulation; I'm not very computer customer connected, unfortunately!)

    Some of the things I've tried so far and EtreCheck below):

    -safe mode

    -detection of hardware problems (control + D)

    -reset the PRAM

    -using the utility disc for repair/first care; also check

    -wipe the hard drive and reinstalling original OS X Lion (was still slow with beach balls; I tried to install OS X El Capitan to see if that would help, but installation could not finish)

    -wipe the hard drive and restarting from a backup previous (one month before the problems started)

    EtreCheck version: 3.0.3 (307)

    Report generated 2016-09-11 17:51:16

    Download https://etrecheck.com EtreCheck

    Duration 34: 39

    Performance: poor

    Click the [Support] links to help with non-Apple products.

    Click the [details] links for more information on this line.

    Problem: Beachballing

    Description:

    also very slow in general

    Hardware information: ⓘ

    MacBook Pro (13-inch, mid-2012)

    [Technical details] - [User Guide] - [warranty & Service]

    MacBook Pro - model: MacBookPro9, 2

    1 2.5 GHz Intel Core i5 CPU: 2 strands

    4 GB of RAM expandable - [Instructions]

    BANK 0/DIMM0

    OK 2 GB DDR3 1600 MHz

    BANK 1/DIMM0

    OK 2 GB DDR3 1600 MHz

    Bluetooth: Good - transfer/Airdrop2 taken in charge

    Wireless: en1: 802.11 a/b/g/n

    Battery: Health = Normal - Cycle count = 1054

    Video information: ⓘ

    Graphics Intel HD 4000

    Color LCD 1280 x 800

    System software: ⓘ

    OS X El Capitan 10.11.4 (15E65) - since startup time: less than an hour

    Disk information: ⓘ

    TOSHIBA MK5065GSXF disk0: (500,11 GB) (rotation)

    EFI (disk0s1) < not mounted >: 210 MB

    Macintosh HD (disk0s2) /: 499,25 go-go (349,39 free)

    Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB

    HL-DT-ST DVD - RW GS31N)

    USB information: ⓘ

    Apple Inc. Apple keyboard / Trackpad

    Computer, Inc. Apple IR receiver.

    Apple Inc. BRCM20702 hub.

    Apple Inc. Bluetooth USB host controller.

    Apple Inc. FaceTime HD camera (built-in)

    Information crush: ⓘ

    Apple Inc. Thunderbolt_bus.

    Goalkeeper: ⓘ

    Mac App Store and identified developers

    Launch system officers: ⓘ

    [loaded] 6 tasks Apple

    [loading] 164 tasks Apple

    [operation] 68 tasks Apple

    Demons of launch system: ⓘ

    [loaded] 43 tasks Apple

    [loading] 161 tasks Apple

    [operation] 85 tasks Apple

    Launch officers: ⓘ

    [loading] com.google.keystone.agent.plist (2016-07-12) [Support]

    Launch of the demons: ⓘ

    [loading] com.adobe.fpsaud.plist (2016-06-29)

    [loading] com.google.Keystone.daemon.plist (2016-09-11) [Support]
    [loading] com Microsoft.Office.Licensing.Helper.plist (2011-03-10) [Support]

    Launch User Agents: ⓘ

    [loading] com.valvesoftware.SteamClean.plist (2016-05-14) [Support]

    Internet Plug-ins: ⓘ

    FlashPlayer - 10.6: 22.0.0.209 - SDK 10.9 (2016-07-22) [Support]
    QuickTime Plugin: 7.7.3 (2016-04-05)
    Flash Player: 22.0.0.209 - SDK 10.9 (2016-07-22) [Support]
    Default browser: 601 - SDK 10.11 (2016-04-05)
    o1dbrowserplugin: 5.41.3.0 - 10.8 SDK (2015-12-21) [Support]
    SharePointBrowserPlugin: 14.2.4 - SDK 10.6 (2012-10-03) [Support]
    googletalkbrowserplugin: 5.41.3.0 - 10.8 SDK (2015-12-12) [Support]
    Silverlight: 5.1.10411.0 - SDK 10.6 (2014-03-29) [Support]

    The internet user Plug-ins: ⓘ

    Web of Google Earth plugin: unknown (2013-01-24)

    The Safari Extensions: ⓘ

    AdBlock - BetaFish, Inc. - https://getadblock.com (2015-10-14)

    3rd party preference panes: ⓘ

    Flash Player (2016-06-29) [Support]

    Time Machine: ⓘ

    Mobile backups: WE
    Automatic backup: YES
    Volumes to back up:
    Macintosh HD: Disc size: 499,25 GB disc used: 149,86 GB
    Destinations:
    X. backup [Local]
    Total size: 999,86 GB
    Total number of backups: 7
    An older backup: 05/01/16 17:26
    Last backup: 28/08/16 23:43
    Size of backup drive: adequate
    Backup size 999,86 GB > (disc 149,86 GB X 3)

    Top of page process CPU: ⓘ

    11% Firefox
    4% kernel_task
    3% hidd
    2% sandboxd
    2% WindowServer

    Top of the process of memory: ⓘ

    1.00 GB Firefox
    457 MB kernel_task
    291 MB mdworker (15)
    143 MB mds_stores
    90 MB Microsoft Word

    Information about virtual memory: ⓘ

    36 MB Free RAM
    3.96 GB Used RAM (657 MB cache)
    0 B Swap used

    Diagnostic information: ⓘ

    Sep 11, 2016, 16:37:21 Self test - passed
    Sep 11, 2016, 09:20:57 ~/Library/logs/DiagnosticReports/suggestd_2016-09-11-092057_[redacted]. Crash

    /System/Library/PrivateFrameworks/CoreSuggestions.Framework/versions/A/support/s uggestd

    Thank you in advance for your answers - I'm just at a loss for what could be the real problem!

    You Mbps HARD drive is suspect.  Start the recovery (COMMAND-R) partition and select in menu 4 disk utility.  Run disk utility > first aid > repair.

    Unrelated, but your battery has seen a lot of use.  I suggest to replace.

    Ciao.

Maybe you are looking for

  • Where are my poke pieces?

    through my card associated with my itunes account, AmEx I bought $4.99 on Pokemon poke parts go on my iphone 6 indicates the credit card purchase is approved, but some parts have shown upward in the pokemon see the app store. I bought successfully ma

  • Wheel rotation, even with the new SSD

    Hi all I have a mid-2012 Macbook Pro unibody (2.9 Ghz, Intel Core i7, 8 GB of DDR3, Intel HD 4000 1536 MB graphics card memory) running OSX El Capitan 10.11.6. Stock HARD drive used to run very slowly with the wheel that turns all the time, replace w

  • You are not on the latest version of Firefox. Update today to get the best of the Web!

    Whenever I update my firefox, I get this message, you are not on the latest version of Firefox. Update today to get the best of the Web!

  • Satellite L655-S5107 - no battery detected after installing Win 8.1

    I have install windows 8.1 on my Toshiba Satellite L655-S5107, battery with an x? will appear in the description says "no battery is detected. Why is this happening? Do I need a driver or software?

  • How do I get emails to stay on Yahoo/ATT sever

    I download my mails from Yahoo / AT & T and it works find.  But I want them to stay on the server as well so I can access it via the Yahoo app on my iPhone.  But they just "pass through"Yahoo."  There is no option to "leave on server" in my configura