Nested IPE (In Place Element) usage when accessing Cluster/Array data via DVR

I am sharing data across several VIs and loops via a DVR, and accessing the data via a DVR IPE. The data is a cluster of arrays. The diagram below (VI attached) illustrates the structures invloved, but not the structure of the application.
(The diagram above does not include initialization of the arrays, as it is intended only to illustrate the Cluster1 data type. Array lengths could be 100.)
The DVR (DVR1) is passed to multiple VIs of the application at startup.
Each VI executes loops that either read or write particular elements of each array (fArray1 or fArray2).
I believe the DVR IPE (B1-DVR) provides blocking so that only one task can modify the data (Cluster1) at any time.
Case 1 illustrates how I currently WRITE to array elements. The outer IPE (block B1) is rolled into a VI (not shown) that takes DVR1, Index, and Value as inputs.
Cases 2 - 4 illustrate 3 additional methods that remove one or both of the inner IPEs (B2-Cluster and B3-Array).
Case 2: IPE B3 (Array Index/Replace Elements) is replaced with a non-IPE 'Replace Array Subset'.'
Case 3: IPE B2 (Unbundle / Bundle Elemnts)' is replaced with a non-IPE cluster 'Unbundle'/'Bundle'.
Case 4: removes both B2 and B3.
I implemented case 1 a long time ago.  When I had to do the same thing again recently, I did case 4.  When I stumbled across my earlier implementation, I was a bit suprised
Which of the 4 cases should take the least time (or resources) to execute? I think case 4 has as few array allocations as any of the other 3.
The attached image did not capture the Buffer Allocation marks, so I marked the ones that differed with a red "B".
I am only interested in differences in how the arrays are handled, so I see no signioficant differences.
Is this one of those cases where LV doesn't need my help?
Incidently, I recently wrote a small app with shared data and decided to try FGVs to share array data.  For small arrays, 10^7 iterations, and an FGV based array-element read followed by a element write, the FGV was faster.  1.2us per read/write for FGV vs 3us per r/w for an DVR/IPE based read/write (like above).
Peter
LV 2011 SP1, Windows 7 64-Bit
Attachments:
IPE.vi ‏9 KB

Option 1 is a definite no and as far as I know it has been NI's explicit intention to steer clear from it. I believe there's an idea in the IE which asks for this.
I agree that option 2 makes sense, but I don't think it should be something the user specifies. Either LV can detect it automatically or it can't, but I doubt NI would let you have an option which creates the possibility for this kind of bug.
I'm not sure, but the mark as modifier option on the IPES might be the option you're looking for. I know that it exists and I know very roughly what it does, but the documentation for it is very limited and I never actually played around with it, as usually I don't need these kinds of optimizations.
You may well be right that a new option on the IPES is desirable and you should probably add it to the idea exchange.
As for NIWeek, I'm not going this year, so I have no idea what kinds of sessions are around, but it's a great place to find people who know what they're talking about and ask them about it directly. Certain people in LV R&D would probably be ideal for this and if you ask relevant people, you might even get their names. I'm sure buying them a beer would also help to loosen their tounges. If you ask me, this type of interaction is the main value of the conference, not the sessions themselves.
Try to take over the world!

