How to make a VI execution wait until another ends

Hi all

I read the help of labview for synchronization functions, but I'm still confused on how to do this simple task. I have a labview program that connects to a DSP by serial (RS232). I use reading VISA and VISA write to read and write to the device. My goal is to first write, wait until the write is complete, then wait for, say, 100 ms (as he is assured that all data has been sent correctly) and then perform the read operation.

At the moment I have VISA Write connected to VISA reading through the error out-to-error in thread. However, I'm not sure that they perform one after the other correctly, so I would like to implement a more robust synchronization.

Thank you very much in advance


Tags: NI Software

Similar Questions

  • How to make a slide to wait until the user has answered a question correctly, even after activation of a smartshape?

    Background:

    I created a questionnaire in which the user must answer each question correctly before to proceed to the next slide. That's what I did:


    • Set preferences Settings > required > respond to everything - the user must answer each question to continue
    • Set the number of attempts at the level of the question to infinity
    • Made the Next invisible button and disabled the PlayBar

    In this way, the user can proceed to the next slide in the issue with the submission process - and, since attempts are endless, this means that after having answered the question correctly.

    Current objective:

    I want the user to be able to click on a prompt for a hint. To configure this, I did the following:

    • Created a smartshape titled 'click_for_hint' to display the text that says: "click here for a tip.
    • Created a smartshape labelled 'hint' text display
    • Show "hint" success value "click_for_hint".

    Now, when the user clicks on the text that says: "Click here for a hint," the suspicion appears. So it works - great! However, once the indicator is activated, I would like to for the user to continue endless attempts until respondent correctly to the question... and then only after answering correctly, proceed to the next slide.

    The problem:

    If the user has submitted one or more wrong answers, and then activates the indicator, the slide just waiting until the user has answered the question correctly. Instead, it will be set in playing, proceeding to the next slide. I tried the smartshape 'hint' to take a break on the success of adjustment, but it does not work.

    Is there a way to make the slide to wait until the answer to the question correctly before moving on to the next slide, even after the indicator has been activated?

    Are you aware that your required parameter can cause problems, the blocking of the user? It is also completely useless because you have unlimited attempts at the level of the issue and hid the next button (hope, you don't need review, otherwise, I would recommend not to hide this button but slide it under the Clear key: the Question slides in Captivate - Captivate blog)

    The index problem is related to the fact that a simple gesture going out of reading. I would like to see the timeline of the slide, to compare the points of suspension form and the question slide button. And maybe this blog can also clarify difference between simple/advanced: Why choose Standard Simple action?-Captivate blog

    Regarding the buttons on question slides form: buttons on slides of Question/Score of Captivate 6?-Captivate blog

  • I got following message from the installation program Adobe - other instances of running Applications Adobe Manager that must be closed before you install this product. Please close or wait until they end. Please indicate how can I resolve the issue?

    I got following message from the installation program Adobe - other instances of running Applications Adobe Manager that must be closed before you install this product. Please close or wait until they end. Please indicate how can I resolve the issue?

    Please check if this helps https://helpx.adobe.com/creative-suite/kb/error-instance-updater-running-cs5.html

    Concerning

    Stéphane

  • Wait until the end of the vi

    Hello

    I have a start much vi using "Start ASynchrounous appeal" and build a reference vi.

    At the end of my main vi, I would wait each end of vi before release of common resources.

    As a first step, I try to use "Wait on the asynchronous call" on each reference of vi, but my problem is that each reference vi are not of the same type.

    Is there another way to wait for a vi executing any type is my reference vi?

    Thank you

    Guillaume

    Communication of data-> palette of synchronization.

    There are several possibilities, for example Rendevous whereby all processes will wait at the exit, or event, you can browse until all have created a.

    Case and assuming that spawn you 6 calls, set a loop of 6 receive occurrences to wait after spawning. Let all sub out of vi and report their output presence.

    How will you wait until you have received all occurrences of 6.

    /Y

  • Wait until the end of the transition between two images.

    I'm developing an ActionScript 3.0 for Blackberry Playbook application.

    I have twelve images loaded with a class Loader. I use Event.ENTER_FRAME melted and melted images using this event handler:

    private function onEnterFrame(event:Event):void
        {
            imageToFront.alpha += 0.1; // slow fade
            imageToBack.alpha -= 0.1;
    
            if( imageToFront.alpha >= 1.0 )
            {
                imageToFront.alpha = 1.0;
    
                // hide the first image
                imageToBack.alpha = 0.0;
                imageToBack.visible = false;
    
                // remove the enter frame event listener
                stage.removeEventListener( Event.ENTER_FRAME, onEnterFrame );
            }
        }
    

    When a user clicks an image his manager fundraising click the following:

    private function onImageClicked(event:MouseEvent):void
        {
            switch((event.currentTarget as Loader).name)
            {
                case imageCell11Back.name:
                    imageToFront = imageCell11Front;
                    imageToBack = imageCell11Back;
                    break;
                case imageCell11Front.name:
                    imageToFront = imageCell11Back;
                    imageToBack = imageCell11Front;
                    break;
                case imageCell12Back.name:
                    imageToFront = imageCell12Front;
                    imageToBack = imageCell12Back;
                    break;
                case imageCell12Front.name:
                    imageToFront = imageCell12Back;
                    imageToBack = imageCell12Front;
                    break;
                case imageCell13Back.name:
                    imageToFront = imageCell13Front;
                    imageToBack = imageCell13Back;
                    break;
                case imageCell13Front.name:
                    imageToFront = imageCell13Back;
                    imageToBack = imageCell13Front;
                    break;
                case imageCell21Back.name:
                    imageToFront = imageCell21Front;
                    imageToBack = imageCell21Back;
                    break;
                case imageCell21Front.name:
                    imageToFront = imageCell21Back;
                    imageToBack = imageCell21Front;
                    break;
                case imageCell22Back.name:
                    imageToFront = imageCell22Front;
                    imageToBack = imageCell22Back;
                    break;
                case imageCell22Front.name:
                    imageToFront = imageCell22Back;
                    imageToBack = imageCell22Front;
                    break;
                case imageCell23Back.name:
                    imageToFront = imageCell23Front;
                    imageToBack = imageCell23Back;
                    break;
                case imageCell23Front.name:
                    imageToFront = imageCell23Back;
                    imageToBack = imageCell23Front;
                    break;
            }
            stage.addEventListener(Event.ENTER_FRAME, onEnterFrame);
            imageToFront.visible = true;
        }
    

    I'm having the following problem:

    If the user clicks on another picture until the previous image did not reach this image with a less than 1.0 alpha to alpha = 1.0 left TI.

    In other words, I have to do something for the function onEnterFrame left the 1.0 alpha value.

    Any ideas?

    I tried with stage.hasEventListener (Event.ENTER_FRAME) to wait until the Manager came out, but it does not work (it's always return true).

    My solution:

    private function onEnterFrame(event:Event):void
        {
            imageToFront.alpha += 0.1; // slow fade
            imageToBack.alpha -= 0.1;
    
            if( imageToFront.alpha >= 1.0 )
            {
                imageToFront.alpha = 1.0;
    
                // hide the first image
                imageToBack.alpha = 0.0;
                imageToBack.visible = false;
    
                // remove the enter frame event listener
                stage.removeEventListener( Event.ENTER_FRAME, onEnterFrame );
                faddingCard = false;
            }
        }
    

    When a user clicks an image his manager fundraising click the following:

    private function onImageClicked(event:MouseEvent):void
        {
            if (faddingCard) return;
    
            switch((event.currentTarget as Loader).name)
            {
                case imageCell11Back.name:
                    imageToFront = imageCell11Front;
                    imageToBack = imageCell11Back;
                    break;
                case imageCell11Front.name:
                    imageToFront = imageCell11Back;
                    imageToBack = imageCell11Front;
                    break;
                case imageCell12Back.name:
                    imageToFront = imageCell12Front;
                    imageToBack = imageCell12Back;
                    break;
                case imageCell12Front.name:
                    imageToFront = imageCell12Back;
                    imageToBack = imageCell12Front;
                    break;
                case imageCell13Back.name:
                    imageToFront = imageCell13Front;
                    imageToBack = imageCell13Back;
                    break;
                case imageCell13Front.name:
                    imageToFront = imageCell13Back;
                    imageToBack = imageCell13Front;
                    break;
                case imageCell21Back.name:
                    imageToFront = imageCell21Front;
                    imageToBack = imageCell21Back;
                    break;
                case imageCell21Front.name:
                    imageToFront = imageCell21Back;
                    imageToBack = imageCell21Front;
                    break;
                case imageCell22Back.name:
                    imageToFront = imageCell22Front;
                    imageToBack = imageCell22Back;
                    break;
                case imageCell22Front.name:
                    imageToFront = imageCell22Back;
                    imageToBack = imageCell22Front;
                    break;
                case imageCell23Back.name:
                    imageToFront = imageCell23Front;
                    imageToBack = imageCell23Back;
                    break;
                case imageCell23Front.name:
                    imageToFront = imageCell23Back;
                    imageToBack = imageCell23Front;
                    break;
            }
            faddingCard = true;
            stage.addEventListener(Event.ENTER_FRAME, onEnterFrame);
            imageToFront.visible = true;
        }
    

    I added a class Boolean faddingCard variable to control when onImageClick is thrown.

    This solution is faster than Tweener or TweenLite.

    Thank you very much for your help.

  • Should I wait until the end of the execution time of the query for the execution plan?

    Hello Experts,

    I want to see the execution plan of the query below. However, it takes more than 3 hours. Should I wait all the time to see the execution plan?

    Note: EXPLAIN PLAN for does not work. (I mean that I do not see the actual line number, etc. with EXPLAIN the PLAN of market)

    You can see the output of the execution plan when I canceled the execution after 1 minute.

    My first question is: what should I do to see the execution plan for queries running out of time time?

    2nd question: when I cancel the query during execution in order to see the execution plan, will I see the specific plan of execution or erroneous values? Because the first execution plan seems inaccurate, what do you think?

    question 3: why EXPLAIN the PLAN for the clause does not work? Also, should I use EXPLAIN the PLAN of the clause to this scenerio? Can I see the result of running for long time without her queries?

    Thnaks for your help.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

    PL/SQL Release 11.2.0.2.0 - Production

    CORE Production 11.2.0.2.0

    AMT for Linux: Version 11.2.0.2.0 - Production

    NLSRTL Version 11.2.0.2.0 - Production

    Select / * + GATHER_PLAN_STATISTICS NO_PARALLEL * / J.INVOICEACCOUNT, J.INVOICEID, J.INVOICEDATE, (T.LINEAMOUNT + T.LINEAMOUNTTAX) price

    of custinvoicejour j join custinvoicetrans t on

    substr (nls_lower (j.DataAreaId), 1, 7) = substr (nls_lower (t.dataareaid), 1, 7) and

    substr (nls_lower (J.INVOICEID), 1: 25) = substr (nls_lower (t.INVOICEID), 1: 25)

    where

    substr (nls_lower (T.DATAAREAID), 1, 7) = '201' and T.AVBROCHURELINENUM = 29457

    and substr (nls_lower (j.dataareaid), 1, 7) = '201' and

    J.INVOICEACCOUNT in

    (select IT. Drmpos.avtr_seg_cust_campend ACCOUNTNUM this where THIS. CAMPAIGN = '201406' and THIS. SEGMENT_LEVEL in (', 'E'))

    and J.AVAWARDSALES > 190

    and substr (nls_lower (J.AVBILLINGCAMPAIGN), 1, 13) = '201406'

    "and J.INVOICEDATE between ' 04.06.2014' and ' 13.06.2014 ';

    SQL_ID, dznya6x7st0t8, number of children 0

    -------------------------------------

    Select / * + GATHER_PLAN_STATISTICS NO_PARALLEL * / J.INVOICEACCOUNT,.

    J.INVOICEID, J.INVOICEDATE, (T.LINEAMOUNT + T.LINEAMOUNTTAX) price of

    CustInvoiceJour j join custinvoicetrans t on

    substr (nls_lower (j.DataAreaId), 1, 7) =

    substr (nls_lower (t.DataAreaId), 1, 7) and

    = substr (nls_lower (J.INVOICEID), 1: 25)

    substr (nls_lower (t.INVOICEID), 1: 25) where

    substr (nls_lower (T.DATAAREAID), 1, 7) = '201' and T.AVBROCHURELINENUM =

    29457 and substr (nls_lower, (j.dataareaid), 1, 7) = '201' and

    J.INVOICEACCOUNT in (select CE. ACCOUNTNUM of

    drmpos.avtr_seg_cust_campend this where THIS. CAMPAIGN = '201406' and

    IT. SEGMENT_LEVEL in (', 'E')) and J.AVAWARDSALES > 190 and

    substr (nls_lower (J.AVBILLINGCAMPAIGN), 1, 13) = '201406' and

    "J.INVOICEDATE between ' 04.06.2014' and ' 13.06.2014 '.

    Hash value of plan: 2002317666

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    | ID | Operation | Name                           | Begins | E - lines. A - lines.   A - time | Pads | Bed |  OMem |  1Mem | Used Mem.

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                                |      1.        |      0 | 00:00:00.01 |       0 |      0 |       |       |          |

    |*  1 |  HASH JOIN |                                |      1.   3956.      0 | 00:00:00.01 |       0 |      0 |  2254K |  1061K | 2190K (0) |

    |*  2 |   HASH JOIN |                                |      1.     87.  16676. 00:00:01.64 |     227K |   3552.  3109K |  1106K | 4111K (0) |

    |*  3 |    TABLE ACCESS BY INDEX ROWID | CUSTINVOICEJOUR |      1.   1155 |  31889 | 00:00:01.16 |     223KO |     15.       |       |          |

    |*  4 |     INDEX RANGE SCAN | I_062INVOICEDATEORDERTYPEIDX |      1.   4943 |    134K | 00:00:00.83 |   45440 |      0 |       |       |          |

    |   5.    SIMPLE LIST OF PARTITION.                                |      1.  82360 |    173K | 00:00:00.08 |    3809 |   3537 |       |       |          |

    |*  6 |     TABLE ACCESS FULL | AVTR_SEG_CUST_CAMPEND |      1.  82360 |    173K | 00:00:00.06 |    3809 |   3537 |       |       |          |

    |   7.   TABLE ACCESS BY INDEX ROWID | CUSTINVOICETRANS |      1.   4560 |      0 | 00:00:00.01 |       0 |      0 |       |       |          |

    |*  8 |    INDEX RANGE SCAN | I_064INVLINENUMCAMPAIGNOFPRICE |      1.   4560 |      0 | 00:00:00.01 |       0 |      0 |       |       |          |

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    1 - access("J".") "SYS_NC00299$"="T". "' SYS_NC00165$ ' AND SUBSTR (NLS_LOWER ('J'. "" "" REFFACTURE")(, 1, 25) = SUBSTR (NLS_LOWER ("T"." "" "REFFACTURE")(, 1, 25)).

    2 - access("J".") INVOICEACCOUNT '= SYS_OP_C2C ("EC". ". ACCOUNTNUM'))

    3 - filter("J".") AVAWARDSALES"> 190)

    4 - access("J".") SYS_NC00299$ "= U ' 201"AND "J". INVOICEDATE"> = TO_DATE(' 2014-06-04 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND

    "J"." SYS_NC00307$ "= U ' 201406"AND "J". INVOICEDATE"< = TO_DATE (' 2014-06-13 00:00:00 ',' syyyy-mm-dd hh24:mi:ss')))

    filter ((' J'. "INVOICEDATE' > = 'J' AND TO_DATE(' 2014-06-04 00:00:00', 'syyyy-mm-dd hh24:mi:ss') '." " SYS_NC00307$ "= U '201406' AND"

    "J"." INVOICEDATE"< = TO_DATE (' 2014-06-13 00:00:00 ',' syyyy-mm-dd hh24:mi:ss'))))

    6 filter (("CE". "SEGMENT_LEVEL" = A "OR"THIS"." SEGMENT_LEVEL "=" E"))

    8 - access("T".") SYS_NC00165$ "= U ' 201"AND "T". AVBROCHURELINENUM "= 29457)

    filter ("T". ("AVBROCHURELINENUM" = 29457)

    EXPLAIN PLAN FOR

    Select / * + GATHER_PLAN_STATISTICS NO_PARALLEL * / J.INVOICEACCOUNT, J.INVOICEID, J.INVOICEDATE, (T.LINEAMOUNT + T.LINEAMOUNTTAX) price

    of custinvoicejour j join custinvoicetrans t on

    substr (nls_lower (j.DataAreaId), 1, 7) = substr (nls_lower (t.dataareaid), 1, 7) and

    substr (nls_lower (J.INVOICEID), 1: 25) = substr (nls_lower (t.INVOICEID), 1: 25)

    where

    substr (nls_lower (T.DATAAREAID), 1, 7) = '201' and T.AVBROCHURELINENUM = 29457

    and substr (nls_lower (j.dataareaid), 1, 7) = '201' and

    J.INVOICEACCOUNT in

    (select IT. Drmpos.avtr_seg_cust_campend ACCOUNTNUM this where THIS. CAMPAIGN = '201406' and THIS. SEGMENT_LEVEL in (', 'E'))

    and J.AVAWARDSALES > 190

    and substr (nls_lower (J.AVBILLINGCAMPAIGN), 1, 13) = '201406'

    "and J.INVOICEDATE between ' 04.06.2014' and ' 13.06.2014 ';

    SELECT * FROM table (DBMS_XPLAN. DISPLAY_CURSOR);

    SELECT * FROM table (DBMS_XPLAN. DISPLAY_CURSOR ('7h1nbzqjgwsp7', 2));

    SQL_ID, 7h1nbzqjgwsp7, number of children 2

    EXPLAIN PLAN for select / * + GATHER_PLAN_STATISTICS NO_PARALLEL * /.

    J.INVOICEACCOUNT, J.INVOICEID, J.INVOICEDATE,

    (T.LINEAMOUNT + T.LINEAMOUNTTAX) join price j custinvoicejour

    CustInvoiceTrans t on substr (nls_lower (j.dataareaid), 1, 7) =

    substr (nls_lower (t.DataAreaId), 1, 7) and

    = substr (nls_lower (J.INVOICEID), 1: 25)

    substr (nls_lower (t.INVOICEID), 1: 25) where

    substr (nls_lower (T.DATAAREAID), 1, 7) = '201' and T.AVBROCHURELINENUM =

    29457 and substr (nls_lower, (j.dataareaid), 1, 7) = '201' and

    J.INVOICEACCOUNT in (select CE. ACCOUNTNUM of

    drmpos.avtr_seg_cust_campend this where THIS. CAMPAIGN = '201406' and

    IT. SEGMENT_LEVEL in (', 'E')) and J.AVAWARDSALES > 190 and

    substr (nls_lower (J.AVBILLINGCAMPAIGN), 1, 13) = '201406' and

    "J.INVOICEDATE between ' 04.06.2014' and ' 13.06.2014 '.

    NOTE: cannot fetch SQL_ID plan: 7h1nbzqjgwsp7, CHILD_NUMBER: 2

    Check the value of SQL_ID and CHILD_NUMBER;

    It could also be that the plan is no longer in the cursor cache (check v$ sql_plan)

    NightWing wrote:

    Randolf,

    I don't understand. What you hear from the above statement that you mean A-lines and E will be incorrect, but the ratio between them remain the same. Therefore, you can deduct the bad things by comparing the differences.

    Thus, A-lines always give a wrong result for cancellation of queries, isn't it?

    Charlie,

    I think that Martin gave a good explanation. Here's another example that hopefully makes more obvious things:

    17:56:55 SQL >-things go very wrong here with a small buffer cache

    17:56:55 SQL >-T2 lines are badly scattered when you access through T1. FK

    17:56:55 SQL >--

    17:56:55 SQL >-"Small job" approach would have been a good idea

    17:56:55 SQL >-if the estimate of 100 iterations of the loop was correct!

    17:56:55 SQL > select

    17:56:55 (t2.attr2) count 2

    17:56:55 3 of

    17:56:55 4 t1

    17:56:55 5, t2

    17:56:55 6 where

    17:56:55   7  /*------------------*/

    17:56:55 8 trunc (t1.attr1) = 1

    17:56:55 9 and trunc (t1.attr2) = 1

    17:56:55 10 / *-* /.

    17:56:55 11 and t1.fk = t2.id

    17:56:55 12.

    T1

    *

    ERROR on line 4:

    ORA-01013: user has requested the cancellation of the current operation

    Elapsed time: 00:04:58.30

    18:01:53 SQL >

    18:01:53 SQL > @xplan_extended_display_cursor ' ' ' ' 'ALLSTATS LAST + COST.

    18:01:53 SQL > set echo off verify off termout off

    SQL_ID, 353msax56jvvp, number of children 0

    -------------------------------------

    SELECT count (t2.attr2) from t1, t2 where

    / / *-* trunc (t1.attr1) = 1 and

    trunc (T1.attr2) = 1 / *-* / and t1.fk = t2.id

    Hash value of plan: 2900488714

    ------------------------------------------------------------------------------------------------------------------------------------

    | ID | The NEST | DSB | Operation | Name | Begins | E - lines. Cost (% CPU). A - lines.   A - time | Pads | Bed |

    ------------------------------------------------------------------------------------------------------------------------------------

    |   0 |     |   7. SELECT STATEMENT |        |      1.        |  4999 (100) |      0 | 00:00:00.01 |       0 |      0 |

    |   1.   0 |   8 2 GLOBAL TRI |        |      1.      1.            |      0 | 00:00:00.01 |       0 |      0 |

    |   2.   1.   5.   NESTED LOOPS |        |      1.        |            |  57516 | 00:04:58.26 |     173K |  30770 |

    |   3.   2.   3.    NESTED LOOPS |        |      1.    100.  4999 (1) |  57516 | 00:00:21.06 |     116K |   3632.

    |*  4 |   3.   1.     TABLE ACCESS FULL | T1 |      1.    100.  4799 (1) |  57516 | 00:00:00.19 |    1008 |   1087 |

    |*  5 |   3.   2.     INDEX UNIQUE SCAN | T2_IDX |  57516 |      1.     1 (0) |  57516 | 00:00:20.82 |     115K |   2545 |

    |   8 2 2 |   4.    TABLE ACCESS BY INDEX ROWID | T2 |  57516 |      1.     2 (0) |  57516 | 00:04:37.14 |   57516 |  27138 |

    ------------------------------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    4 filter ((TRUNC ('T1'. "ATTR1") = 1 AND TRUNC ('T1'. " ATTR2') = 1))

    5 - access("T1".") FK '= 'T2'.' (ID')

    You say here that I canceled a query after about 5 minutes, and looking at the statistics of content (RowSource) I can already say the following:

    1. the estimation of cardinality of T1 is far - the optimizer estimated 100 lines, but it actually generated more than 57000 lines when the query was cancelled. If this definitely seems like a candidate at the origin of the problems

    2. the query has spent most of the time in search of random table T2

    So while it is true that I don't know final A-lines of this cancelled query information, I can still say a lot of this and begin to deal with the problems identified so far.

    Randolf

  • How to make a function to wait for a closed window.

    I have a method with a few linecodes. At the center of the lines has a comand where to open a windows in certain situations. Something like this:


    comand1;
    comand2;
    comand3;
    {if (bShowWarnings)}
    PopUpManager.addPopUp (f_war, this, true);
    PopUpManager.centerPopUp (f_war);
    }
    comand4;
    comand5;

    I want orders 4 and 5 to be executable that after the "f_war" be closed. (At least when the f_war is modal). I can't put these lines inside of the 'f_war' because sometimes this window are not shown. How can I do this?

    Thank you.

    f_war.addEventListner(CloseEvent.CLOSE, doSomething);
    
  • How to make a multiple numeric value to another page

    Dear Experts,

    Apex 4.1

    Oracle 11g

    I would like to pass multiple numeric value to another page, as below:

    P1_ID = (11,22,33) POINT Page1 depend on what users chose

    P2 SQL: SELECT * FROM TABLE WHERE ID IN (11,22,33), ID is numeric fields.

    but the PAGE 2 to show the error invalid number, how to fix, please help me.

    Thanks and greetings

    Yong Huang wrote:

    Dear Experts,

    Apex 4.1

    Oracle 11g

    I would like to pass multiple numeric value to another page, as below:

    P1_ID = (11,22,33) POINT Page1 depend on what users chose

    P2 SQL: SELECT * FROM TABLE WHERE ID IN (11,22,33), ID is numeric fields.

    but the PAGE 2 to show the error invalid number, how to fix, please help me.

    This is the classic problem 'variable IN the list' (I have no idea why this misunderstanding is so widespread. Always seemed obvious to me that it doesn't). In

    select * from table where columnvalue in (7788, 7839, 7876)
    

    (7788, 7839, 7876)is a list of expressions and the predicate is evaluated as a membership condition.

    In

    select * from table where columnvalue in :P1_X
    

    :P1_Xis a scalar string, unable to contain multiple values.

    In a report of type APEX, a source report of the body of the PL/SQL function returning a SQL query with lexical substitution can be used to produce a "variable list:

    return 'select * from table where columnvalue in (' || :P1_X || ')';
    

    where P1_X contains less than 1000 values, has been disinfected to code SQL injectionand string values are properly cited.

    Some people suggest the following approach, that will work also in interactive APEX reports:

    select * from table where instr(':' || :P1_X || ':', ':' || columnvalue || ':') > 0
    

    However, it is underperforming because it eliminates the possibility of using the index optimizer or the size of the partition in the execution plan.

    See various elements in the list to ask Tom and imitating the channel to the table using sql features for effective solutions.

  • Newbie question: how to make my program to write to another file after so many loops?

    Im trying to get my program to write to a different file after 65 535 lines. First create a file to begin with, so the operator won't be necessary for the switch on? Secondly how do I change a path of file to another, some not friendly any statement? I joined my program, I'm not entirely sure what are the two roads of current file used for, is - this one to call the file and one to save?

    See you soon

    Attached VI will give you some tips.

    Christian

  • How to make an object (plane) go behind another (Celine Dion)?

    I am currently doing the same, where the Céline Dion and I wanted to make an airplane fly beyond CD, but behind her in the background, that the CD is in the foreground. I already have a mask around CD on a double layer of the original video and a plane flying through the frame on another layer.

    Here's my layers, labelled.

    premhelp.PNG

    This is where I want the plane to go behind Céline.

    premhelp2.PNG
    Thank you for your help in advance.

    Kevin is right.

    Your installation is correct, a video layer on V1, copy of this layer on the track on v and the plan in sandwich are intertwined.

    Do not add a track matte.

    Use the tool pen under the effect of opacity and draw around CD and make sure that your close trails to create the mask by clicking on the first Summit your created.  You will see a small circle appears next to the pen tool.

    Aircraft will now be behind the CD.

    If the CD is not static, then use the track hide the buttons back and forth to create a mask of travel.

  • How to make my photo shop program to another computer?

    How do you install my program on my new computer without having to pay for a new program?

    Help > log out.

    Then download and install on the new computer.

    What version?

  • How to make a circle and a lock to end of line (in the center of the circle) and the whole movement?

    I'm new to Illustrator, and maybe it isn't the best master to achieve CS6 software but:

    I have a few circles (13), they are connected to the lines (a line from the center of a circle to the center of the next one, so 13 connecting lines). I need to move the circles to create the appearance that suits me better, but I want the end connection to go together (see photo below). I need to do it often and get immediate visual feedback. How can I do? I use the software wrong altogether?

    Thanks in advance to all who will try and help out!

    qIll.jpg

    Use the direct Selection (white arrow) tool to draw a rectangle around the circle which also includes the anchor point or line, and then drag to the new location.

  • How to make more than 3 elements to another page via a column binding?

    I know this is a simple question, but I don't see it covered in the manual.

    I have a report on page 1, when the user clicks on a link in the column, I spend 4 elements to the page that is called.
    The column binding box allows you to specify 3 elements. How people normally accomplish this?
    Somehow use page zero? Do you use elements of Application for this?

    Also, can anyone recommend a good book APEX to complete manuals?

    Thank you

    You can enter several point names/point-values separated by a ',' in these areas

    As

    P1_x, P1_y for element names

    23,24 for values of tea plant

    CITY

  • How to make a slideshow of pictures at the end of the slide to end?

    Sounds like a no-brainer, but I can't bend the Photos to my will.

    I have created a slideshow project and set it to my chosen iTunes song. Now, regardless whether I set the duration to 'adjust music' or I play with the custom settings, instead of ending with the screen showing my last slide, he returns to the first slide! What is with that. I want the music of late and the last slide to linger on the screen as the "grand final", but he finishes the show then springs back in the beginning title slide! Maddening.

    Thanks for your help, oh people of genius!

    You have this selected button (it is blue, if activated)?

    If so click again it is black and try again.

  • How to make normal mouse become again on another scene

    Hi guys, so I have this piece of code:

    import flash.events.MouseEvent;

    import flash.events.Event;

    Stop();

    addEventListener (Event.ENTER_FRAME, GetMouse);

    function GetMouse(event:Event)

    {

    If (mouseX > 365 & & mouseX < 613 & & mouseY < 170 & & mouseY > 120)

    {

    Mouse.Cursor = "Button";

    addEventListener (MouseEvent.MOUSE_DOWN, goToLevel);

    function goToLevel(event:MouseEvent):void

    {

    Stop (1, "Lv1");

    }

    }

    ElseIf (mouseX > 365 & & mouseX < 613 & & mouseY < 234 & & mouseY > 185)

    {

    Mouse.Cursor = "Button";

    addEventListener (MouseEvent.MOUSE_DOWN, goToLevelSelect);

    function goToLevelSelect(event:MouseEvent):void

    {

    Stop (2, "LvSelect");

    }

    }

    on the other

    {

    Mouse.Cursor = "auto";

    }

    }

    And basically, it's my first scene have 2 clickable buttons that lead me to a 2nd and 3rd stage. The problem is, once I'm onstage, 2 or 3, the cursor remains as if it were a button when I put it on the box I defined in other places, I thought that the code would affect not my other scenes that's why I did it. Is it possible that I can do my cursor back to normal in the other scenes?

    you have no problem in scene 2 after the code runs, and you apply any other code Mouse.cursor?

Maybe you are looking for

  • Firefox 5 will work with XP SP3

    I am currently using Firefox 4 version 4.0.1Firefox 5 will work with XP SP3?

  • Win XP in a strange state

    I have a pretty old desktop running Windows XP sp2. He is in a bad state because when I turn on the computer (no password by the way) newspaper in perfectly fine and then the trouble begins. I can move my mouse and activate the Task Manager but if I

  • HP 15 - ac 042TU: survey on drivers

    When I play a 1080 p movie in my laptop it accused strongly in windows media player and vlc media player, certain types of tasks are visible on the screen and the video quality is very bad... Please help me...

  • Where the mail removed from my IMAP account?

    When I delete a mail from my IMAP account on my computer - where does go? I'm not in the deleted items folder?

  • When I connect to some sites, it goes to a white screen and everything goes ever further.

    original title: problems with Web site. When I go on some web sites, like my Bank, it allows me to log in, but then the next screen never appears.  Initially, this site worked.  Now, I can't in my e-mail site, it allows me to connect, but then the ne