nested VI loops

Hi all

I have a main VI which calls another VI that consist of a while loop and an indicator showing the number of iteration. How can I view the iteration as it increments on my main vi, as I see it display only the number that the while loop ends. Is attached to my screws, someone please guide me. Thank you very much.

Try this...

Tags: NI Software

Similar Questions

  • Creating tables in a nested for loop

    Hi all.

    I was stuck in this problem for quite a while now and I still don't know how to continue. Some outside the entrance would be greatly appreciated!

    I'm doing the following:

    -Take an array of numbers, to check if they are within a certain range (e.g. between 2 and 4)

    -Build two new arrays: one with all the numbers that are inside the beach and the other with the rest.

    An additional condition is that the amount and value of the range conditions will change (for example, it could be between 2 and 4 only / 2, 4 AND 6 and 7 according to the entry)

    To treat this, I created two nested for loops - one that goes on a table that contains conditions of the beach and inside that actually go and check if the values are in the range. I think I did that part successfully, but the next part is confusing to me - how to actually create the tables separated within two loops for?

    My apologies if I did not explain it well. Another method to support this problem is I want to translate following LabVIEW:

    Ranges of table / / [1 5 7 10] exodus-> This means we want to divide numbers based on those who are in (1,2) and (4.5) against those who are not

    Table of values / / [2 3 6 11 3]

    EndOperationDelegate table / / array of values within the range
    Table outValues / / Array of values out of range

    for m = 1:size (ranges)

    for n = 1:size (values)
    If (THE NUMBER IS on the INSIDE of EACH RANGE)
    EndOperationDelegate = [EndOperationDelegate NEWNUMBER]
    on the other
    outValues = [outValues NEWNUMBER]
    end

    end
    end

    Sounds easy enough, but it gets so chaotic with Labview that I don't know what to do. I have attached a reference image - insertion in the array function is not in fact add to the table, it creates a new table. How can I save that for when the nested for the ends of the loop?

    I have seen a few examples with shift registers which lie in a loop and I couldn't successfully that transfers in my block diagram.

    Any help/direction would be greatly appreciated.

    Hello!

    See the following example to understand how you can create a table in the loop For

    In your case, you also can uce conditional terminal to create a table only when then located nearby. It makes the code much cleaner that the structures of the case

    Hope this helps, if not, let me know if I can help you!

    Marcin

  • Capture of sequences of images - issues with nested for loops

    Hi all

    I've written a vi. to capture a number of images ("Image") and save these images, sent to a folder of my choice.  Each image is identified sequentially.  However, I would like to make a number of iterations ("run") of this capture sequence, such that each image file name would be "Filename (Run) _(Image_No).png", for example run 5, image 10 'Filename 5_10.png.  I tried a nested for loop for this but I have an error message 'Current asynchronous i/o Operation' (I have attached a printscreen).

    Can someone help me solve this problem?  Please find attached my vi.

    Sincere greetings and thanks,

    Miika

    Hi toto26,.

    Thank you for your response.  I solved the problem by using a sequence structure flat - file in the first image and all the treatment in the second.

    Kind regards

    Miika

  • Nested for loops error

    Hi all members of the community, I am experiencing problem with pulling the attributes of an xml I created. I use nested for loop. Please kindly help me to solve this problem...

    Thanks in advance...

    Here's the code & xml...


    import flash.events.Event;
    import flash.events.EventDispatcher;
    import flash.events. *;
    flash.net import. *;

    var myXML:XML;

    var voiceOver: String;
    var startOffset:Number;
    var slideData:Array;
    var id_cont_array:Array = new Array();
    var id_textfield_array:Array = new Array();
    var id_image_array:Array = new Array();

    var myXML_Container_Length:Number;
    var myXML_textField_Length:Number;
    var myXML_images_Length:Number;

    var loader: URLLoader = new URLLoader();
    Loader.Load (new URLRequest ("dynamic.xml"));

    loader.addEventListener (Event.COMPLETE, processXML);

    function processXML(e:Event):void
    {
    slideData = new Array();
    myXML = new XML (loader.data);

    loader.removeEventListener (Event.COMPLETE, processXML);
    loader.removeEventListener (IOErrorEvent.IO_ERROR, loadError);

    myXML = new XML (e.target.data);
    voice-over = myXML. @ voice_over;
    startOffset = myXML. @ start_offset;

    for (var i: uint = 0; i < myXML.*.length (); i ++)
    {
    trace (myXML + 'slide');
    }


    myXML_List = myXML.children ();
    myXML_Container_Length = myXML.children () .length ();
    trace (myXML_Container_Length + "is myXML_Container_Length")
    myXML_textField_Length = myXML.containerss [0] .children () .length ();
    myXML_images_Length = myXML.children () .length ();
    trace (myXML.Child ("containerss") [3]. @ id.toXMLString () + "== myXML.containerss [0].") @ id; ») ;
    trace (.textfield myXML.containerss [0] [0]. @ id + "== myXML.slide.containerss [0].") ("@ id");
    trace (myXML.containerss [0] .textfield [1]. @ id + "== myXML.slide.containerss [1].") ("@ id");
    trace (myXML.containerss [3] [0] image. @ id + "is image [0]");
    trace(myXML.containerss[0].) Children() + "== myXML.containerss [0] .children ()"); "."

    for (var j: Number = 0; j < = myXML_Container_Length; j ++)
    {
    id_cont_array.push (myXML.containerss [j]. @ id);
    trace (myXML.containerss [j]. Children () .length () + 'is j');
    myXML_textField_Length = myXML.containerss [j] .children () .length ();
    trace (myXML_textField_Length + "is myXML_textField_Length");
    for (var k: Number = 0; k < = myXML_textField_Length-1; k ++)
    {

    id_textfield_array.push (.textfield myXML.containerss [j] [k]. @ id);
    id_image_array.push (image of [k] myXML.containerss [j]. @ id);
    trace (id_textfield_array [k] + "== id_textfield_array [k] ==" + k + "--j ==" + j);
    trace ("== id_image_array" + id_image_array [k]);
    }
    trace(id_textfield_array[j]+"==id_cont_array[j]");
    }

    trace (myXML_List.length () + "= myXML_List");

    }

    function loadError(e:IOErrorEvent):void
    {

    trace ("loadError");
    }

    XML is as below...

    < drag direction = "VERTICAL" voice_over = "Slide1.mp3" start_offset = "0" margin ="" > "

    < set id = "0" direction = "HORIZONTAL" padding = "10" margin = "10" x = "10" y = "160" width = "200" height = "150" >
    < textfield id = "Text1" text = "textfieldText1" padding = "10" margin = "10" x = "10" y = "160" / >
    < image id = "img1" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "
    < textfield id = "Text2" text = "textfieldText2" padding = "10" margin = "10" x = "10" y = "160" / >
    < / define >
    < set id = "1" orientation = "HORIZONTAL" padding = "10" margin = "10" width = "200" height = "200" x = "10" y = "160" >
    < textfield id = "Text3" text = "textfieldText3" padding = "10" margin = "10" x = "10" y = "160" / >
    < image id = "img2" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "

    < / define >
    < set id = "2" orientation = "VERTICAL" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" >
    < textfield id = "Rem5" text = "textfieldText5" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" / >
    < image id = "img3" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "
    < textfield id = 'Text6"text ="textfieldText6"padding ="10"margin ="10"x ="10"y ="160"/ >
    < / define >
    < set id = "4" orientation = "VERTICAL" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" >
    < textfield id = 'Text7"text ="textfieldText7"padding ="10"margin ="10"width ="200"height ="150"x ="10"y ="160"/ >
    < image id = "img4" text = "" padding = "10" margin = "10" x = "10" y = "160" / > "
    < textfield id = "Texte8" text = "textfieldText8" padding = "10" margin = "10" width = "200" height = "150" x = "10" y = "160" / >
    < / define >
    < / slide >

    The analysis is totally false. You operate processXML() should be like this:

    function processXML(e:Event):void
    {
              slideData = new Array();
              loader.removeEventListener(Event.COMPLETE, processXML);
              loader.removeEventListener(IOErrorEvent.IO_ERROR, loadError);
              myXML = new XML(e.target.data);
              voiceOver = myXML.@voice_over;
              startOffset = myXML.@start_offset;
              myXML_Container_Length = myXML.children().length();
              var node:XMLList;
              for (var j:Number = 0; j <= myXML_Container_Length - 1; j++)
              {
                        id_cont_array.push(myXML.containerss[j].@id);
                        node = myXML.containerss[j].children();
                        myXML_textField_Length = node.length();
                        for (var k:Number = 0; k <= myXML_textField_Length - 1; k++)
                        {
                                  switch (node[k].name().toString())
                                  {
                                            case "textfield":
                                                      trace(node[k].@id);
                                                      id_textfield_array.push(node[k].@id);
                                                      break;
    
                                            case "image":
                                                      id_image_array.push(node.@id);
                                                      break;
                                  }
                        }
              }
    }
    
  • Nested while loops

    Attached is a very simple with two nested all VI in loops and two buttons on the front panel.

    1 button, when you press left the inner loop.  2 button pressed leaves the outer loop and the program must end.  I put in a probe at the end of the outer loop and of course a REAL will to the terminator when I press the 2 key, but the program does not stop.  Apparently, all inner loops must be completed prior to the outer loop can terminate.

    Obviously, someone at NEITHER took the decision to design a long time ago, but the rationale is intriguing.  If one end of the loop becomes a REAL it must end, no?

    Although the example is trivial, the problem that it illustrates is a real for me.  I want to offer a panic button stop is a vast and complex and I don't see how I can do with things as they are.

    What you see is the result of the dataflow paradigm used by LV as you said, all the code inside the loop must complete / finish before the outer loop stops.

    Providing one Stop button to stop all in one comprehensive program can be a complex task. The key issue is that EACH loop, function, sub - VI, case structure, structure of the event, the structure of sequence and so on... must stop to stop the loop.  If you have something like a file entry or a reading of GPIB instruments which take 100s of milliseconds or seconds to complete, the shutdown will take at least that long process, assuming that the tedious node was running when the judgment was issued.

    One other point: you put inside terminal 2 touch it the case of the event that responds to the key. Which ensures that the button will be read so the mechanical action works as expected.  With her out of the loop it will only play once.

    A registrant can be used to 'spread the word' when it's time to stop.  The time-out he will keep waiting forever and will also allow the other parallel inside code while loop to run during waiting for him.

    Lynn

  • Nested query loop

    I have a question I want to loop through the data and the display. The query is an inner join with a table being the order numbers and the second being more details on each order. They are joined by the order number. I want to do is loop through the data and all the details in the order number of the group. I tried many configurations of nesting, and I had no chance. That's what I'd like to see.

    Number 1
    Point 1
    Point 2
    Point 3

    Order number 2
    Point 1
    Point 2

    Order number 3
    point 1
    Point 2
    Point 3
    Point 4

    Any recommendations?


    Thank you guys! I had tried this approach, but apparently I was doing something wrong before. I had received nesting cfoutput errors and then I got lost in a mess of formatting. Thanks again for the direction.

  • Nested for loops EACH in the XML editor

    I have a xml like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <DATA_DS>
         <Line_Approver>
              <getLineNumberAssigneesResponse>
              <result>
                    <LineNumber>1</LineNumber>
                    <Assignees>One</Assignees>
               </result>
              <results>
    
                   <LineNumber>2</LineNumber>
                   <Assignees>Two</Assignees>
              </result>
    
              </getLineNumberAssigneesResponse>
         </Line_Approver>
    <DATA_DS>
         <HEADER>
         <INVOICE_ID>300100071480733</INVOICE_ID>
         <AMOUNT>1111</AMOUNT>
         <INVOICE_CURRENCY_CODE>USD</INVOICE_CURRENCY_CODE>
         <INVOICE_NUM>100</INVOICE_NUM>
         <INVOICE_DATE>2015-11-13T00:00:00.000+05:30</INVOICE_DATE>
         <PAYMENT_CURRENCY_CODE>USD</PAYMENT_CURRENCY_CODE>
         <ORG_ID>204</ORG_ID>
         
         <INVOICELINES>
                  <LINE_NUMBER>1</LINE_NUMBER><LINE_TYPE>Item</LINE_TYPE><AMOUNT>1000</AMOUNT><INVOICE_ID>zzz</INVOICE_ID><EXPENDITURE_ITEM_DATE></EXPENDITURE_ITEM_DATE>
         </INVOICELINES>
         <INVOICELINES>
              <LINE_NUMBER>2</LINE_NUMBER><LINE_TYPE>Item</LINE_TYPE><AMOUNT>111</AMOUNT><INVOICE_ID>300100071480733</INVOICE_ID><EXPENDITURE_ITEM_DATE></EXPENDITURE_ITEM_DATE>
         </INVOICELINES>
         </HEADER>
    
    <some more xml/>
    </DATA_DS>
    
    </DATA_DS>
    

    As you can see there are two results and and two invoice lines.

    I want to create a table of invoice lines for which the line number is present in the result.

    So my psudo code is as follows

    for each in result:
         assign result.linenumber to variable
         for each in InvoiceLines:
              compare the InvoiceLines.Line_number to variable:
                   if match print row.
    

    I know I won't have access to the LineNumber result with in second forloop because of the determination of the lexical scope.

    Far from assignment, I am unable to get the value of the number of the line itself.

    I tried two methods of application for with in what work force. The underside of work that uses the absolute path.

    What xpath Miss. Can I do better?

    FOR1: <?for-each:/DATA_DS/Line_Approver/getLineNumberAssigneesResponse/result?>
    
    FOR2: <?for-each:/DATA_DS/DATA_DS/HEADER/INVOICELINES?>
    

    LINE_NUMBER

    LINE_TYPE

    AMOUNT

    For 1 <? LineNumber? > 2 LINE_NUMBER

    LINE_TYPE

    AMOUNT ENDFOR1 ENDFOR2

    I think I gave enough information. Answer just in case I did not say anything clearly.

    You can do this via a simple foreach loop and the code would be

    Please see the data XML and RTF attached for your reference.

    I changed the data in XML format (I added 10 instead of 1) just to make sure that its works or not, and it works very well.

  • nested for loop in the collection

    Hi Experts,

    Collection1

    ============

    SELECT o.object_id

    LOOSE COLLECTION l_obj_info

    FROM (SELECT n.node_id, n.object_id

    N nodes

    START WITH n.node_id = 100

    N.node_id CONNECT BY PRIOR = n.parent_node_id) n

    JOIN IN-HOUSE

    objects o ON o.object_id = n.object_id

    WHERE o.object_type_id = 285;

    s Collection2

    ============

    SELECT *.

    LOOSE COLLECTION l_tab

    OF ((SELECT REGEXP_SUBSTR (i_l_text, "[^,] +', 1, NIVEAU)))

    OF THE DOUBLE

    CONNECT BY REGEXP_SUBSTR (i_l_text, "[^,] +', 1, LEVEL") IS NOT NULL));

    END;

    collection3

    ============

    SELECT o.object_id

    LOOSE COLLECTION l_fin_tab

    Of objects o JOIN ATTRIBUTES att

    ON o.object_id = att.object_id

    WHERE o.object_id = collection1.object_id

    - AND att. VALUE = collection2.val;

    Please tell me how to implement for loop in the collection3 to get the values of collection1 and s collection2.

    I tried in the way below

    CREATE or REPLACE TYPE LIST_OF_ATTRIBUTES_TYPE AS TABLE OF THE varchar2 (4000);

    /

    CREATE or REPLACE TYPE LIST_OF_OBJECT_IDS_TYPE AS TABLE OF THE number (9);

    /

    (F_get_objects_by_type_id) CREATE or REPLACE FUNCTION

    i_object_type_id in NUMBERS

    i_l_text IN VARCHAR2,

    i_scope_node_id NUMBER

    )

    RETURN list_of_object_ids_type

    AS

    CURSOR objs_info

    IS

    SELECT o.object_id

    FROM (SELECT n.node_id, n.object_id

    N nodes

    START WITH n.node_id = i_scope_node_id

    N.node_id CONNECT BY PRIOR = n.parent_node_id) n

    JOIN IN-HOUSE

    objects o ON o.object_id = n.object_id

    WHERE o.object_type_id = i_object_type_id;

    l_tab list_of_attributes_type: = list_of_attributes_type ();

    -l_obj_info list_of_object_ids_type: = list_of_object_ids_type ();

    l_fin_tab list_of_object_ids_type: = list_of_object_ids_type ();

    BEGIN

    BEGIN

    SELECT *.

    LOOSE COLLECTION l_tab

    OF ((SELECT trREGEXP_SUBSTR (i_l_text, "[^,] +', 1, NIVEAU)))

    OF THE DOUBLE

    CONNECT BY REGEXP_SUBSTR (i_l_text, "[^,] +', 1, LEVEL") IS NOT NULL));

    END;

    IF l_tab. COUNT > 0

    THEN

    BECAUSE me IN objs_info

    LOOP

    FOR j IN l_tab. FIRST... l_tab. LAST

    LOOP

    SELECT o.object_id

    LOOSE COLLECTION l_fin_tab

    O JOIN ATTRIBUTES att OBJECTS ON o.object_id =

    att.object_id

    WHERE

    att. VALUE = l_tab (j) and o.object_id = objs_info (i);

    END LOOP;

    END LOOP;

    END IF;

    RETURN l_fin_tab;

    END f_get_objects_by_type_id;

    /

    What this different problem from that of pls 00382 expression is incorrect, as they were returning a record type ?

    Please do not raise the same question several times. The answer is always the same. Your data model is seriously wrong - and that's the reason why you can't get data from it.

  • Problems with nested for loops - save images from a camera


    Dear Norbert_B,

    Thank you for your response.  I solved the problem by using a sequence structure flat - file in the first image and all the treatment in the second! Easy as pi!

    Kind regards

    Miika

  • nested for loop

    I have positioning XY with two different controllers.

    the time of execution of these two controllers are different.

    I have attached block digram to understand. In highlight mode, code works very well... but in execution mode, step there gets delayed a little and moves with X stage.

    How can I make sure movement of steps one after the other.

    Thank you

    A simple data dependency is expected to create the design.

    Lynn

  • multiple inputs and nested loop problem

    Hello world

    I'm using Labview 2009.

    I want to change the value of a variable by using the wheel or keyboard.

    So I downloaded a button and the screws of the keyboard that suits my needs of multi-rotation forum.

    These two screws are running inside a WHILE loop. Because I would be constantly updating the variable I will run my main screw that houses these two screws also looped a WHILE.

    Problem is that while loop within a while loop I couldn't run my main VI because of this problem.

    I tried in 2ways

    1 including them as an auxiliary in my main VI but as the two screws screw contains a few other variables inside of the inside while loop that LabVIEW displays error as auxiliary screws will not work

    2. I also tried to copy paste the two screws as it is in my main screw but could end up only in a lot of errors.

    How to deal with this problem of nested while loops?

    Please guide me.

    Kind regards

    Maury

    You make a mistake of data flow. The outer loop can turn only if all of the code that he has completed. The structure of the event cannot complete because inside while loop has not finished, and if inside so that the loop ends, the loop cannot turn because the structure of the event stalls. You can only go to the next iteration after all both have completed, from the mess.

    All you need to do to incorporate ALL the code inside the structure of the event. Attached, it's a simple project (LV 9.0), modify as necessary.

    See if it makes sense for you. (there are a few minor bugs probably)

  • BI Publisher, model XSL - XML - nested loops

    Hello

    I've created a report of the XML editor in Oracle e-Business Suite with the model of type XML - XSL to display the result in EXCEL.

    Nested for loops do not work for me.

    I can't access the items in the G_COST_CENTER group.

    Please help me on how to access the items in the G_COST_CENTER and groups below it.

    Here is an example of xml data:

    < FAS440 >

    < LIST_G_SETUP >

    < G_SETUP >

    < CATEGORY_FLEX_STRUCTURE > 101 < / CATEGORY_FLEX_STRUCTURE >

    < LOCATION_FLEX_STRUCTURE > 101 < / LOCATION_FLEX_STRUCTURE >

    < ASSET_KEY_FLEX_STRUCTURE > 101 < / ASSET_KEY_FLEX_STRUCTURE >

    XXXXXXX < COMPANY_NAME > < / COMPANY_NAME >

    XXXXXXXXXXX PROPERTY < BOOK_TYPE_CODE > < / BOOK_TYPE_CODE >

    < BOOK_CLASS > COMPANY < / BOOK_CLASS >

    < ACCOUNTING_FLEX_STRUCTURE > 101 < / ACCOUNTING_FLEX_STRUCTURE >

    XXXXXXXXXXX PROPERTY < DISTRIBUTION_SOURCE_BOOK > < / DISTRIBUTION_SOURCE_BOOK >

    USD < CURRENCY_CODE > < / CURRENCY_CODE >

    < LIST_G_COMPANY >

    < G_COMPANY >

    < COMP_CODE > 01 < / COMP_CODE >

    < LIST_G_ASSET_TYPE >

    < G_ASSET_TYPE >

    capitalized < ASSET_TYPE > < / ASSET_TYPE >

    < LIST_G_ACCOUNT >

    < G_ACCOUNT >

    < ACCOUNT > 12210 < / ACCOUNT >

    < LIST_G_COST_CENTER >

    < G_COST_CENTER >

    < COST_CENTER > 21122 < / COST_CENTER >

    < LIST_G_RETIREMENTS >

    < G_RETIREMENTS >

    < > 8 stuff < / stuff >

    SALE of < RET_CODE > < / RET_CODE >

    PENSION COMPLETE < TRANSACTION_TYPE_CODE > < / TRANSACTION_TYPE_CODE >

    < > 114011 ASSET_ID < / ASSET_ID >

    < ASSET_NUMBER > 114011 < / ASSET_NUMBER >

    < ASSET_NUM_DESC > 114011 - 3.26 ACRE < / ASSET_NUM_DESC >

    < DATE_PLACED_IN_SERVICE > 25 May 94 < / DATE_PLACED_IN_SERVICE >

    < DATE_RETIRED > 3 May 12 < / DATE_RETIRED >

    < COST > 32600 < / COST >

    < PNT > 32600 < / NBV >

    < PRODUCT > 27716.93 < / PRODUCT >

    < COLLECTION > 0 < / REMOVAL >

    < REVAL_RSV_RET > 0 < / REVAL_RSV_RET >

    < TRANSACTION_HEADER_ID > 608774 < / TRANSACTION_HEADER_ID >

    < CODE > < / CODE >

    < CF_CATEGORY_NAME > XXXX. XXXX. Z.00 < / CF_CATEGORY_NAME >

    < D_COST > 32,600.00 < / D_COST >

    < D_NBV > 32,600.00 < / D_NBV >

    < D_PROCEEDS > 27,716.93 < / D_PROCEEDS >

    < D_REMOVAL > 0.00 < / D_REMOVAL >

    < GAIN_LOSS > - 4883.07 < / GAIN_LOSS >

    < D_GAIN_LOSS > (4,883.07) < / D_GAIN_LOSS >

    < / G_RETIREMENTS >

    < / LIST_G_RETIREMENTS >

    < D_COST_CENTER > 21122 < / D_COST_CENTER >

    < CC_COST > 32600 < / CC_COST >

    < D_CC_COST > 32,600.00 < / D_CC_COST >

    < CC_NBV > 32600 < / CC_NBV >

    < D_CC_NBV > 32,600.00 < / D_CC_NBV >

    < CC_PROCEEDS > 27716.93 < / CC_PROCEEDS >

    < D_CC_PROCEEDS > 27,716.93 < / D_CC_PROCEEDS >

    < CC_REMOVAL > 0 < / CC_REMOVAL >

    < D_CC_REMOVAL > 0.00 < / D_CC_REMOVAL >

    < CC_GAIN_LOSS > - 4883.07 < / CC_GAIN_LOSS >

    < D_CC_GAIN_LOSS > (4,883.07) < / D_CC_GAIN_LOSS >

    < / G_COST_CENTER >

    < / LIST_G_COST_CENTER >

    < AC_COST > 32600 < / AC_COST >

    < D_AC_COST > 32,600.00 < / D_AC_COST >

    < AC_NBV > 32600 < / AC_NBV >

    < D_AC_NBV > 32,600.00 < / D_AC_NBV >

    < AC_PROCEEDS > 27716.93 < / AC_PROCEEDS >

    < D_AC_PROCEEDS > 27,716.93 < / D_AC_PROCEEDS >

    < AC_REMOVAL > 0 < / AC_REMOVAL >

    < D_AC_REMOVAL > 0.00 < / D_AC_REMOVAL >

    < AC_GAIN_LOSS > - 4883.07 < / AC_GAIN_LOSS >

    < D_AC_GAIN_LOSS > (4,883.07) < / D_AC_GAIN_LOSS >

    < / G_ACCOUNT >

    < / LIST_G_ACCOUNT >

    < / G_ASSET_TYPE >

    < / LIST_G_ASSET_TYPE >

    < / G_COMPANY >

    < / LIST_G_COMPANY >

    < / G_SETUP >

    < / LIST_G_SETUP >

    < / FAS440 >

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

    This is the XSL - XML template:

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

    <? XML version = "1.0"? >

    " < xsl: stylesheet version ="1.0"xmlns: xsl = ' http://www.w3.org/1999/XSL/transform ">

    < xsl: template match = "/" >

    <? ProgID = "Excel.Sheet mso application"? >

    < workbook xmlns = "" urn: schemas-microsoft - com:office:spreadsheet ""

    xmlns:o = "" urn: schemas-microsoft-com ' "

    xmlns: x = "" urn: schemas-microsoft-com: excel ""

    xmlns:ss = "" urn: schemas-microsoft - com:office:spreadsheet ""

    ' xmlns:html = ' http://www.w3.org/TR/REC-html40 ">

    < DocumentProperties xmlns = "urn: schemas-microsoft-com" >

    Stephanie < author >, Vishnu < / author >

    Windows user < LastAuthor > < / LastAuthor >

    < set > 2013-07-19T 19: 05:05Z < / created >

    < LastSaved > 2013-07-23T 23: 54:58Z < / LastSaved >

    < version > 12.00 < / Version >

    < / DocumentProperties >

    < ExcelWorkbook xmlns = "urn: schemas-microsoft-com: excel" >

    < WindowHeight > 6255 < / WindowHeight >

    < WindowWidth > 15135 < / WindowWidth >

    < WindowTopX > 90 < / WindowTopX >

    < WindowTopY > 120 < / WindowTopY >

    < ProtectStructure > false < / ProtectStructure >

    < ProtectWindows > false < / ProtectWindows >

    < / ExcelWorkbook >

    < styles >

    < style ss:ID = 'Default' ss:Name = 'Normal' >

    < ss:Vertical alignment = 'Bottom' / >

    < borders / >

    < ss:FontName font = "Tahoma" / >

    < Interior / >

    < NumberFormat / >

    < protection / >

    < / style >

    < style ss:ID = "s62" >

    < ss:Vertical alignment = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < / style >

    < style ss:ID = "s63" >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#C0C0C0" ss:Pattern = "Solid" / >

    < / style >

    < style ss:ID = "s64" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#C0C0C0" ss:Pattern = "Solid" / >

    < / style >

    < style ss:ID = 's65' >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < ss:Format NumberFormat = "0" / >

    < / style >

    < style ss:ID = "s66" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < / style >

    < style ss:ID = 's67' >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < NumberFormat = 'Fixed' ss:Format / >

    < / style >

    < style ss:ID = "s68" >

    < ss:FontName font = "Tahoma" family: x = "Swiss" / >

    < / style >

    < style ss:ID = "s69" >

    < ss:Vertical alignment = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    NumberFormat (< ss:Format="#,##0.00_);\(#,##0.00\)" / >

    < / style >

    < style ss:ID = "s70" >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#C0C0C0" ss:Pattern = "Solid" / >

    NumberFormat (< ss:Format="#,##0.00_);\(#,##0.00\)" / >

    < / style >

    < style ss:ID = "s71" >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    NumberFormat (< ss:Format="#,##0.00_);\(#,##0.00\)" / >

    < / style >

    < style ss:ID = "s72" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#FFFF00" ss:Pattern = "Solid" / >

    < / style >

    < style ss:ID = "s73" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "# 92 050" ss:Pattern = "Solid" / >

    < / style >

    < / style >

    < name >

    < ss:Name NamedRange = "Untitled" ss:RefersTo = "" AssetRetirement =!" R1C1:R90C14 "/ >"

    < / name >

    < worksheet ss:Name = "AssetRetirement" >

    < name >

    < ss:Name NamedRange = "Print_Area" ss:RefersTo = "" AssetRetirement =!" R1C1:R90C14 "/ >"

    < ss:Name NamedRange = "Print_Titles" ss:RefersTo = "" AssetRetirement =!" R1 "/ >"

    < / name >

    < table ss:ExpandedColumnCount = ss:ExpandedRowCount "14" = "90" x: FullColumns = "1".

    x: FullRows = "1" >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "66" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "84" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "70.5" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "165" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "136,5" / >

    < ss:StyleID column = "s62" ss:Width = "126" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "74.25" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "61.5" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "72" / >

    < ss:StyleID column = 's71' ss:AutoFitWidth = '0' ss:Width = "72" / >

    < ss:StyleID column = "s69' ss:AutoFitWidth = '0' ss:Width = '93' / >

    < ss:StyleID column = "s69' ss:AutoFitWidth = '0' ss:Width ="87.75"/ >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "72" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "13.5" / >

    < line ss:AutoFitHeight = '0' ss:Height = "13.6875" >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > ACCT < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > CSCTR < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > ASSET TYPE < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > No ASSET / Description < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s72" > < data ss:Type = "String" > CLASS < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > Date < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > Ret Date < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > retirement cost < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > proceeds of sale < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < cells ss:StyleID = "s70" > < data ss:Type = "String" > disposal costs < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < cells ss:StyleID = "s70" > < data ss:Type = "String" > Gain/loss < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < cells ss:StyleID = "s70" > < data ss:Type = "String" > NBV ret'd < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s73" > < data ss:Type = "String" > retirement TP < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s73" > < data ss:Type = "String" > T < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < / row >

    "< xsl: for each select=".//G_ASSET_TYPE ">

    "< xsl: for each select=".//G_ACCOUNT ">

    < line ss:AutoFitHeight = '0' ss:Height = "13.6875" >

    < cell ss:StyleID = 's65' > < data ss:Type = "String" > < xsl: value-of select = "ACCOUNT" / > < / data > < NamedCell

    SS:name = "no title" / > < NamedCell ss:Name = "Print_Area" / > < / cell >

    < cell ss:StyleID = 's65' > < data ss:Type = "String" > < xsl: value-of select = "ancestor::G_ASSET_TYPE/ASSET_TYPE" / > < / data > < NamedCell

    SS:name = "no title" / > < NamedCell ss:Name = "Print_Area" / > < / cell >

    < / row >

    "< xsl: for each select="./G_ACCOUNT/G_COST_CENTER ">

    < line ss:AutoFitHeight = '0' ss:Height = "13.6875" >

    < ss:StyleID of cells = 's65' > < data ss:Type = "String" > < xsl: value-of select = "COST_CENTER" / > < / data > < NamedCell

    SS:name = "no title" / > < NamedCell ss:Name = "Print_Area" / > < / cell >

    < / row >

    < / xsl: foreach >

    < / xsl: foreach >

    < / xsl: foreach >

    < /table >

    < WorksheetOptions xmlns = "urn: schemas-microsoft-com: excel" >

    < PAGESETUP >

    < x: Orientation presentation = "Landscape" / >

    < PageMargins x: low = "0.5" x: left = x: Right "0.5" = "0.5" x: Top = "0.5" / >

    < / PageSetup >

    < print >

    < ValidPrinterInfo / >

    < > 600 HorizontalResolution < / HorizontalResolution >

    < > 600 VerticalResolution < / VerticalResolution >

    < grid / >

    < / print >

    < selected / >

    < LeftColumnVisible > 4 < / LeftColumnVisible >

    < FreezePanes / >

    < FrozenNoSplit / >

    < SplitHorizontal > 1 < / SplitHorizontal >

    < TopRowBottomPane > 1 < / TopRowBottomPane >

    < ActivePane > 2 < / ActivePane >

    < part >

    part of <>

    < number > 3 < / NB >

    < / component >

    part of <>

    < number > 2 < / NB >

    < ActiveRow > 39 < / ActiveRow >

    < ActiveCol > 4 < / ActiveCol >

    < / component >

    < / components >

    < ProtectObjects > False < / ProtectObjects >

    < ProtectScenarios > False < / ProtectScenarios >

    < / WorksheetOptions >

    < / worksheet >

    < / workbook >

    < / xsl: template >

    < / xsl: stylesheet >

    Thank you

    Yogi

    Thank you very much for your answers.

    I made the following changes in my xsl and it started working.

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

    Before the change:

    x: FullRows = "1" >

    AfterModification:

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

    Header:


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


    "" http://www.w3.org/1999/XSL/Transform"xmlns: msxsl =" "urn: schemas-microsoft-com: XSLT" xmlns: user = "urn: my-scripts" xmlns:o = "" urn: schemas-microsoft-com "xmlns: x =" urn: schemas-microsoft-com: excel "xmlns:ss =" "urn: schemas-microsoft - com:office:spreadsheet" > "

    http://www.w3.org/TR/REC-html40">

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

    Nested for loops:


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

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

    Thank you

    Yogi

  • Not the same State (<>) of nested loops

    Hi gurus and Experts.

    I need advice/suggestion on the query plan below. This plan is go for Nested Loops, am not able to force to go to the hash join or Merge Join with tips.
    Can someone help me please what is happening, and it is possible to escape from nested loops.
    I don't want to take the help of index for this scenario.

    D/B: Oracle 11 g 2,
    create table parent as
    with main as (select --+materialize 
    round(dbms_random.value(low=>1,high=>100)) SAMPLE_ID,dbms_random.string(opt=>'U',len=>10) SAMPLE_TEXT,rownum id from dual
    connect by level<=100000)
    select sample_id,rpad(sample_text,10,'*') padding,sample_text,id from main order by id
    create table child as
    with main as (select --+materialize 
    round(dbms_random.value(low=>1,high=>100)) SAMPLE_ID,dbms_random.string(opt=>'U',len=>10) SAMPLE_TEXT,rownum id from dual
    connect by level<=10000)
    select sample_id,rpad(sample_text,10,'*') padding,sample_text,id from main order by id
    select --+use_hash(p c)
    p.id from parent p,child c where p.id<>c.id
    Plan
    SELECT STATEMENT  ALL_ROWSCost: 973,076  Bytes: 8,999,910,000  Cardinality: 999,990,000            
         3 NESTED LOOPS  Cost: 973,076  Bytes: 8,999,910,000  Cardinality: 999,990,000       
              1 TABLE ACCESS FULL TABLE APP.CHILD Cost: 12  Bytes: 40,000  Cardinality: 10,000  
              2 TABLE ACCESS FULL TABLE APP.PARENT Cost: 97  Bytes: 499,995  Cardinality: 99,999  

    902629 wrote:

    I need advice/suggestion on the query plan below. This plan is go for Nested Loops, am not able to force to go to the hash join or Merge Join with tips.

    You will not be able to use a hash join

    http://docs.Oracle.com/CD/E11882_01/server.112/e16638/optimops.htm#i36043

    >
    The optimizer uses hash join to join two tables if they are added by using an equijoin and if one of the following conditions are met:
    >

    You may be able to force a sort merge join, it does not mention if different will work, I don't see how it would be

    http://docs.Oracle.com/CD/E11882_01/server.112/e16638/optimops.htm#i49183

    >
    Sort merge joins are useful when the join condition between two tables is a condition of inequality such as <,> <=,>, or > =. Fusion type joints are more successful than joins loops nested for large sets of data. You cannot use hash joins unless there is a condition of equality.
    >

    I can't imagine this treatment an antijoin more efficiently than nested If loops.

  • Session of visa driver looping issue

    Hello

    This is the first time I ever install a loop with a session driver visa in it. I'm trying to recover a table of data flow. The indices of the table correspond to physical locations (x, y) on this point that I measure the flow. This is why I need the data to be read as a 5 x 7 of the stream array. The matrix 5 x 7 is collected 3 times (at 3 different heights z). However, I can't understand why I make three 6 x 7 matrices instead of a 5 x 7. I can't tell if it's my registry setup shift, where my visa session is implemented, etc. I just can't understand it.

    Could someone looking at my code attached (it's quite simple, just 3 nested for loops with the session of visa inside, and that data are sent on to 3 matrices, which is then stripped more which can be ignored)

    Thank you very much

    Chelsea

    First of all, I don't see a point in all the structures of the sequence.  What they do is create clutter.

    Secondly, why you add the second to the last results to results together?  Here comes your additional index.  Get rid of this shift register and table construction.

  • For indexing loop (tables)

    Hello and thanks for reading.

    I have a problem that requires me to do a lot of manipulations with the berries, and I am doing this in a series of nested for loops. I'll cut straight to my question.

    I initialize an array 0 in several user-defined columns. I run a loop for the number of times user, generating a random value to each iteration defined. If I activate the automatic indexing, I use the subset of table replace outside the loop and it works very well.

    Here's my problem. If I turn off the automatic indexing, and son of the [i] block to the index on the subset of table replace, now all of a sudden all I get is a random value, and it is always in the last slot in the table.

    I was pulling my hair out on this problem. I looked at the forums, I looked at the example problems, I don't know WHY it does this, but I have TO be able to use the loop counter to replace the elements in the array. I'll lay 3 loops, and I'm not quite (familiar) uncomfortable with the way the auto-indexation feature chooses value auto-index to be able to think through the problem.

    I wrote the program in C in my head in about 10 minutes, but this automatic indexing thing is KILLING me and I have no idea how import C in LabView without writing a dll, which I don't know how do either.

    Please let me know how I can get the loop For to browse a table without using automatic indexing. Yet once again, I have no idea why he is just posting a value in the last slot of the table.

    Thanks a lot for all the replies.

    I know what it is.  I have no LV 2010 here at installed work, so I have to rely on my memory and see the code.

    You use replace table subset.  With lit autoindexing, you create a table 1 d of random numbers which is be the same length as your table due to the terminal N being associated with the length of the array.  If you end up replacing the dimension table 1 d in its entirety in a single shot with the new data starting with element 0.  (For smile, associate a smaller number to Terminal N and you will see that some of your table 1 d is replaced).

    The way I showed you replace 1 data at a time, and the first iteration is item 0, the element following 1...

Maybe you are looking for

  • Hello.. my Tablet already stuck...

    Hello.. I want to ask... where I can download the Stock Rom from the factory for the A8 A5500 model... Give me this link... Thanks guys...

  • Why then watch videos I can't full screen?

    When I'm posting videos online ex: Watch, I can't get the full screen.  I get a blank white screen but still get sound.

  • in windows xp, can I download one bone over another and have it overwrite the first?

    I just got a new operating system on my laptop.  He went crazy on me and I decided to download entire xp again thiinking the second would replace the first and it would be just as it was when I got the first set os on just a week before.  now it does

  • How can I keep trendmicro automatically open Explorer 8?

    If I have my computer on standby trendmicro automatically opens my internet explore or if I'm a display of a Web page it opens a new page for his advertisement for spyware.  I recognized him as a site restricted on my Avg settings.

  • bad audio quality

    Hi I just bought laptop HP Pavilion R007TX 15. It comes with 4 processor 4210 gen with 4 GB of ram 2 gb nvedia graphics 1 TB of hard drive with BACK with realtek hd audio technology. I installed win 8.1 and therefore installed all the drivers from th