Similar Messages

  • Can Business Objects Web Intelligency reports access NearLine Storage data Via BW Bex Query

    Hi Gurus,
    I am aware BEX queries can access NearLine Storage data for reporting but can Business Objects Web Intelligency reports access NearLine Storage data Via BICS connection ( Bex Query as a Source).
    Thanks,
    Shak.

    I would recommend to let your SAP Basis guys do a security trace on the SAP BW side and see if some authorization check for the user fails when trying to fetch data over the universe.
    Regards,
    Stratos

  • Issue when accessing standard LM transactions via ITS

    Hi,
    We are implementing WM using ITS Mobile.
    We have developed certain custom screens and also used standard transactions such as LM02 and LM04.We have created  a internet service for transaction LM01 and published all our custom and standard screens within the service.
    When testing the transactions in R/3 using LM01 transaction..there were no issue...
    But when testing the same in ITS....once we enter into a standard transaction like LM02(By clicking the corresponding menu entry) and click on Back button...it must bring me back to my menu( transaction LM01)...instead...my ITS session gets logged off...displaying message...'You have been logged off from SAP NetWeaver Application Server'.
    We are facing the same issue when we try to access standard LM transactions via ITS...
    I tried to analyze by debugging from ITS....but the flow of R/3 and ITS remains the same...
    These are my service parameters..
    ~THEME     99
    ~SINGLETRANSACTION     1
    ~ITSMOBILE     1
    ~TRANSACTION          LM01
    ~SOURCES     ZWM_MENU,itsmobile
    ~GENERATEDYNPRO     1
    ~POPUPS     1
    Did any of you face a similar kind of issue when accessing standard LM transactions in ITS ?
    Kindly Suggest.
    Regards,
    Thyagu.
    Edited by: Thyagu Natarajan on Jan 25, 2011 1:00 PM

    Hello,
    I am also trying to implement WM using ISTMobile, but i have a little problem... when i am in my local network the service works and calls the page in the browser, but when i am in other network it gives me "Could not connect to remote server" (off course).
    I undertand that i can´t access my server through other networks...  but can anyone tell me if i it is possible to access SAP ITSMobile transactions through the internet?? Is the solution create a VPN network to my local network or something like that?
    Thanks a lot.

  • How to make waaveform chart cmpatible to access cluster of data

    I am new to LV.. and the concept of Clusters..
    I have one sample program of two channel oscilloscope..
    The waveform control is having pink border...but when I am trying to do same thing..my control is coming with orange border..
    What property do I need to change to make my waveform control  compatible to a access cluster of input signals.

    The color of a wire/control/indicator is indicative of the data type.
    The pink color you are seeing means that your data is in a cluster.
    The orange color you see means your control is either double or single precision float.
    A cluster of data can be sent to an XY graph, but not a waveform chart/graph.
    To use a cluster for an XY graph, you should have a 1D array of X data clustered with a 1D array of Y data.
    I'm assuming this is not what your cluster is right now.
    You probably have a cluster with both channels of data from your oscilloscope.
    Use the 'unbundle' function to extract both arrays of data.
    Then build an array of each of the two 1D arrays. Pass this newly created 2D array to a waveform chart, and you should be all set.
    Cory K

  • Error message when accessing Cluster Manager (Windows Server 2012-based) console from a Windows 8 system

    Hi all;
    Please look at the following figures:
    Any ideas?
    Thanks
    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

    Hi,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thanks for your understanding and support.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to avoid multiple users accessing same test data via parameterization in LR??

    i am using LR11.5, i have the following test data:
    TestData
    1
    2
    3
    4
    5
    when i run this script from Controller with 3 users LR picks it as user1->1, user2->1, user3->1
    How do i achieve this case: user1->1, user2->2, user3->3 ??
    Any help would be great.

    I have a related question. i created 2 websites/domains then i went to users and created 2 seperate "network" users then i went to ftp and selected each website and added only user A to site A and user B to site B. what's weird is that when i try to ftp using either of the users it seems to land on the same site. i looked at shared security for the folders and it only shows user a on site a folder and user b on site b folders. am i doing somehitng wrong or is this how it works in mountain lion server? i just want to give the domain owner ftp access so they can manage their files and only thier files. i also had to turn on open directory so that it would not create a local user but a network user. do i need to turn that off and just deal with having a bunch of local users as ftp user? i want to host multiple websites on the server and NO users remote on to server besides ftp.
    edit 1: i only have 1 IP running on the server which i don't think it has any affect on this but thought i mention it :-)
    edit 2: i just noticed one more thing that may help. i used filezilla to remote in using both users, one at a time. it seems to allow both users in but then it shows same directories. i then created a file using the one that was not supposed to have acces and it never sows up. but if i remote desktop to server i can see the new file in the correct folder. so it may have something to d o with the directory listing.

  • Logon failed when connecting to XML data source over HTTP

    I am trying to create a report using the standard report creation wizard:
    1) new, standard report
    2) create new connection
    3) xml and web services
    4) xml data source
    When using the sample from the SAP site, it works fine:
    http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml
    I have an HTTP source that generates XML. I have a schema that describes this XML. If I save the XML to a local file it works fine as a data source with the schema. However, when I try to access the same data via HTTP, I get the following error:
    Logon failed.
    Details: Cannot open file
    Server returned HTTP response code: 401 for URL: http://localhost:8004/report.xqy?Validate%20XML=0&Use%20WS-Security%20Config%20File=&WS-Security%20File%20Location
    However, if I enter that URL in a browser it works fine. And even if I disable security on the HTTP source, it produces the same error.
    Does the URL for the HTTP data source have to conform to some specific pattern? For example, must the URL end in .xml?
    Kelly

    Sorry Brian,
    This is a public forum, if no one can help you do have the option to purchase a support case:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
    Thank you
    Don

  • "logon failed" error when connecting to XML data source

    I have an HTTP source that generates XML. I have a schema that describes this XML. If I save the XML to a local file it works fine as a data source with the schema. However, when I try to access the same data via HTTP, I get the following error:
    Logon failed.
    Details: Cannot open file
    Server returned HTTP response code: 401 for URL: http://localhost:8004/report.xqy?Validate%20XML=0&Use%20WS-Security%20Config%20File=&WS-Security%20File%20Location
    However, if I enter that URL in a browser it works fine. And even if I disable security on the HTTP source, it produces the same error.
    I have tried a local HTTP source as well as the same source running on Amazon EC2.
    Any ideas?

    Thanks for the help.
    I am new to crystal reports, so I do not understand your suggestion. Both of those points look like they are related to Adobe Flash.
    I am trying to create a report using the standard report creation wizard:
    1) new, standard report
    2) create  new connection
    3) xml and web services
    4) xml data source
    When using the sample from the SAP site, it works fine:
    http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml
    When connecting to my source from a browser, it works fine. When using my source as a local document instead of over http it works fine. It is only when connecting to my source over http that I get the failed logon error.
    Kelly

  • BAPIs / Function Modules to access org. structure data?

    Hi,
    I want to integrate SAP org. structure with external BPM system.
    anybody knows how to access org. structure data via RFC or web services?
    Thanks in advance.

    The purchasing org and purchasing grp can be found in T024E and T024 table.
    Regards
    Anurag

  • Placement and creation of a dynamin array

    I have a report that returns between 100-200 records.
    Sorted by @name+date
    It is only 3 data columns.
    Name -  allocated -  date
    What i want to do is create a 4th column which is the
    calculated by "current allocated" - "previous allocated"
    i have this working with a formula that uses PREVIOUS/NEXT
    However i am unable to total/summary this formula or even
    see it(see Summarize a formula which has Next/Previous)
    so what i want to do is create a dynamic array for each column.
    Name - allocated - date
    How or where do i place the formula that holds the array data ?
    thanks

    Hi John,
    I'm not sure why the gtotal gets zeroed on each page; it should not. Is this column in the details section?
    Here's something you could try with arrays as well:
    1) Create this formula and place it in the section which holds the 4th column:
    whileprintingrecords;
    numbervar array arr;
    numbervar i := recordnumber;
    redim preserve arr<i>;
    arr<i> := {Curr_Prev};
    2) Create another formula and place this on the report footer:
    whileprintingrecords;
    numbervar array arr;
    numbervar result;
    numbervar j;
    for j := 1 to ubound(arr) step 1 do
       result := result + arr[j]
    result;
    Hope this helps!
    -Abhilash

  • Usage Tracking - Access problem when Authentication Mode = Windows

    Hi Everyone,
    I´m working on UPK Usage Tracking configuration, in order to provide the finished training material.
    1) In Server01 (on Window Server 2003) the UPK Usage Tracking is installed
    2) In Server02 (also on Windows Server 2003) the Usage Tracking database is installed
    3) By accessing the configuration file (http://Server01/ODSTrack/configuration/setup.aspx) on Server01,I setup the Authentication Mode = Forms
    Note: The rest of the configurations were done.
    4) Once the configuration from step 3 is done, I execute the traning material (on Server01) from another node of the windows network
    and as a result I´m able to perform it.
    5) I access the Statistc data on Server01 by accessing the file (http://Server01/ODSTrack/admin/default.aspx)and I´m also able to see the results.
    6) When I execute the step 3 but with Authentication Mode = Windows, and including the GROUP name (windows group specially created for this goal where my user is included),
    - I still have access to the training material (step 4)
    - I have NO aceess to the statistics data any more (step 5) and the following message is display
    "You do not have permission to access this page. Please contact your Usage Tracking Server Administrator to update your permissions. "
    I don´t know what else I can do, and I wonder if some other configurations need to be done at windows network and/or explorer lever or any other.
    Any help would be appreciated.
    Best Regards//
    Rubén Zamudio

    Hi All,
    This problem was solved by reconfiguring Usage Tracking in the authentication method (was anonymous and the solution was Windows integrated).
    It is important to count on people from your organization working on Networks with some knowledge in IIS.
    Best Regards
    Ruben

  • Photoshop Elements Organizer quit unexpectly when accessing photos.

    Why does photoshop elements organizer quit when accessing photos?

    Try selecting the thumbnails (Shift+Click) or (Ctrl+A) to select all, then click on the top menu
    Edit >Update Thumbnail For Selected Items
    If that doesn’t work close Elements and delete the thumbnail cache which sometime becomes corrupted. Navigate to:
    C:\ProgramData\Adobe\Elements Organizer\Catalogs\<Catalog name>
    Inside the MyCatalog folder (or whatever name you gave your catalog) you should find a CACHE file:
    thumb.5.cache
    After deleting that file restart the elements Organizer and wait whilst it regenerates thumbnails.
    -Harshit yadav

  • Error 1009 when accessing webservice elements

    I'm learning flex and Flash Builder 4.6 and doing a small example project.
    I've created a mobile app test using a web service. I got the web service to work, creating xml dataset. I can get the flex code to access the web service and read the file. That works so far. The code reads the whole xml file from the web service and presents it. What I don't quite see is how to read only the elements. When I specify the .LastResult.element.element I get Error #1009: Cannot access a property or method of a null object reference. during runtime.
    I can post the  webservice xml result if that helps. Thanks for any insights.
    Here's the code
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:mx="library://ns.adobe.com/flex/mx"
            creationComplete="view1_creationCompleteHandler(event)"
            xmlns:service1="services.service1.*"
            xmlns:uws_lookups="services.uws_lookups.*"
            title="HomeView">
        <fx:Script>
            <![CDATA[
                import mx.rpc.soap.WebService;
                import mx.collections.ArrayCollection;
                import mx.rpc.AsyncResponder;
                import mx.collections.XMLListCollection;
                import mx.events.FlexEvent;
                import mx.rpc.events.ResultEvent;       
                import spark.events.IndexChangeEvent;
                import spark.events.TextOperationEvent;
            ]]>
        </fx:Script>
        <fx:Declarations>
            <s:WebService
                id="SampleDBwebserviceCS"
                wsdl="http://localhost:57074/Service1.asmx?WSDL"
                showBusyCursor="true" 
                useProxy= "false"
                makeObjectsBindable="true">
                <s:operation  name="Getmember" resultFormat="xml">
                </s:operation>
            </s:WebService>
            <s:CallResponder id="GetmemberResult"/>
            <service1:Service1 id="service1"/>
        </fx:Declarations>
        <s:VGroup width="60%" height="60%" color="#10851E" fontFamily="Arial" fontSize="10"
                  fontWeight="normal" horizontalAlign="center" verticalAlign="middle">    
            <s:TextArea id="lblResult" x="2" y="0" width="188" height="234"
                        creationComplete="view1_creationCompleteHandler(event)"
                        text="{GetmemberResult.lastResult}"> 
            </s:TextArea>
            <!-- Returns the whole xml result - all fields  all xml definitions -->
            <!-- Want to return GetmemberResult.lastResult.Sales.FirstName -->
            <!-- however this causes a 1009 error on Sales-->
            <s:Button
                label="Get Data"
                click="SampleDBwebserviceCS.Getmember.send(); lblResult.text = SampleDBwebserviceCS.Getmember.lastResult"
                x="10"
                y="568">
            </s:Button>   
        </s:VGroup>
    </s:View>
    1009 error when I insert this property in the <s:Button   tag: 
    click="SampleDBwebserviceCS.Getmember.send(); lblResult.text = SampleDBwebserviceCS.Getmember.lastResult.Sales.FirstName"
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at views::SampleSQLHomeView/___SampleSQLHomeView_Button1_click()[C:\Users\phillip\Adobe Flash Builder 4.6\SampleSQL\src\views\SampleSQLHomeView.mxml:121]

    I'd have to see the xml to say what, but 1009 is what it says - a null reference has no properties, it is null.
    Try tracing out SampleWebServiceCS.GetMember and you'll quickly see where along your .element.element path you have an error.
    (BTW, I've not used s:Operation before, but is your syntax correct?)
    G

  • Crash when use indexe array with in place element structure

    Hello !
    I have a problem with in place element structure. I want index a waveform array (16 elements) and when i execute or save that labview close....
    I dont have problem with waveform array 15 elements or less, but i need index 16 elements...
    Thanks for your help !!!
    Solved!
    Go to Solution.
    Attachments:
    Test.PNG ‏8 KB

    I give you my code but it work because i used a waveform array with only 15 elements. I can't save or execute with 16 elements...
    So add it (like picture Test.png) and you will see.
    Thank you
    Attachments:
    Test.vi ‏25 KB

  • Why do elements move when i place them and look at the preview the are not in the right spot

    I cant get elements logo's and photo's to stay in place the are in a good spot when i place them bud when i look at the preview the suddenly moved 60 or more pixels from there spot.

    And the url http://ushabhalla.businesscatalyst.com
    Hope you can help me .
    Kind regards Arno

Maybe you are looking for

  • Error whilw creating a purchase order

    i am getting the error while creating a po like"you have no authorisation for a purchase order referencing a requisition". please help me to solve this issue Regards

  • Accessing a specific tab and/or region via an URL ?

    Is there a way to change the tab of a page using an URL ? I have the same question concerning the regions of a page (if so it would be working like a frameset) ?My situtation: I have a HTML Portlet containing a custom Menu using Javascript, and I wan

  • I am looking for a way to use a form as a review stamp.

    I have created a form for a shop drawing "stamp". I have then created a custom stamp using the form. the form is attached. The problem is when I insert the "stamp" in a document, the form items are no longer accessible or addressavle. Is there a solu

  • Noutbook problems

    Good Evening! I am here for the first time and do not know who to contact with a problem. I have a laptop HP ProBook4530s series bought two months ago. Appearing problem with the program for recording DVD, first on her sound disappeared then the comp

  • Up Load From I Pod Nano to computer

    Is it possible to upload the songs on my Nano to the I Pod Library on my computer?