Stopping execution in JPadPro

I'm using JPadPro to write my script.
Sometimes I'm caught in an infinite loop, and I don't know
how to stop JPadPro from executing the script.
What I do now is exit and open the application,
which is very troublesome.
Does anyone know how to stop it?
Thanks very much.

On the tool bar, there is a small X mark. This will stop the execution of your program.
Vijay :-)

Similar Messages

  • How to stop execution in while loop without stopping execution of other loops in the same vi

    HI
    I am quite a novice in Labview.
    I have a problem in my project. I used a while loop inside my vi to build an array of ten values along with other loops. Then I used a stop button to stop manually the while loop. But it seems like the loop doesn't stop in the middle of the array building and so other loops in the vi doesn't work until the while loop finishes building the array and as soon as while loop execution is over, the complete vi stops. But all that I wanted was to build the array using the shift register along with the control to stop building array anytime. And not to stop execution of other structures when the while loop finishes.
    Can anyone help me?
    Rahul

    Hi Rahul,
    Modified ur Vi to work with single button.
    But the subtract case is not in any loop.
    So, once both the loops stop, the subtract case will execute only once. Depending on state of subtaract boolean at that time, corresponding case will be executed and the Vi will stop.
    so think of a logic where u can put this also in a new loop.
    Or you can also incorporate it in one of the two loops and pass the other loop's data to it.
    Let us know how you will proceed in this regard
    I am posting your VI as well a VI with my modifications VI in Labview 7.0 so that Thomas can give his suggestions too
    Plus, always keep a time delay in your while loops.
    Oh sorry, the "arrayinouttestnewfinal.vi" is the modified vi
    Regards
    Dev
    Message Edited by devchander on 01-10-2006 06:15 AM
    Message Edited by devchander on 01-10-2006 06:19 AM
    Attachments:
    arrayinouttestnewfinalnew4.vi ‏59 KB
    arrayinouttestnewfinal.vi ‏63 KB

  • Stop execution until GUI is completed

    I wrote a program to monitor a seniority list. If an odd last name, first name, etc is encountered, a gui opens to request the proper form of the name. The problem is that the program keeps running even though the gui has not yet been fililed out. How do I stop execution until the GUI is completed?
    Thanks
    Joe

        public static void readFile2(String lnames   [], String fnames[], String mnames[],
                                     String facs     [], String sdates[], String scores[],
                                     String scrambles[], String filename)
            String tempTitle = "JR";
            System.out.println("Inside ReadFile");
            try
                System.out.println("Inside Try");
                BufferedReader in = new BufferedReader(new FileReader( filename ));
                        //"C:/Documents and Settings/Joe/JavaApplication1/src/test.txt"));
                String tempElement  = "";
                //String tempElements[15];
                String tempElement1 = "";
                String tempElement2 = "";
                String tempElement3 = "";
                String tempElement4 = "";
                String tempElement5 = "";
                String tempElement6 = "";
                String tempElement7 = "";
                String tempElement8 = "";
                String tempElement9 = "";
                String tempElement10 = "";
                String tempElement11 = "";
                String tempElement12 = "";
                StringTokenizer data;
                String S;
                int numberOfTokens = 0;
                int numberOfWords  = 0;
                int numberOfLines  = 0;
                S = in.readLine();
                data = new StringTokenizer(S);
                numberOfTokens = data.countTokens();
                //System.out.println("Next Token " + data.nextToken());
                //System.out.println(data);
                //array[row][col]
                System.out.println("Ready to Tokenize");
                int i = 0;
                int q = 0;
                int lineCount = 0;
                while( ( ! S.equals("") ) && (data.hasMoreTokens() )
                                          && (S.trim().length() != 0))//in.readLine()
                    int col = 0;
                    int j = 0;
                    //while( i < SenListHelpers.getArrayLength(tempElements2) )
                        while( data.hasMoreTokens() )
                            tempElements1[i][j] = data.nextToken();    //get LName
                            System.out.println(" Getting tempElements1[ " + i + " ]" + "[ " + j + " ]" + tempElements1[i][j]);
                            //System.out.println("tempElements [" +  i  +  "] "    + tempElements1[i][j]);
                            j ++;
                        i ++;
                        System.out.println(" i = " + i );
                        int p = 0;
                        System.out.println("tempElements [" +  q  +  "] "    + tempElements1[q][p]
                                                                       + " " + tempElements1[q][p+1]
                                                                       + " " + tempElements1[q][p+2]
                                                                       + " " + tempElements1[q][p+3]
                                                                       + " " + tempElements1[q][p+4]
                                                                       + " " + tempElements1[q][p+5]
                                                                       + " " + tempElements1[q][p+6]);
                        q ++;    
                        //#2
                            ( compareStringByCase(tempElements1[lineCount][0], "DE"    ) ) ||
                            ( compareStringByCase(tempElements1[lineCount][0], "LE"    ) ) ||   
                            ( compareStringByCase(tempElements1[lineCount][0], "LA"    ) ) ||
                            ( compareStringByCase(tempElements1[lineCount][0], "MC"    ) ) ||  
                            ( compareStringByCase(tempElements1[lineCount][0], "ST"    ) ) ||
                            ( compareStringByCase(tempElements1[lineCount][0], "ST."   ) ) ||   
                            ( compareStringByCase(tempElements1[lineCount][0], "VAN"   ) ) ||    
                            ( compareStringByCase(tempElements1[lineCount][0], "EL"    ) )
                        if( ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "DE"    ) ) ||
                            ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "LE"    ) ) ||   
                            ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "LA"    ) ) ||
                            ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "MC"    ) ) ||  
                            ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "ST"    ) ) ||
                            ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "ST."   ) ) ||   
                            ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "VAN"   ) ) ||    
                            ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "EL"    ) ) )
                            System.out.println("");
                            correctOfficerGUI test = new correctOfficerGUI(tempElements1, lineCount);
                            test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
                            return;// from this method;
    //Here is the GUI class
    public class correctOfficerGUI extends JFrame
            private final JTextField nameInfo, lname, fname, mname, sdate, score, scramble;
            private JPanel form;
            private final JFrame f;
            //EASTERN NY
            public static String nameInfoString   = new String();
            String facilities[] = {     
            "ADIRONDACK",     "ALBION",    "ALTONA", "ARTHUR KILL", "ATTICA",                         
         "AUBURN CORR",  "BARE HILL", "BAYVIEW",     "BEACON", "BEDFRD HILL",                    
            "BUFFALO",      "BUTLER",    "BUTLER ASAT", "GABRIELS",     "GEORGETOWN",                    
         "PHARSALIA",     "CAPE VINCEN", "CAYUGA", "CHATEAUGAY", "CLINTON COR",     
         "COLLINS",     "COXSACKIE", "DOWNSTATE", "EASTERN NY", "EDGECOMBE",                    
         "ELMIRA CNTR",  "FISHKILL",  "FIVE POINTS", "FRANKLIN", "FULTON FAC",                    
         "GOUVERNEUR",     "GOWANDA", "GREAT MEADW", "GREEN HAVEN", "GREENE",                         
         "GROVELAND",     "HALE CREEK", "HUDSON", "LAKEVIEW", "LAKEVIEW ASA",
         "LINCOLN FAC",     "LIVINGSTON", "LYON MTN", "MARCY", "MID-ORANGE",                    
         "MID STATE",     "MOHAWK",     "MONTEREY", "MORIAH SICF", "MT MCGREGOR",     
            "NYC CTL ADM",  "OGDENSBURG", "ONEIDA",  "ORLEANS", "OTISVILLE",                    
         "QUEENSBORO",     "RIVERVIEW",  "ROCHESTER", "SHAWANGUNK", "SING SING",                    
         "SOUTHPORT",     "SULLIVAN",   "SUMMIT",     "TACONIC C F", "ULSTER",                         
         "UPSTATE",     "WALLKILL",  "WASHINGTON", "WATERTOWN", "WENDE",                         
         "WILLARD",     "WOODBOURNE", "WYOMING"};
        public correctOfficerGUI(String[][] array, int lineCount)
            //JFrame
            f = new JFrame("Add Officer");
            // Make a panel to hold the demo �form", then
            // add it to the top of the frame�s content pane
            //JPanel
            form = new JPanel();
            f.getContentPane().setLayout(new BorderLayout());
            f.getContentPane().add(form, BorderLayout.NORTH);
            // Set the form panel�s layout to GridBagLayout
            // and create a FormUtility to add things to it.
            form.setLayout(new GridBagLayout());
            FormUtility formUtility = new FormUtility();
            // Add some sample fields
            System.out.println(array[lineCount][0] + " " + array[lineCount][1] + " " +
                               array[lineCount][2] + " " + array[lineCount][3] + " " +
                               array[lineCount][4] + " " + array[lineCount][5] + " " +
                               array[lineCount][6] + " " + array[lineCount][7] );
            formUtility.addLabel("Name Info: ", form);
            //JTextField
            nameInfo = new JTextField();
            Dimension nameInfoSize = nameInfo.getPreferredSize();
            nameInfoSize.width = 180;
            nameInfo.setPreferredSize(nameInfoSize);
            JPanel nameInfoPanel = new JPanel();
            nameInfoPanel.setLayout(new BorderLayout());
            nameInfoPanel.add(nameInfo, BorderLayout.WEST);
            formUtility.addLastField(nameInfoPanel, form);
            nameInfo.setText(getNameInfo(array, lineCount));
            formUtility.addLabel("Last Name: ", form);
            //JTextField
            lname = new JTextField();
            Dimension lnameSize = lname.getPreferredSize();
            lnameSize.width = 150;
            lname.setPreferredSize(lnameSize);
            JPanel lnamePanel = new JPanel();
            lnamePanel.setLayout(new BorderLayout());
            lnamePanel.add(lname, BorderLayout.WEST);
            formUtility.addLastField(lnamePanel, form);
            //lname.setText("xxx");
            formUtility.addLabel("First Name: ", form);
            //JTextField
            fname = new JTextField();
            Dimension fnameSize = lname.getPreferredSize();
            fnameSize.width = 150;
            fname.setPreferredSize(fnameSize);
            JPanel fnamePanel = new JPanel();
            fnamePanel.setLayout(new BorderLayout());
            fnamePanel.add(fname, BorderLayout.WEST);
            formUtility.addLastField(fnamePanel, form);       
            formUtility.addLabel("Middle Initial: ", form);
            //JTextField
            mname = new JTextField();
            Dimension mnameSize = mname.getPreferredSize();
            mnameSize.width = 20;
            mname.setPreferredSize(mnameSize);
            JPanel mnamePanel = new JPanel();
            mnamePanel.setLayout(new BorderLayout());
            mnamePanel.add(mname, BorderLayout.WEST);
            formUtility.addLastField(mnamePanel, form);   
            formUtility.addLabel("Facility: ", form);
            //JTextField spacer = new JTextField();
            //Dimension spacerSize = spacer.getPreferredSize();
            //spacerSize.width = 20;
            //spacer.setPreferredSize(spacerSize);
            JPanel spacerPanel = new JPanel();
            spacerPanel.setLayout(new BorderLayout());
            //spacerPanel.add(spacer, BorderLayout.WEST);
            formUtility.addLastField(spacerPanel, form);   
         //Container contentpane;
            //contentpane = getContentPane();
         //contentpane.setLayout(new FlowLayout());
            final JList list = new JList(SenListArraySetUp.facilities);
            /* getFacilityIndex( SenListHelpers.getFacility(array, lineCount), facilities ) */
            System.out.println("getFacility     " + SenListHelpers.getFacility(array, lineCount) );
            System.out.println("*******");
            //System.out.println("getFacility     " + getFacilityIndex( SenListHelpers.getFacility(array, lineCount), SenListArraySetUp.facilities ) );
            //getFacilityIndex( SenListHelpers.getFacility(array, lineCount), facilities );
            System.out.println(" ");
            int index = getFacilityIndex( SenListHelpers.getFacility(array, lineCount), SenListArraySetUp.facilities );
            System.out.println("Index    " + index);
         list.setSelectedIndex(0);
            list.setVisibleRowCount(1);
         list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         //contentpane
            spacerPanel.add(new JScrollPane(list));
            formUtility.addLabel("Seniority Date: ", form);
            //JTextField
            sdate = new JTextField();
            Dimension sdateSize = sdate.getPreferredSize();
            sdateSize.width = 70;
            sdate.setPreferredSize(sdateSize);
            JPanel sdatePanel = new JPanel();
            sdatePanel.setLayout(new BorderLayout());
            sdatePanel.add(sdate, BorderLayout.WEST);
            formUtility.addLastField(sdatePanel, form); 
            sdate.setText(array[lineCount][SenListHelpers.getSenDateIndex(array, lineCount)]);
            formUtility.addLabel("Score: ", form);
            JTextField score = new JTextField();
            Dimension scoreSize = score.getPreferredSize();
            scoreSize.width = 20;
            score.setPreferredSize(scoreSize);
            JPanel scorePanel = new JPanel();
            scorePanel.setLayout(new BorderLayout());
            scorePanel.add(score, BorderLayout.WEST);
            formUtility.addLastField(scorePanel, form);       
            formUtility.addLabel("Score: ", form);
            //JTextField
            score = new JTextField();
            Dimension scoreSize = score.getPreferredSize();
            scoreSize.width = 30;
            score.setPreferredSize(scoreSize);
            JPanel scorePanel = new JPanel();
            scorePanel.setLayout(new BorderLayout());
            scorePanel.add(score, BorderLayout.WEST);
            formUtility.addLastField(scorePanel, form); 
            score.setText(array[lineCount][SenListHelpers.getArrayColLength(array, lineCount)]);
            formUtility.addLabel("Scramble: ", form);
            //JTextField
            scramble = new JTextField();
            Dimension scrambleSize = scramble.getPreferredSize();
            scrambleSize.width = 30;
            scramble.setPreferredSize(scrambleSize);
            JPanel scramblePanel = new JPanel();
            scramblePanel.setLayout(new BorderLayout());
            scramblePanel.add(scramble, BorderLayout.WEST);
            formUtility.addLastField(scramblePanel, form);       
            JButton addButton = new JButton("Add");
            form.add(addButton);
            //addButton.add(       
         addButton.addActionListener(
              new ActionListener()
              public void actionPerformed( ActionEvent actionEvent )//valueChanged(ListSelectionEvent e)
                        System.out.println("LName is:    " + lname.getText());
                        System.out.println("FName is:    " + fname.getText());
                        System.out.println("MName is:    " + mname.getText());
                        System.out.println("Facility is: " + SenListArraySetUp.facilities[list.getSelectedIndex()]);
                        System.out.println("SenDate is:  " + sdate.getText());
                        System.out.println("Score is:    " + score.getText(/*SenListHelpers.getArrayColLength(array, lineCount - 1)*/));
                        System.out.println("Scramble is: " + scramble.getText(/*SenListHelpers.getArrayColLength(array, lineCount)*/));
                        nameInfoString = lname.getText()    + " " + fname.getText() + " " + mname.getText() + " " +
                                         SenListArraySetUp.facilities[list.getSelectedIndex()]
                                                            + " " + sdate.getText() + " " + score.getText() + " " +
                                         scramble.getText();
                        //System.out.println("Size is: " + SenListHelpers.getArrayLength(SenListArraySetUp.NYSDOCS_Alpha_List_LastNames));
                        insertMethods.insertIntoNYSDOCSAlphaHelper(
                           lname.getText(), fname.getText(), mname.getText(),     
                          facilities[list.getSelectedIndex()],               
                          sdate.getText(), score.getText(), scramble.getText() );
                        //form.cl
                        f.dispose();
                        JOptionPane.showMessageDialog(null, "The Officer has been Added.");
                        //return;                   
                        //System.exit(0);
                        //System.out.println("Facility is:    " + facilities[list.getSelectedIndex()]);
                        /**/ //System.out.println("Facility is:    " + facilities[list.getSelectedIndex()]);
                  //contentpane.setBackground(listColorValues
                        //[list.getSelectedIndex()]);
            // Add an little padding around the form
            form.setBorder(new EmptyBorder(2, 2, 2, 2));
    //        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//original close operation
            // Note that we don�t use pack() here, since that
            // may shrink the �last" column more than we want.
            f.setSize(300, 300);//230);
            f.setVisible(true);
            //return;
        }

  • How to stop execution after generating error message in an error handler?

    I am working on ALSB 3.0.I have a proxy consisting of 2 stages in a pipeline pair. I have error handlers for each of the stages. The first stage contains schema validation action. Whenever the schema validation fails,control should transfer to error handler.
    The error handler has a publish action and in request action I am calling an xquery transformation to generate error message.Publish action should publish message to a jms based business service configured. My questions are:
    1. After getting into the error handler, the first alert msg configured inside request action (of publish action) is generated.Subsequent actions to generate error xml message and to replace the contents of errorXml in $body are not executed.And so no error message is generated or published.
    2. I have also configured a reply with failure. Inspite of that,the control shifts to next stage in request pipeline and execution continues.
    Can anyone tell me where I need to do the corrections.
    Cheers.
    Edited by: arrajago on Jun 15, 2009 11:55 PM

    Got the answer.Generate error xml outside publish action.Replace action has to placed inside Publish's request action.To stop execution,use Reply action after Publish.

  • Stopping execution

    Is there a way to stop execution of a query after Nth
    record?

    This page,
    http://www.devx.com/gethelpon/10MinuteSolution/16608/0/page/3,
    has some examples of using rownum. I must be missing something
    because it appears to do what you want.
    Of course, if you want to include ties for nth place, the
    rank() is probably more appropriate. Examples are here:
    http://www.devx.com/gethelpon/10MinuteSolution/16608/0/page/5

  • JSP Page stops execution before the whole page is loaded

    Software
    Tomcat 5.5.2
    JDK 1.5
    Problem
    I have a JSP Page
    The problem is that it never gets finished off completely
    I mean the page is always half loaded I mean it stops execution of the JSP Page in between and it shows no exception in the console Window
    The page is not completely loaded
    I don't know what is the reason and so can't understand the reason behind that
    Thanks in advance
    CSJakharia

    Though Still I am confused why is this Page Buffer creating a sort of Exception.
    I mean it is just a limit that if page reaches to that limit it should send the data
    to client but what is the problem to Server that it stops sending the dataAn error is happening on your page.
    Basically whether or not you get an error screen depends upon when the error is generated. If the error happens before the buffer fills up, then it can cancel the output, and show the error page.
    If the buffer has already been filled up/flushed it can't cancel the output at this point. So it just stops sending.
    That explains why
    1 - page output cuts off halfway through
    2 - if you make a bigger buffer, it can display the exception page - because the error happens before the bigger buffer fills up.
    Regardless of whether the buffer was flushed or not, an error message would always be written to the Tomcat logs - check those for any problems.
    Cheers,
    evnafets

  • Unable to update when executed, table gets lock Execution does not stop Execution even for an hour

    Following is my Query unable to update when Executed table gets lock Execution does not stop even for an hour.
    update Employees 
          set Status = 'Close'
          where statusid IN (select statusid 
                                             from MyView 
                                              where DownloadedDate ='2014-07-27 00:00:00.000'
    here Employee contains 3,00,000 of records and Subquery return 1,50,000 Empid 
    i tried in various ways but not able to solve, statusid  column have no index on,  i tried using cursor but it does not work.
    plz let me know how to solve this Issue, THANKS IN ADVANCE.

    Hello,
    You should better post your question to a more related Forum, like Transact-SQL or SQL Server Database Engine; this Forum is for samples & community Projects.
    Have you checked the execution plan if indexes are used?
    You could update the data in chunks, e.g. 10.000 rows per execution. For this you have to add a TOP clause and a filter to update only those, who are not updated yet.
    update TOP (10000) Employees
    set Status = 'Close'
    where statusid IN
    (select statusid
    from MyView
    where DownloadedDate ='2014-07-27 00:00:00.000')
    AND Status <> 'Close'
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to stop Execution of Queries when the Browser closed in middle?

    Hi,
    I have JSP search page, which takes search parameters from previous page runs queries and display the results. I am using connection pool to connect to AS400 database.
    The problem I am facing is... The query still runs on database server, when the user closes browser before getting the search results.
    I am closing all my statements and returning connection to pool at the end of the JSP page.
    Is there any way to terminate the execution of the queries, when the user closes browser?
    Thanks in advance.

    Allright.
    As you know there is no direct way to catch that event, you will have to do this workaround :
    1. Create a class which implements HttpSessionBindingListener. The valueUnbound method will have flag or code to stop running query.
    2. Instantiate this in your search page, and add it into session.
    3. Add javascript in search JSP to access another(dummy) JSP on unload event(to catch browser closing) something like:
    function unload()
    location.href = "/kill.jsp";
    4. The code in dummy JSP will remove the object from session, and will fire valueUnbound method.
    Let me know if this helps.
    -Mak

  • Stopping execution of the script from the databank

    I'd like to provide control through the databank for the user to programmatically stop the script execution depending on certain real time conditions or data calculations. Does anyone have a sample VBA script example for the ThisJob object. Thanks.

    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> timing start total_elapsed
    <do your things here>
    SQL> timing stop total_elapsed
    timing for: total_elapsed
    Elapsed: 00:00:11.28

  • User profile doesn't stop execution due to it's restriction

    Oracle Version:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    NLSRTL Version 10.2.0.4.0 - ProductionSome initial data:
    SQL> show parameter resource_l
    NAME                                 TYPE        VALUE
    resource_limit                       boolean     TRUEDDL for user:
    CREATE USER TEST_READER
      IDENTIFIED BY VALUES 'AFBD6BEB29FF93AA'
      DEFAULT TABLESPACE USERS
      TEMPORARY TABLESPACE TEMP
      PROFILE ARGUS_READER_PROFILE
      ACCOUNT UNLOCK;
      -- 1 Role for TEST_READER
      GRANT ARGUS_READONLY_USER TO TEST_READER;
      ALTER USER TEST_READER DEFAULT ROLE ALL;
      -- 1 System Privilege for TEST_READER
      GRANT SELECT ANY DICTIONARY TO TEST_READER;
      -- 1 Object Privilege for TEST_READER
        GRANT INSERT ON ARGUS_SYS.PLAN_TABLE TO TEST_READER;Small limit for LOGICAL_READS_PER_CALL = 100000 in profile:
    SQL> ALTER PROFILE ARGUS_READER_PROFILE LIMIT
      2    SESSIONS_PER_USER 10
      3    CPU_PER_SESSION UNLIMITED
      4    CPU_PER_CALL 60000
      5    CONNECT_TIME DEFAULT
      6    IDLE_TIME DEFAULT
      7    LOGICAL_READS_PER_SESSION DEFAULT
      8    LOGICAL_READS_PER_CALL 100000
      9    COMPOSITE_LIMIT DEFAULT
    10    PRIVATE_SGA 31457280
    11    FAILED_LOGIN_ATTEMPTS 10
    12    PASSWORD_LIFE_TIME UNLIMITED
    13    PASSWORD_REUSE_TIME UNLIMITED
    14    PASSWORD_REUSE_MAX UNLIMITED
    15    PASSWORD_LOCK_TIME UNLIMITED
    16    PASSWORD_GRACE_TIME UNLIMITED
    17    PASSWORD_VERIFY_FUNCTION NULL;
    Profile altered.Some huge SQL:
    SQL> conn test_reader/test@****
    Connected.
    SQL>  set autotrace traceonly
    SQL> @C:\work\test\222.sql
    Enter value for ddmmyyyybegin: '19.02.2012'
    old 128:                                          TO_DATE (&ddmmyyyybegin, 'dd.MM.yyyy'))
    new 128:                                          TO_DATE ('19.02.2012', 'dd.MM.yyyy'))
    Enter value for ddmmyyyyend: '19.03.2013'
    old 131:                                           TO_DATE (&ddmmyyyyend, 'dd.MM.yyyy'))))
    new 131:                                           TO_DATE ('19.03.2013', 'dd.MM.yyyy'))))
    Enter value for int851: 851
    old 132:                               AND (o.order_type_id = &int851))
    new 132:                               AND (o.order_type_id = 851))
    Enter value for int900: 10000
    old 138:          WHERE ROWNUM <= &int900) a
    new 138:          WHERE ROWNUM <= 10000) a
    Enter value for int600: 1
    old 139:  WHERE rnum >= &int600
    new 139:  WHERE rnum >= 1
                  FROM argus_sys.service_special_conn rsc,
    ERROR at line 58:
    ORA-02395: exceeded call limit on IO usageProfile worked, statistic for logical reads:
    SQL> select * from v$sesstat where statistic# in (9) and sid = 2146;
           SID STATISTIC#      VALUE
          2146          9     100031New limit for LOGICAL_READS_PER_CALL=150000 in profile
    SQL> ALTER PROFILE ARGUS_READER_PROFILE LIMIT
      2    SESSIONS_PER_USER 10
      3    CPU_PER_SESSION UNLIMITED
      4    CPU_PER_CALL 60000
      5    CONNECT_TIME DEFAULT
      6    IDLE_TIME DEFAULT
      7    LOGICAL_READS_PER_SESSION DEFAULT
      8    LOGICAL_READS_PER_CALL 150000
      9    COMPOSITE_LIMIT DEFAULT
    10    PRIVATE_SGA 31457280
    11    FAILED_LOGIN_ATTEMPTS 10
    12    PASSWORD_LIFE_TIME UNLIMITED
    13    PASSWORD_REUSE_TIME UNLIMITED
    14    PASSWORD_REUSE_MAX UNLIMITED
    15    PASSWORD_LOCK_TIME UNLIMITED
    16    PASSWORD_GRACE_TIME UNLIMITED
    17    PASSWORD_VERIFY_FUNCTION NULL;
    Profile altered.The same query:
    SQL> conn test_reader/test@****
    Connected.
    SQL> set autotrace traceonly
    SQL>  @C:\work\test\222.sql
    Enter value for ddmmyyyybegin: '19.02.2012'
    old 128:                                          TO_DATE (&ddmmyyyybegin, 'dd.MM.yyyy'))
    new 128:                                          TO_DATE ('19.02.2012', 'dd.MM.yyyy'))
    Enter value for ddmmyyyyend: '19.03.2013'
    old 131:                                           TO_DATE (&ddmmyyyyend, 'dd.MM.yyyy'))))
    new 131:                                           TO_DATE ('19.03.2013', 'dd.MM.yyyy'))))
    Enter value for int851: 851
    old 132:                               AND (o.order_type_id = &int851))
    new 132:                               AND (o.order_type_id = 851))
    Enter value for int900: 10000
    old 138:          WHERE ROWNUM <= &int900) a
    new 138:          WHERE ROWNUM <= 10000) a
    Enter value for int600: 1
    old 139:  WHERE rnum >= &int600
    new 139:  WHERE rnum >= 1And.... It lasts and lasts...
    In the second session I see, that logical reads have exceeded 200k and it still going further..
    At last:
    Execution plan...
    Statistics
          98252  recursive calls
              0  db block gets
         409072  consistent gets
              0  physical reads
           1616  redo size
        1688278  bytes sent via SQL*Net to client
           7542  bytes received via SQL*Net from client
            431  SQL*Net roundtrips to/from client
          18906  sorts (memory)
              0  sorts (disk)
           6446  rows processedStatistic from v$sesstat:
    SQL> select * from v$sesstat where statistic# in (9) and sid = 2146;
           SID STATISTIC#      VALUE
          2146          9     409726
    Question is:
    Do I correctly compare statistic value of sesstat 'session logical reads' with 'LOGICAL_READS_PER_CALL' from profile?
    If yes - Why had profile limit been ommited in the second case, while in the first there was a stop?

    Have compared execution plans - they are the same.
    Have made traces.
    For 10K limit:
    ---HERE SQL ----
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.67       0.70          0     100001          0           0
    total        3      0.67       0.70          0     100001          0           0
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 3427 
    Rows     Row Source Operation
          0  SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 us)
          0   NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us)
          0    TABLE ACCESS BY INDEX ROWID SERVICE_SPECIAL_CONN (cr=0 pr=0 pw=0 time=0 us)
          0     INDEX RANGE SCAN IND_SVC_SPEC_CONN_SERVICE (cr=0 pr=0 pw=0 time=0 us)(object id 1023868)
          0    TABLE ACCESS BY INDEX ROWID SERVICE_SPECIAL_CONN_TYPE (cr=0 pr=0 pw=0 time=0 us)
          0     INDEX UNIQUE SCAN PK_NUMBER_SPECIAL_CONN_TYPE (cr=0 pr=0 pw=0 time=0 us)(object id 1023562)
          0  VIEW  (cr=0 pr=0 pw=0 time=89 us)
          0   COUNT STOPKEY (cr=0 pr=0 pw=0 time=85 us)
          0    VIEW  (cr=0 pr=0 pw=0 time=78 us)
          0     SORT ORDER BY STOPKEY (cr=0 pr=0 pw=0 time=76 us)
       5729      CONCATENATION  (cr=99989 pr=0 pw=0 time=708938 us)
       5729       NESTED LOOPS  (cr=99989 pr=0 pw=0 time=703205 us)
       5729        NESTED LOOPS OUTER (cr=82798 pr=0 pw=0 time=588603 us)
       5729         NESTED LOOPS  (cr=82790 pr=0 pw=0 time=565680 us)
       5730          NESTED LOOPS  (cr=65609 pr=0 pw=0 time=451164 us)
       5730           NESTED LOOPS  (cr=48414 pr=0 pw=0 time=359469 us)
       5730            NESTED LOOPS  (cr=31220 pr=0 pw=0 time=256264 us)
       5730             NESTED LOOPS  (cr=14025 pr=0 pw=0 time=135922 us)
       5730              HASH JOIN RIGHT OUTER (cr=2563 pr=0 pw=0 time=67108 us)
         41               TABLE ACCESS FULL MEASURED_DAMAGE_KIND (cr=3 pr=0 pw=0 time=164 us)
       5730               INLIST ITERATOR  (cr=2560 pr=0 pw=0 time=45976 us)
       5730                TABLE ACCESS BY INDEX ROWID ORDER_L (cr=2560 pr=0 pw=0 time=45974 us)
       5730                 INDEX RANGE SCAN IND6_ORDER_ORDER_TYPE_STATE (cr=17 pr=0 pw=0 time=11554 us)(object id 1023412)
       5730              TABLE ACCESS BY INDEX ROWID DEPARTMENT_L (cr=11462 pr=0 pw=0 time=58655 us)
       5730               INDEX UNIQUE SCAN PK_DEPARTMENT_L (cr=5732 pr=0 pw=0 time=30776 us)(object id 1023205)
       5730             TABLE ACCESS BY INDEX ROWID INSTALLATION_L (cr=17195 pr=0 pw=0 time=105341 us)
       5730              INDEX UNIQUE SCAN PK_INSTALLATION_L (cr=11462 pr=0 pw=0 time=63663 us)(object id 1023366)
       5730            TABLE ACCESS BY INDEX ROWID LIN_ORDER (cr=17194 pr=0 pw=0 time=94252 us)
       5730             INDEX UNIQUE SCAN PK_LIN_ORDER (cr=11462 pr=0 pw=0 time=60346 us)(object id 1023159)
       5730           TABLE ACCESS BY INDEX ROWID ORDER_LDN (cr=17195 pr=0 pw=0 time=75887 us)
       5730            INDEX UNIQUE SCAN IND_ORDER_LDN (cr=11462 pr=0 pw=0 time=42138 us)(object id 1023370)
       5729          TABLE ACCESS BY INDEX ROWID SERVICE_L (cr=17192 pr=0 pw=0 time=109193 us)
       5729           INDEX UNIQUE SCAN PK_SERVICE_L (cr=11460 pr=0 pw=0 time=67339 us)(object id 1023216)
          7         TABLE ACCESS BY INDEX ROWID SERVICE_LINE_TYPE (cr=8 pr=0 pw=0 time=16179 us)
          7          INDEX UNIQUE SCAN PK_LINE_TYPE (cr=1 pr=0 pw=0 time=7396 us)(object id 1023563)
       5729        TABLE ACCESS BY INDEX ROWID CLIENT (cr=17191 pr=0 pw=0 time=101030 us)
       5729         INDEX UNIQUE SCAN PK_CLIENT (cr=11460 pr=0 pw=0 time=61941 us)(object id 1023006)
          0       NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us)
          0        NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us)
          0         NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us)
          0          NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us)
          0           NESTED LOOPS OUTER (cr=0 pr=0 pw=0 time=0 us)
          0            NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us)
          0             NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us)
          0              NESTED LOOPS OUTER (cr=0 pr=0 pw=0 time=0 us)
          0               TABLE ACCESS BY INDEX ROWID ORDER_L (cr=0 pr=0 pw=0 time=0 us)
          0                INDEX RANGE SCAN IND_ORDER_FILTER_DATE (cr=0 pr=0 pw=0 time=0 us)(object id 1023432)
          0               TABLE ACCESS BY INDEX ROWID MEASURED_DAMAGE_KIND (cr=0 pr=0 pw=0 time=0 us)
          0                INDEX UNIQUE SCAN PK_MEASURED_DAMAGE_KIND (cr=0 pr=0 pw=0 time=0 us)(object id 1023179)
          0              TABLE ACCESS BY INDEX ROWID INSTALLATION_L (cr=0 pr=0 pw=0 time=0 us)
          0               INDEX UNIQUE SCAN PK_INSTALLATION_L (cr=0 pr=0 pw=0 time=0 us)(object id 1023366)
          0             TABLE ACCESS BY INDEX ROWID SERVICE_L (cr=0 pr=0 pw=0 time=0 us)
          0              INDEX UNIQUE SCAN PK_SERVICE_L (cr=0 pr=0 pw=0 time=0 us)(object id 1023216)
          0            TABLE ACCESS BY INDEX ROWID SERVICE_LINE_TYPE (cr=0 pr=0 pw=0 time=0 us)
          0             INDEX UNIQUE SCAN PK_LINE_TYPE (cr=0 pr=0 pw=0 time=0 us)(object id 1023563)
          0           TABLE ACCESS BY INDEX ROWID DEPARTMENT_L (cr=0 pr=0 pw=0 time=0 us)
          0            INDEX UNIQUE SCAN PK_DEPARTMENT_L (cr=0 pr=0 pw=0 time=0 us)(object id 1023205)
          0          TABLE ACCESS BY INDEX ROWID LIN_ORDER (cr=0 pr=0 pw=0 time=0 us)
          0           INDEX UNIQUE SCAN PK_LIN_ORDER (cr=0 pr=0 pw=0 time=0 us)(object id 1023159)
          0         TABLE ACCESS BY INDEX ROWID CLIENT (cr=0 pr=0 pw=0 time=0 us)
          0          INDEX UNIQUE SCAN PK_CLIENT (cr=0 pr=0 pw=0 time=0 us)(object id 1023006)
          0        TABLE ACCESS BY INDEX ROWID ORDER_LDN (cr=0 pr=0 pw=0 time=0 us)
          0         INDEX UNIQUE SCAN IND_ORDER_LDN (cr=0 pr=0 pw=0 time=0 us)(object id 1023370)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       1        0.00          0.00
      SQL*Net break/reset to client                   2        0.03          0.03
    ********************************************************************************For 15K limit:
    ---HERE SQL ----
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      3.02       5.51         31        792          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch      431     20.57     161.50      10751     262214          0        6446
    total      433     23.59     167.02      10782     263006          0        6446
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 3427 
    Rows     Row Source Operation
       6433  SORT AGGREGATE (cr=17212 pr=756 pw=0 time=5429792 us)
       1750   NESTED LOOPS  (cr=17212 pr=756 pw=0 time=4849653 us)
       1750    TABLE ACCESS BY INDEX ROWID SERVICE_SPECIAL_CONN (cr=15067 pr=756 pw=0 time=4791139 us)
       1750     INDEX RANGE SCAN IND_SVC_SPEC_CONN_SERVICE (cr=13316 pr=376 pw=0 time=2319918 us)(object id 1023868)
       1750    TABLE ACCESS BY INDEX ROWID SERVICE_SPECIAL_CONN_TYPE (cr=2145 pr=0 pw=0 time=37156 us)
       1750     INDEX UNIQUE SCAN PK_NUMBER_SPECIAL_CONN_TYPE (cr=395 pr=0 pw=0 time=17962 us)(object id 1023562)
       6446  VIEW  (cr=116530 pr=0 pw=0 time=2185799 us)
       6446   COUNT STOPKEY (cr=116530 pr=0 pw=0 time=2127750 us)
       6446    VIEW  (cr=116530 pr=0 pw=0 time=2114840 us)
       6446     SORT ORDER BY STOPKEY (cr=116530 pr=0 pw=0 time=2082566 us)
       6446      CONCATENATION  (cr=116530 pr=0 pw=0 time=948468 us)
       6432       NESTED LOOPS  (cr=116258 pr=0 pw=0 time=946404 us)
       6432        NESTED LOOPS OUTER (cr=96958 pr=0 pw=0 time=759862 us)
       6432         NESTED LOOPS  (cr=96950 pr=0 pw=0 time=727695 us)
       6432          NESTED LOOPS  (cr=77650 pr=0 pw=0 time=573315 us)
       6432           NESTED LOOPS  (cr=58350 pr=0 pw=0 time=463952 us)
       6432            NESTED LOOPS  (cr=39050 pr=0 pw=0 time=328850 us)
       6432             NESTED LOOPS  (cr=19750 pr=0 pw=0 time=180901 us)
       6432              HASH JOIN RIGHT OUTER (cr=6884 pr=0 pw=0 time=90821 us)
         41               TABLE ACCESS FULL MEASURED_DAMAGE_KIND (cr=3 pr=0 pw=0 time=158 us)
       6432               INLIST ITERATOR  (cr=6881 pr=0 pw=0 time=64458 us)
       6432                TABLE ACCESS BY INDEX ROWID ORDER_L (cr=6881 pr=0 pw=0 time=1006803 us)
       6432                 INDEX RANGE SCAN IND6_ORDER_ORDER_TYPE_STATE (cr=3919 pr=0 pw=0 time=961726 us)(object id 1023412)
       6432              TABLE ACCESS BY INDEX ROWID DEPARTMENT_L (cr=12866 pr=0 pw=0 time=92628 us)
       6432               INDEX UNIQUE SCAN PK_DEPARTMENT_L (cr=6434 pr=0 pw=0 time=47602 us)(object id 1023205)
       6432             TABLE ACCESS BY INDEX ROWID INSTALLATION_L (cr=19300 pr=0 pw=0 time=153272 us)
       6432              INDEX UNIQUE SCAN PK_INSTALLATION_L (cr=12866 pr=0 pw=0 time=93766 us)(object id 1023366)
       6432            TABLE ACCESS BY INDEX ROWID LIN_ORDER (cr=19300 pr=0 pw=0 time=135255 us)
       6432             INDEX UNIQUE SCAN PK_LIN_ORDER (cr=12866 pr=0 pw=0 time=85808 us)(object id 1023159)
       6432           TABLE ACCESS BY INDEX ROWID ORDER_LDN (cr=19300 pr=0 pw=0 time=108460 us)
       6432            INDEX UNIQUE SCAN IND_ORDER_LDN (cr=12866 pr=0 pw=0 time=60726 us)(object id 1023370)
       6432          TABLE ACCESS BY INDEX ROWID SERVICE_L (cr=19300 pr=0 pw=0 time=159645 us)
       6432           INDEX UNIQUE SCAN PK_SERVICE_L (cr=12866 pr=0 pw=0 time=97446 us)(object id 1023216)
          7         TABLE ACCESS BY INDEX ROWID SERVICE_LINE_TYPE (cr=8 pr=0 pw=0 time=28277 us)
          7          INDEX UNIQUE SCAN PK_LINE_TYPE (cr=1 pr=0 pw=0 time=15130 us)(object id 1023563)
       6432        TABLE ACCESS BY INDEX ROWID CLIENT (cr=19300 pr=0 pw=0 time=148792 us)
       6432         INDEX UNIQUE SCAN PK_CLIENT (cr=12866 pr=0 pw=0 time=88216 us)(object id 1023006)
         14       NESTED LOOPS  (cr=272 pr=0 pw=0 time=2903 us)
         14        NESTED LOOPS  (cr=228 pr=0 pw=0 time=2584 us)
         14         NESTED LOOPS  (cr=184 pr=0 pw=0 time=2155 us)
         14          NESTED LOOPS  (cr=140 pr=0 pw=0 time=1758 us)
         14           NESTED LOOPS OUTER (cr=110 pr=0 pw=0 time=1432 us)
         14            NESTED LOOPS  (cr=110 pr=0 pw=0 time=1367 us)
         14             NESTED LOOPS  (cr=66 pr=0 pw=0 time=967 us)
         14              NESTED LOOPS OUTER (cr=22 pr=0 pw=0 time=584 us)
         14               TABLE ACCESS BY INDEX ROWID ORDER_L (cr=6 pr=0 pw=0 time=362 us)
         14                INDEX RANGE SCAN IND_ORDER_FILTER_DATE (cr=3 pr=0 pw=0 time=136 us)(object id 1023432)
         14               TABLE ACCESS BY INDEX ROWID MEASURED_DAMAGE_KIND (cr=16 pr=0 pw=0 time=130 us)
         14                INDEX UNIQUE SCAN PK_MEASURED_DAMAGE_KIND (cr=2 pr=0 pw=0 time=66 us)(object id 1023179)
         14              TABLE ACCESS BY INDEX ROWID INSTALLATION_L (cr=44 pr=0 pw=0 time=211 us)
         14               INDEX UNIQUE SCAN PK_INSTALLATION_L (cr=30 pr=0 pw=0 time=131 us)(object id 1023366)
         14             TABLE ACCESS BY INDEX ROWID SERVICE_L (cr=44 pr=0 pw=0 time=209 us)
         14              INDEX UNIQUE SCAN PK_SERVICE_L (cr=30 pr=0 pw=0 time=137 us)(object id 1023216)
          0            TABLE ACCESS BY INDEX ROWID SERVICE_LINE_TYPE (cr=0 pr=0 pw=0 time=39 us)
          0             INDEX UNIQUE SCAN PK_LINE_TYPE (cr=0 pr=0 pw=0 time=16 us)(object id 1023563)
         14           TABLE ACCESS BY INDEX ROWID DEPARTMENT_L (cr=30 pr=0 pw=0 time=155 us)
         14            INDEX UNIQUE SCAN PK_DEPARTMENT_L (cr=16 pr=0 pw=0 time=81 us)(object id 1023205)
         14          TABLE ACCESS BY INDEX ROWID LIN_ORDER (cr=44 pr=0 pw=0 time=262 us)
         14           INDEX UNIQUE SCAN PK_LIN_ORDER (cr=30 pr=0 pw=0 time=181 us)(object id 1023159)
         14         TABLE ACCESS BY INDEX ROWID CLIENT (cr=44 pr=0 pw=0 time=185 us)
         14          INDEX UNIQUE SCAN PK_CLIENT (cr=30 pr=0 pw=0 time=121 us)(object id 1023006)
         14        TABLE ACCESS BY INDEX ROWID ORDER_LDN (cr=44 pr=0 pw=0 time=174 us)
         14         INDEX UNIQUE SCAN IND_ORDER_LDN (cr=30 pr=0 pw=0 time=101 us)(object id 1023370)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                     431        0.00          0.00
      SQL*Net more data to client                   643        0.00          0.07
      SQL*Net message from client                   431     2066.60       3307.29
      db file sequential read                       756        0.01          4.49
    ********************************************************************************After, I'de made serial test to determine the stop point and found that LOGICAL_READS_PER_CALL=116700
    Which is very close to value in the following string of second trace:
      6446   COUNT STOPKEY (cr=116530 pr=0 pw=0 time=2127750 us)Well. I'm ready to admit, my understanding was wrong.
    After some investigation, I've found, that 'CR' (consistrent reads) from trace refers to 'consistent gets' (While I queried 'session logical reads') wait from v$sesstat and in profile it is called 'LOGICAL_READS'.
    Sorry, my fault.

  • Stop execution of a loop in an event structure

    I tried searching the forums to avoid posting a duplicate, but most I could not open most of the vi's as they were higher version.
    I put in a dummy while loop in an event structire i intend to use. Once I start executing the while loop, I am not able to stop it using a control for some reason from the fornt panel control.
    I am not able to change the vale of the Stop control at all. I tried creating a seperate event for STOP, and I still could not stop the program when the While loop was executing.
    I imagine I am missing something really small. I would appreciate your feedback on this.
    Thanks,
    Nevil
    Solved!
    Go to Solution.
    Attachments:
    FrontPanel.vi ‏34 KB

    Right click on the event structure and choose "Edit Events" for the case that is giving you trouble.
    Be sure the checkbox to lock the front panel is unchecked.
    I suspect yours is checked, so your front panel is locked out until the event completes, thus you can never stop your loop.

  • LaqbVIEW 7.1.1 does not find a specific breakpoint, but stops execution there

    Hi all,
    I've got a small test LV7.11 Vi that opens one of a set of data files and loads it into a FG.
    It is a flat sequence structure containing the code. Works OK.
    Some hours ago I debug'd this using breakpoints. I've run into a situation, where the sequence is surrounded by a red frame signaling a breakpoint. LabVIEW breaks execution whenever it reaches the sequence.
    Now that I have fixed the code I want to remove the breakpoint, but cannot. Neither clicking it with the 'Set/clear breakpoint' tool nore Browse or Search fo breakpoints does find any: 'No items found'.
    Has anyone seen this.? How can I get rid of it? 'Just' disabling debugging?
    Greetings from Germany!
    Uwe

    Hi,
    Here you go
    It is just a matter of selecting the Breakpoint tool and searching around the red line untill it turns white
    Craig
    LabVIEW 2012
    Attachments:
    ANSI-AAMI-EC13-Test_FG%20aus%20Testdaten_02[1]_Modified.vi ‏112 KB

  • How do I get a script to stop execution?

    I'm brand new to scripting in Photoshop and coding in Java, and I need help. I want to ask the user a question and if they say "yes" I want the script to completely stop. If "no" I want it to continue.
    Is there a way to do this? I've seen examples that look like this one below using "return", and they all say it will work. But all that does is stop the function, not the entire script.
    =============
    function EndScript() { 
        return; 
        alert('this line will never execute'); 
    var PromptUser = confirm("Do you want to stop?");
         if(PromptUser ){
            EndScript();
    alert("If the user clicks yes, I don't want this line to execute.");
    =============
    Isn't there some kind of statement that will just stop everything?
    Thanks for your help.

    By definition, return only leaves the function you are currently in, so you can't exit a part of the script that is not inside a function. What you are going to want to do is place the entire script inside a function, and then just call a return in the if statement. Such as:
    function Script() {
        var PromptUser = confirm("Do you want to stop?");
        if(PromptUser ){
            return;
            alert('this line will never execute');
        alert("If the user clicks yes, I don't want this line to execute.");
    Script();

  • My VI stop Execution Suddenly

    Hello all,
    I am making a LabVIEW Real TIme project, it consists of an automation of a platform.
    The system is set upas following:
    The Platform is connected to the PXI using the M series 6289 DAQ
    The PXI controller is 8106, I have made it a Real Time Target
    The host computer is Running VISTA home premium (it has a dual core processor)
    Everyhting is ok and the VI ran in good mannar, but after some time the VI stop suddenly.
    I have ran it several times, it stop after the same time.
    When O re run it, it works normally untill the same amount of time, it stops.
    Any Help is so much Appriciatted
    Best Regards!

    Hi Azzam87,
    Thanks for the post and I hope your well today.
    Two things come to mind,
    1) Is your code reaching the same peice of code and crash - as in, something is upseting it.
    or
    2) Have you got a memory issue, which is causing it to error. 
    To get more information you could have a look at the error log,
    Is There an Error Log File for my Real-Time Controller?
    http://digital.ni.com/public.nsf/allkb/E734886E027​D0B6586256F2400761E30?OpenDocument
    Are you running an RT.exe or from LabVIEW? If you run it from LabVIEW you could set some probes and see where the code is reaching when it crashes. 
    Hope thie helps,
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Stopping execution without modal Jdialog

    Hi there,
    I am writing a gui that needs to wait for a button click. I used to use a modal JDialog for this, which worked fine, but I have recently changed the GUI to a wizard style, and I would like to simply redraw a Card every time, rather than having a popup Dialog.
    Basically the program will show info, but this info will change whenever the button is pressed.
    How would I go about this without using a modal JDialog?, In other words, how can I make the program wait until button press? I am very confused about wait() and notify(), its not as simple as I thought, maybe someone can enlighten me.
    Thanks for any help

    Wow ok, I really screwed up on this one. Let me start again, For anyone still reading:
    The program I am writing presents the User with a choice to which they must reply with using a button press. This is easily done using a JDialog that is Modal as the program waits until the JDialog is disposed.
    My question is whether it is possible to achieve this effect without using a JDialog. I am doing it without a JDialog because I do not wish to have any pop ups, rather just a constantly refreshing JPanel.
    To sum up: How do I achieve the modal effect of a JDialog using other Components?
    I am unable to post any code right now, if anyone needs to see some I will gladly post it tommorow.
    Thanks again!

Maybe you are looking for

  • AP Accounts Payable Report

    Hi Friends, I am given a task to make a customize report to list all vouchers/payments due to all companies we owed payment to. What table do I get this info from? Thanks a lot

  • Crystal Report not showing up during deployment for CRVS2010

    Hi, Have encountered problem when deploying Crystal Report using VB 2010. The report is able to show up during ASP.net development using VS 2010 but when i try to deploy on a IIS server, the report is just showing a blank page when trying to view usi

  • Ipad all in one dock from deal extreme

    Hi everyone, I am in Argentina, and recently (a few minutes ago) reeceived the ALL-IN-ONE Docking from deal extreme. How do I use USB keyboards and my DT109 pendrive, the video mirror, and reead SD cards? Is ere any app for this? Thanks a lot

  • How to get the size of the backed up datafile in a backup set with rman?

    Oracle 10gR2 and catalog is in place. Since RMAN only backups the used blocks(does not take backup from NEVER USED blocks), what can be the explanation of some extra space during backups? And also how to trace this space allocation by datafile with v

  • 500 server timeout error

    Hi Its urgent!! Our Production portal was working perfect. Suddenly the iviews is showing 500 server timeout error Error: -5 Version: 7000 Component: ICM Module: icxxthr_mt.c Line: 2698 Error Tag: {-} Detail: Connection to partner timed out after 60s