Help improve llb of Labview 5.1 to 7.1

Hello guys and girls,

I have a serial.llb works very well with labview 5.1, and I've updated my version of labview 7.1, when I open the Serial.llb using labview 7.1 to upgrade, open, but the removal of the program many features making it the screw works do not at all!

I tried to follow the errors, but I got a massege as ' this function not valid any more and must be replaced "I don't know how and with what I should replace these functions.

Can anyone help me improve it works with labview 7.1.

Thank you in advance,

VISA to the Serial Port bytes will replace the obsolete VI you have. In this VI, there is no replacement for the low-level functions. As mentioned, they are obsolete and have been for many years.

Tags: NI Software

Similar Questions

  • full form of llb in labview

    Hello

    can someone tell me what is the full form of the LLB in labview

    thanx

    Billy.

    It's LabVIEW VI LiBrary

  • Please help improve the JavaScript script

    Please help improve the JavaScript scriptA.JPG

    Hello

    to increase or decrease the height of a subform, you use the following syntax in the click of + and - button

    cmdAdd::JavaScript

    _Row1.addInstance (1);

    var b is parseFloat (Subform3.h) - 6.5;.

    If (b<>

    b = 0;

    }

    Subform3.h = b + "mm";

    cmdRemove::JavaScript

    If (_Row1.count > 1) {}

    var b is parseFloat (Subform3.h) + 6.5.;

    Subform3.h = b + "mm";

    _Row1.removeInstance (this.parent.index);

    }

    This should do the trick, I hope this will help you

  • Because of re-initializing DB helps improve performance

    Hi all

    Could you please answer my question.

    The re-initialization DB helps improve the performance of the DS. We can do this once a year as a preventive measure?

    Thanks in advance.

    -Bennett

    Hello Bhadra,
    one of the reasons why an instance of DS 'slowing down' in the long term COULD BE due to the fragmentation/occupation page and/or the presence of headstones (and empty graves: segments with deleted entries) in the underlying DB.
    If you have a huge database with a lot of paperwork (ADD/MOD/DEL), it is reasonable that after a long period of time the DB can become slightly fragmented. Depending on the version, there may be different approaches and techniques to overcome this problem: reconditioning is one of them (with a long and troubled history this functionality available for origin 6.x, disabled in 7.x, reactivated in 11.1.1.5).

    The reset of the DB, COULD BE a good idea, but it depends strongly on WHAT allows you to re-init: If you are using a LDIF WITH replica information, you will be especially rebuild DB and indexes, in order to reduce the fragmentation at the "level of file system", but you'll always keep a lot of 'waste' (gravestones and tombs) in the DB and the directories themselves.

    IMHO the only way to completely refresh the contents of a directory server instance would export to LDIF WITHOUT information of replica and then re-init with whom: this will generate a "new and compact" DB and all clues not only to reduce fragmentation in the "file system level", but also that it will be "purged" all stones tombstones and empty serious left by the previous operations of MOD/DEL.
    The significant disadvantage of this approach is that if you are dealing with a replicated environment (which is very common), you will also have to perform a reset of complete topology from the top down.

    HTH,
    Marco

  • Photoshop CS6 hangs after "Help Improve products Adobe" appear

    Photoshop CS6 breaks down or menu turning grey after "Products of Adobe Help Improve" elements. How can I get rid of this message which appears all the time?

    Yes, the black UI is damage to the system caused by MacKepeer.

    It is one that requires reinstallation of the operating system.

  • Help with clusters of LabView

    Hello. I am trying to create a field of the following parametric function 3D surface:

    z(x,y) = xy ^ 3 - yx ^ 3 on the field of-2<><2 ,="" to=""><><>

    I created the block diagram, as shown.  However, to try to establish the curve I get the message "you have connected two arrays of different sizes. The dimension is 2, and the dimension of vector y is 1.   I'm new to labview, and I don't know how to solve this error. Is it possible to combine my table to produce a plot and remove the error? Any help much appreciated.  Thank you

    If you press CTRL + H, you will see the context-sensitive help. If you hover over the 3D Surface ActiveX control you will see little aid. The graph shows that there are two entries without a name (it's your x and is entered). They are optional. You should be wiring your equation created inside the icon where it says "matrix z.

  • Help improve the performance of a procedure.

    Hello everyone,

    First of all to introduce myself. My name is Ivan and I recently started to learn the SQL and PL/SQL. Then don't go hard on me. :)

    Now let's move on to the problem. What we have here is a table (a large, but we will need only a few fields) with some information about the calls. 'S called it table1. There is also another, absolutely the same structure, which is empty and we must transfer the recordings of the first.
    The calls short (less than 30 minutes) have segmentID = "C1".
    Longer calls (over 30 minutes) are saved as multiple records (1 for every 30 minutes). The first record (the first 30 minutes of the call) a segmentID = "C21". It's the first time we have only one of them for each different call. Then we have the next parts (the middle one) of the appeal, having segmentID = "C22". We have more than 1 middle part and once again the maximum minutes in every 30 minutes. Then we have the last part (new max 30 minutes) with segmentID = "C23. As with the first, we can have that last part.
    So far so good. Now we need to insert these call records in the second table. The C1 are easy - a record = one call. But those partial we must combine so that they become a single whole call. This means that we must be one of the first pieces (C21), find if there is a middle part (C22) with the same caller/called numbers and with the difference in 30 minutes time, then additional research if there is an another C22 and so on. And finally, we search for the last part of the call (C23). As part of this research we sum the length of each part, so we can have the duration of the call at the end. Then, we are ready to be inserted into the new table as a single record, just with the new duration.
    But here's the problem with my code... The table a LOT of files and this solution, despite the fact that it works (at least in tests I've done so far), it is REALLY slow.
    As I said I am new to PL/SQL and I know that this solution is really newbish, but I can't find another way to do this.

    So I decided to come here and ask for some advice on how to improve the performance of this.

    I think you're getting confused already, so I'll just put some comments in the code.

    I know this isn't a procedure as at present, but it will be once I have create better code. I don't think it's important for now.
    DECLARE
    
    CURSOR cur_c21 IS
        select * from table1
        where segmentID = 'C21'
        order by start_date_of_call;     // in start_date_of_call is located the beginning of a specific part of the call. It's date format.
        
    CURSOR cur_c22 IS
        select * from table1
        where segmentID = 'C22'
        order by start_date_of_call;
        
    CURSOR cur_c22_2 IS
        select * from table1
        where segmentID = 'C22'
        order by start_date_of_call;   
        
    cursor cur_c23 is
        select * from table1
        where segmentID = 'C23'
        order by start_date_of_call;
    
    v_temp_rec_c22 cur_c22%ROWTYPE;
    v_dur table1.duration%TYPE;           // using this for storage of the duration of the call. It's number.
    
    BEGIN
    
    insert into table2
    select * from table1 where segmentID = 'C1';     // inserting the calls which are less than 30 minutes long
    
    -- and here starts the mess
    
    FOR rec_c21 IN cur_c21 LOOP        // taking the first part of the call
       v_dur := rec_c21.duration;      // recording it's duration
    
       FOR rec_c22 IN cur_c22 LOOP     // starting to check if there is a middle part for the call 
          IF rec_c22.callingnumber = rec_c21.callingnumber AND rec_c22.callednumber = rec_c21.callednumber AND  
            (rec_c22.start_date_of_call - rec_c21.start_date_of_call) = (1/48)                 
    /* if the numbers are the same and the date difference is 30 minutes then we have a middle part and we start searching for the next middle. */
          THEN
             v_dur := v_dur + rec_c22.duration;     // updating the new duration
             v_temp_rec_c22:=rec_c22;               // recording the current record in another variable because I use it for the next check
    
             FOR rec_c22_2 in cur_c22_2 LOOP
                IF rec_c22_2.callingnumber = v_temp_rec_c22.callingnumber AND rec_c22_2.callednumber = v_temp_rec_c22.callednumber AND  
                  (rec_c22_2.start_date_of_call - v_temp_rec_c22.start_date_of_call) = (1/48)         
    /* logic is the same as before but comparing with the last value in v_temp... 
    And because the data in the cursors is ordered by date in ascending order it's easy to search for another middle parts. */
                THEN
                   v_dur:=v_dur + rec_c22_2.duration;
                   v_temp_rec_c22:=rec_c22_2;
                END IF;
             END LOOP;                      
          END IF;
          EXIT WHEN rec_c22.callingnumber = rec_c21.callingnumber AND rec_c22.callednumber = rec_c21.callednumber AND  
                   (rec_c22.start_date_of_call - rec_c21.start_date_of_call) = (1/48);        
    /* exiting the loop if we have at least one middle part.
    (I couldn't find if there is a way to write this more clean, like exit when (the above if is true) */
       END LOOP;
                  
       FOR rec_c23 IN cur_c23 LOOP              
          IF (rec_c23.callingnumber = rec_c21.callingnumber AND rec_c23.callednumber = rec_c21.callednumber AND 
             (rec_c23.start_date_of_call - rec_c21.start_date_of_call) = (1/48)) OR v_dur != rec_c21.duration           
    /* we should always have one last part, so we need this check.
    If we don't have the "v_dur != rec_c21.duration" part it will execute the code inside only if we don't have middle parts
    (yes we can have these situations in calls longer than 30 and less than 60 minutes). */
          THEN
             v_dur:=v_dur + rec_c23.duration;
             rec_c21.duration:=v_dur;               // updating the duration
             rec_c21.segmentID :='C1';
             INSERT INTO table2 VALUES rec_c21;     // inserting the whole call in table2
          END IF;
          EXIT WHEN (rec_c23.callingnumber = rec_c21.callingnumber AND rec_c23.callednumber = rec_c21.callednumber AND 
                    (rec_c23.start_date_of_call - rec_c21.start_date_of_call) = (1/48)) OR v_dur != rec_c21.duration;                  
                    // exit the loop when the last part has been found. 
       END LOOP;
    END LOOP;
    
    END;
    I'm using version 1.5.5 Developer SQL and Oracle 11 g.

    This is my first post here so I hope it's the right subforum.
    I tried to explain it as deep as possible (sorry if it's too long) and I kinda think that code got a bit hard to read with all these comments. If you want I can delete them.
    I know that I'm missing a lot of knowledge for all the help is really appreciated.

    I thank very you much in advance!

    Hi and welcome to the forums.

    Thanks for posting your code (and using code tags... it's a miracle of a novice!).

    What would be nice would be if you could provide some example data and expected results; as described in the FAQ: {message identifier: = 9360002}

    Your code is very likely to be slow because of the number of nested loops cursor that you use. Which is known in the trade as treatment of rank by rank (more affectionately known as slow-by-slow transformation, as he was known to be slow). It is slow because the PL engine must keep going back and forth between himself and the SQL engine and the INSERT you in a loop called SQL much time to insert data.

    Usually this kind of thing can be achieved by using something like a single INSERT... ... SELECT statement where the SELECT all the treatment that you put in the language PL, or sometimes a SQL MERGE statement if a conditional is sort of insert/update.

    If you post your data so people can get an idea of what is the logic (and have something to test with and know what results should be) then we can help.

  • Help improve my Drag &amp; Drop code

    Nice day!

    I have here my code for a simple drag and drop exercise and it looks like a little redundant. I want to improve and reduce efficiency, but I don't really know how I was supposed to do. Also, I have a problem when you select a drag object; When I click on it, it is lost. I don't really know why this is happening, I just follow a tutorial I've seen on the internet. Help would be really appreciated!

    Sincerely,

    Mr. Milo

    MY CODE ARE THE FOLLOWING:

    AT1.addEventListener (MouseEvent.MOUSE_DOWN, pickAT);
    In1.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    In2.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    in3.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    IN4.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    IN5.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    in6.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    IN7.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    IN8.addEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    on1.addEventListener (MouseEvent.MOUSE_DOWN, pickON);
    On2.addEventListener (MouseEvent.MOUSE_DOWN, pickON);

    AT1.addEventListener (MouseEvent.MOUSE_UP, dropAT);
    In1.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    In2.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    in3.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    IN4.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    IN5.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    in6.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    IN7.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    IN8.addEventListener (MouseEvent.MOUSE_UP, dropIN);
    on1.addEventListener (MouseEvent.MOUSE_UP, dropON);
    On2.addEventListener (MouseEvent.MOUSE_UP, dropON);

    AT1.buttonMode = true;
    In1.buttonMode = true;
    In2.buttonMode = true;
    in3.buttonMode = true;
    IN4.buttonMode = true;
    IN5.buttonMode = true;
    in6.buttonMode = true;
    IN7.buttonMode = true;
    IN8.buttonMode = true;
    on1.buttonMode = true;
    On2.buttonMode = true;

    var startX: number;
    var startY: number;
    var right: number = 0;
    var attempt: number = 0;

    I think I have a problem here

    function pickAT(event:MouseEvent): void {}
    var obj = event.target;
    obj.startDrag ();
    obj.x = startX;
    obj.y = startY;
    }

    function pickIN(event:MouseEvent): void {}
    var obj = event.target;
    obj.startDrag ();
    obj.x = startX;
    obj.y = startY;
    }

    function pickON(event:MouseEvent): void {}
    var obj = event.target;
    obj.startDrag ();
    obj.x = startX;
    obj.y = startY;
    }

    function dropAT(event:MouseEvent): void {}
    var object = event.target;
    object.stopDrag)
    If (object.dropTarget! = null & & object.hitTestObject (targetAT1)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickAT);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropAT);
    object.buttonMode = false;
    Object.x = targetAT1.x;
    Object.y = targetAT1.y;
    }
    else {}
    attempt of ++;
    attemptCounter.text = String (attempt);
    Object.x = startX;
    Object.y = startY;
    }
    }

    function dropIN(event:MouseEvent): void {}
    var object = event.target;
    object.stopDrag)
    If (object.dropTarget! = null & & object.hitTestObject (targetIN1)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN1.x;
    Object.y = targetIN1.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetIN2)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN2.x;
    Object.y = targetIN2.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetIN3)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN3.x;
    Object.y = targetIN3.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetIN4)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN4.x;
    Object.y = targetIN4.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetIN5)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN5.x;
    Object.y = targetIN5.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetIN6)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN6.x;
    Object.y = targetIN6.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetIN7)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN7.x;
    Object.y = targetIN7.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetIN8)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickIN);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropIN);
    object.buttonMode = false;
    Object.x = targetIN8.x;
    Object.y = targetIN8.y;
    }

    else {}
    attempt of ++;
    attemptCounter.text = String (attempt);
    Object.x = startX;
    Object.y = startY;
    }
    }

    function dropON(event:MouseEvent): void {}
    var object = event.target;
    object.stopDrag)
    If (object.dropTarget! = null & & object.hitTestObject (targetON1)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickON);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropON);
    object.buttonMode = false;
    Object.x = targetON1.x;
    Object.y = targetON1.y;
    }

    ElseIf (object.dropTarget! = null & & object.hitTestObject (targetON2)) {}
    attempt of ++;
    good ++;
    attemptCounter.text = String (attempt);
    correctCounter.text = String (correct);
    object.removeEventListener (MouseEvent.MOUSE_DOWN, pickON);
    object.removeEventListener (MouseEvent.MOUSE_UP, dropON);
    object.buttonMode = false;
    Object.x = targetON2.x;
    Object.y = targetON2.y;
    }


    else {}
    attempt of ++;
    attemptCounter.text = String (attempt);
    Object.x = startX;
    Object.y = startY;
    }
    }

    Ned,

    Please look in the code and in pointing to errors.

    Milo,

    I was grabbing on top of head and, of course, forgetting some things. I hope this works:

    var startX: Number;
    var startY: Number;
    var correct: Number = 0;
    var attempt: Number = 0;
    
    var currentlyDragged:MovieClip;
    // collection of objects stored in array
    // so that you can reference them programmatically
    var objects:Array = [at1, in1, in2, in3, in4, in5, in6, in7, in8, on1, on2];
    
    activateObjects();
    // assigns listeners and other functionality to the objects in objects array
    function activateObjects():void {
         for each(var mc:MovieClip in objects) {
              mc.addEventListener(MouseEvent.MOUSE_DOWN, pickObject);
              mc.buttonMode = true;
              // assign drop targets based on names
              switch(String(mc.name).substring(0, 2)) {
                   case "at":
                        mc.dropTargets = [targetAT1];
                   break;
    
                   case "in":
                        mc.dropTargets = [targetIN1, targetIN2, targetIN3, targetIN4, targetIN5, targetIN6, targetIN7, targetIN8];
                   break;
    
                   case "on":
                        mc.dropTargets = [targetON1, targetON2];
                   break;
              }
         }
    }
    
    function pickObject(e:MouseEvent):void {
         currentlyDragged = MovieClip(e.currentTarget);
         currentlyDragged.startDrag();
         startX = currentlyDragged.x;
         startY = currentlyDragged.y;
         stage.addEventListener(MouseEvent.MOUSE_UP, dropObject);
    }
    
    function dropObject(e:MouseEvent):void {
         stage.removeEventListener(MouseEvent.MOUSE_UP, dropObject);
         stopDrag();
         var droppedOn:MovieClip;
         if (currentlyDragged.dropTarget) {
              // loop through targets belonging to the currently dragged clip
              for each(var mc:MovieClip in currentlyDragged.dropTargets) {
                   if (currentlyDragged.hitTestObject(mc)) {
                        // get the target
                        droppedOn = mc;
                        currentlyDragged.removeEventListener(MouseEvent.MOUSE_DOWN, pickObject);
                        currentlyDragged.buttonMode = false;
                        currentlyDragged.x = droppedOn.x;
                        currentlyDragged.y = droppedOn.y;
                        correct++;
                        correctCounter.text = String(correct);
                        // stop loop - it is not necessary to continue
                        break;
                   }
              }
         }
         attempt++;
         attemptCounter.text = String(attempt);
         // return to the initial position if there is no hit
         if (!droppedOn) {
            currentlyDragged.x = startX;
            currentlyDragged.y = startY;
         }
    }
    

    Post edited by: Andrei1

  • Helps improve code

    Hello

    I'm looking for a little help on improving my code. I have a feeling that could be put to her look and feel much better. Initially, I had defined image 1-8 as separate variables (var image1:img1 new img1) but rather let them on the stage now, the invisible value. What is the right way to do it?

    My code is below, please tell me what you think of the way in which it is im. I realize I am always on the timeline.

    import flash.events.MouseEvent;

    for (var i: uint = 1; i < 9; i ++) {}
    This ["BTN" + String (i)] .addEventListener (MouseEvent.CLICK, buttonappear, false, 0, true);
    }

    for (var p:uint = 1; p < 9; p ++) {}
    This ["image" + String (p)] .visible = false;
    }

    CloseButton.Visible = false
    closebutton.addEventListener (MouseEvent.CLICK, closeall, false, 0, true);

    function closeall(e:MouseEvent):void
    {
    for (var p:uint = 1; p < 9; p ++) {}
    This ["image" + String (p)] .visible = false;
    CloseButton.Visible = false
    }
    }

    function buttonappear(e:MouseEvent):void
    {
    var buttonTarget:SimpleButton = SimpleButton (e.currentTarget); The variable is allergyTarget

    Switch (buttonTarget) / / each case must share the lineTarget
    {
    Btn1 case: / / allergy 1 is the first button
    Image1. Visible = true
    Image1.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check

    btn2 case: / / allergy 1 is the first button
    Image2. Visible = true
    Image2.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check

    case btn3: / / allergy 1 is the first button
    image3. Visible = true
    image3.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check

    btn4 case: / / allergy 1 is the first button
    image4. Visible = true
    image4.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check

    btn5 case: / / allergy 1 is the first button
    picture5. Visible = true
    image5.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check

    case btn6: / / allergy 1 is the first button
    image8. Visible = true
    image8.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check

    case btn7: / / allergy 1 is the first button
    image6. Visible = true
    image6.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check

    box btn8: / / allergy 1 is the first button
    image7. Visible = true
    image7.gotoAndPlay (1); The text box should display
    CloseButton.Visible = true
    break; If this isn't the case, break and then check
    }
    }

    assuming that the name property of btn1 is btn1 etc and these buttons are on stage:

    import flash.events.MouseEvent;

    for (var i: uint = 1; i<9;>
    This ["btn" + i] .addEventListener (MouseEvent.CLICK, buttonappear, false, 0, true);

    This ["image" + i] .visible = false;
    }

    CloseButton.Visible = false
    closebutton.addEventListener (MouseEvent.CLICK, closeall, false, 0, true);

    function closeall(e:MouseEvent):void
    {
    for (var p:uint = 1; p<9;>
    This ["image" + String (p)] .visible = false;
    CloseButton.Visible = false
    }
    }

    function buttonappear(e:MouseEvent):void
    {
    var i: int = int (e.currentTarget.name.substring (3));
    This ["image" + i] .visible = true;

    MovieClip(this["image"+i]).gotoAndPlay (1);

    CloseButton.Visible = true;

    }

  • With the help of myDAQ with LabVIEW 2012

    LabVIEW 2012 allows the myDAQ? When I run LabVIEW 2011 I can use the DAQ Assistant in LabVIEW and LabVIEW 2012, I do not see the DAQ Assistant Express VI. I've seen drivers does not support LabVIEW 2012 on the site, but I was wondering if anyone knew a way to use the myDAQ with the 2012 version. The myDAQ runs well on my version of 2011, but my students use the 2012 version and are struggling to make it work. I hope that they do not have to reinstall LabVIEW 2011.

    Thanks in advance

    LabVIEW 2012 support has been added with NI ELVISmx 4.4.  You can download and install the driver, which will install DAQmx 9.5.5 and ELVISmx 4.4 support for LabVIEW 2012, allowing you to use the DAQ Assistant and myDAQ in this version.

  • Convert llb VI LabVIEW 5 for use in LabVIEW 8.6

    Hello world!

    First of all, I would like to say how much I enjoyed working for OR and especially to support the community online in my free time. I have to say that this is a good place for NOR users in long term, the new users and any other LabVIEW - and you guys have fun! Excellent.

    I am now in college and I'm looking to use LabVIEW for robotics work. During my research, I found some manufacturers for material screw: however their "latest" version seems to be in LabVIEW 5.

    Someone would be kind enough to convert my screws at least LabVIEW 6 or up to LabVIEW 8.2.1 (latest version that can open the LabVIEW 5 screws) would be great. My LabVIEW 8.6 should be able to open the screw saved in LabVIEW 6 or higher. (Obviously not LabVIEW 2009!)

    Reference: How to update or restore to a different Version of LabVIEW VI

    Ever thank you in advance (I get bored of the day where I got all versions of LabVIEW - and OR software on my machine!)

    Kind regards
    James Hillman

    Compilation of mass in 7.1

    Felix

  • HELP improve the hard drive on my 615 options

    Hello

    I have a portable 615 and my hard drive is only 160 GB, one partition is already devoted to the recovery. My disk got full pretty quickly, I'm looking

    to upgrade in 2.5 "SATA 500 GB at least and more and 7200 RPM buffer at least 16 MB since the differences in prices are low. However HP States that 500 GB drives as an option so therefore:

    1 - does anyone tried or know if I can install disks of more large as 640 or 750 or same capacity 1 TB (at 7200 RPM SATA), and what should I do to manage this update of bios or something else?

    2. is there a way to include the recovery on my new drive partition so that I can get back to any failure and how is it possible to copy this image?

    Thanks a lot for any help or suggestion is welcome

    Thanks a lot for your help

  • Help: improve the contrast, brightness and overall readability on the page of a contract in adobe reader XI

    How can I improve: contrast, brightness, and overall readability on the page of the contract.  The original is extremely poor.

    need step by step...

    Thank you

    Not possible with Adobe Reader.

  • Disable help improve horse Adobe Reader experience screen * before * it appears first

    I know that we can simply select 'No, thanks.' when the horse Adobe Reader screen first, but I frequently reimage the system and must confront this nag screen * all the time * whenever I have reimage.

    Is it possible to disable * before * it appears first?

    Believe me, there is a way to turn it off.  I wouldn't call myself an expert with Adobe, but I did a lot of work with it installs.  So, I have become acustom to the madness that is Adobe.

    www.AppDeploy.com is a great site to find a way to customize an installation.  There notes and installs various tricks, including Adobe Reader 9.  This is the key that needs to be changed to disable this feature.

    HKEY_CURRENT_USER\SOFTWARE\Adobe\CommonFiles\Usage\Reader 9
    "OptIn" = DWORD: 00000000
    Stop the wizard 'improvement of experience '.

    Here is the link to the AppDeploy knowledge base.

    http://www.AppDeploy.com/packages/detail.asp?ID=1303

    Still, I'm not an expert, but I'm pretty good with stuff from Adobe.

  • Please help improve the query with the analytic function

    The mentioned below query takes about 10 hours to complete (10.2.0.4).

    There are 3 tables (table t has a relationship 1: n with table e and k table also has a relationship 1: n with table e).
    Table a contains 200,000 lines. (this table is truncated and inserted several times a week)
    E table contains rows of 1Mio.
    K table contains rows of 170Mio.

    drop table t;
    create table t
    (
       t_id number,
       constraint t_pk primary key (t_id)
    );
    
    drop table e;
    create table e
    (
       e_id number,
       e_doc nvarchar2(16),
       e_date date,
       constraint e_pk primary key (e_id)
    );
    
    drop table k;
    create table k (
       t_id number,
       e_id number
    );
    
    create unique index k_i1 on k(t_id, e_id);
    
    exec dbms_stats.gather_table_stats(user, 'T');
    exec dbms_stats.gather_table_stats(user, 'K');
    exec dbms_stats.gather_table_stats(user, 'E');
    
    
    
    -- Sample data:
    
    insert into t(t_id) values (100);
    insert into t(t_id) values (101);
    insert into t(t_id) values (102);
    insert into t(t_id) values (103);
    
    
    insert into e(e_id, e_doc, e_date) values (200, 'doc 200', to_date('01.01.2010', 'DD.MM.YYYY'));
    insert into e(e_id, e_doc, e_date) values (201, 'doc 201', to_date('02.01.2010', 'DD.MM.YYYY'));
    insert into e(e_id, e_doc, e_date) values (202, 'doc 202', to_date('03.01.2010', 'DD.MM.YYYY'));
    insert into e(e_id, e_doc, e_date) values (203, 'doc 203', to_date('04.01.2010', 'DD.MM.YYYY'));
    insert into e(e_id, e_doc, e_date) values (204, 'doc 204', to_date('05.01.2010', 'DD.MM.YYYY'));
    insert into e(e_id, e_doc, e_date) values (205, 'doc 205', to_date('06.01.2010', 'DD.MM.YYYY'));
    insert into e(e_id, e_doc, e_date) values (206, 'doc 206', to_date('07.01.2010', 'DD.MM.YYYY'));
    insert into e(e_id, e_doc, e_date) values (207, 'doc 207', to_date('08.01.2010', 'DD.MM.YYYY'));
    
    insert into k(t_id, e_id) values (100, 200);
    insert into k(t_id, e_id) values (100, 201);
    insert into k(t_id, e_id) values (100, 202);
    insert into k(t_id, e_id) values (100, 203);
    
    insert into k(t_id, e_id) values (101, 203);
    insert into k(t_id, e_id) values (101, 204);
    
    
    
    
    
    select k.t_id, e.e_date,  e.e_id, e.e_doc
    from   e, k, t
    where  k.e_id = e.e_id
    and    k.t_id = t.t_id
    order by k.t_id, e.e_date desc;
    
    
          T_ID E_DATE         E_ID E_DOC
    ---------- -------- ---------- ----------------
           100 04.01.10        203 doc 203
           100 03.01.10        202 doc 202
           100 02.01.10        201 doc 201
           100 01.01.10        200 doc 200
           101 05.01.10        204 doc 204
           101 04.01.10        203 doc 203
    I need a query that takes the latest 3 posts for a given t_id:
          T_ID E_DOC_LIST
    ---------- -----------------------
           100 doc 200/doc 201/doc 202
           101 doc 203/doc 204
    
    
    Sample query:
    
    select t_id, e_doc_list
       from (
       select  k.t_id,
            row_number() over(partition by k.t_id order by k.t_id, e.e_date desc) r_num, 
            rtrim(       lag(e.e_doc, 0) over(partition by k.t_id order by k.t_id, e.e_date) || 
                  '/' || lag(e.e_doc, 1) over(partition by k.t_id order by k.t_id, e.e_date) || 
                  '/' || lag(e.e_doc, 2) over(partition by k.t_id order by k.t_id, e.e_date), 
                  '/') e_doc_list
         from  e,
               k,
               t
         where  k.e_id = e.e_id
         and    k.t_id = t.t_id
         order by k.t_id, e.e_date desc
    ) where  r_num = 1   ;
    
    
          T_ID E_DOC_LIST
    ---------- --------------------------------------------------
           100 doc 203/doc 202/doc 201
           101 doc 204/doc 203
    The example query takes several hours in production.
    The r_num = 1 filter is applied quite late. Is there another way to generate the query or even review the tables.
    For the sample query:
    
    -----------------------------------------------------------------------------------------
    | Id  | Operation                        | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    -----------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                 |      |     6 |   468 |     6  (50)| 00:00:01 |
    |*  1 |  VIEW                            |      |     6 |   468 |     6  (50)| 00:00:01 |
    |*  2 |   WINDOW SORT PUSHED RANK        |      |     6 |   216 |     6  (50)| 00:00:01 |
    |   3 |    WINDOW SORT                   |      |     6 |   216 |     6  (50)| 00:00:01 |
    |   4 |     NESTED LOOPS                 |      |     6 |   216 |     4  (25)| 00:00:01 |
    |   5 |      MERGE JOIN                  |      |     6 |   198 |     4  (25)| 00:00:01 |
    |   6 |       TABLE ACCESS BY INDEX ROWID| E    |     8 |   208 |     2   (0)| 00:00:01 |
    |   7 |        INDEX FULL SCAN           | E_PK |     8 |       |     1   (0)| 00:00:01 |
    |*  8 |       SORT JOIN                  |      |     6 |    42 |     2  (50)| 00:00:01 |
    |   9 |        INDEX FULL SCAN           | K_I1 |     6 |    42 |     1   (0)| 00:00:01 |
    |* 10 |      INDEX UNIQUE SCAN           | T_PK |     1 |     3 |     0   (0)| 00:00:01 |
    -----------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter("R_NUM"=1)
       2 - filter(ROW_NUMBER() OVER ( PARTITION BY "K"."T_ID" ORDER BY
                  "K"."T_ID",INTERNAL_FUNCTION("E"."E_DATE") DESC )<=1)
       8 - access("K"."E_ID"="E"."E_ID")
           filter("K"."E_ID"="E"."E_ID")
      10 - access("K"."T_ID"="T"."T_ID")
    
    
    and for query in production
    
    ---------------------------------------------------------------------------------------
    | Id  | Operation                 | Name         | Rows  | Bytes |TempSpc| Cost (%CPU)|
    ---------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT          |              |  3118K|   425M|       |   160K  (1)|
    |   1 |  VIEW                     |              |  3118K|   425M|       |   160K  (1)|
    |   2 |   SORT ORDER BY           |              |  3118K|   163M|   383M|   160K  (1)|
    |   3 |    WINDOW SORT PUSHED RANK|              |  3118K|   163M|   383M|   160K  (1)|
    |   4 |     WINDOW SORT           |              |  3118K|   163M|   383M|   160K  (1)|
    |   5 |      HASH JOIN            |              |  3118K|   163M|    40M| 33991   (1)|
    |   6 |       TABLE ACCESS FULL   | E            |  1053K|    28M|       |  4244   (1)|
    |   7 |       NESTED LOOPS        |              |  3118K|    80M|       | 21918   (1)|
    |   8 |        TABLE ACCESS FULL  | T            |   144K|  1829K|       |   282   (2)|
    |   9 |        INDEX RANGE SCAN   | K_I1         |    22 |   308 |       |     1   (0)|
    ---------------------------------------------------------------------------------------
    
     

    TimWong765 wrote:
    ...
    Table a contains 200,000 lines. (* this table is truncated and inserted several times a week *)

    You could be in one of the rare cases where the index should be rebuild, take a look in the following thread:
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:6601312252730 #69571308712887 (search for 'index of Sweeper')
    Make sure that you have checked if you are in this case before going for an expensive index rebuild.

    Nicolas.

Maybe you are looking for

  • on my laptop, my cd/dvd driver does not work. He worked and out of nowhere it stopped. What can I do to make it work?

    I playd movies last week and tonight he do not play?

  • ARC Touch Mouse mouse train and jumps around

    I have a 2 new arc microsoft touch you mouse on Windows 7 PC, a Mac. They have all both worked well the first week, and now they started to jump everywhere and trolling. I have the drivers updated. Why is this happening? I noticed the problem more wh

  • Issue of Hreap

    Hi Experts, Read by a large number of hreap docs and I just wanted to clarify something. Y at - it an option to allow an AP Hreap switch locally customer traffic (derivation wlc) even in online mode? The wlc, it seems the only configuration is to ena

  • Do the pano

    When I try to do a pano of selected images, the software says that images must be saved first. If I can't use them or treat them, why and how can I save them? This command makes no sense what so ever.

  • Reg: Doubt dbms_scheduler

    Hi Experts,I have the script below-(a) Proc_2 uses CREATE_JOB to call proc_1. In this case, I don't see the exit for ' *' and ' =' in my console dbms_output. But, the good works of the Insert (insert only once).(b) if I Uncomment RUN_JOB, there are 2