Access Array Elements by Arrays Reference

Hi there,
I'm currently working on a vi that writes clusters as recordsets into
specific tables in a database.
Due to this I have a problem filling an array of clusters equal to the
recordset structure of
a table. I wonder if it might be possible to access each element of an
array by using the arrays
reference instead of a local variable. At the moment I couldn't find any
properly working method for
that. Is anybody able to giv me some advice or hint?
Thanks a lot!
Sebastian Dau

Sebastian; Be careful about thinking that you have solved your problem because a technique works--or appears to work. The method you are talking about uses excessive resources, is slow and inefficient and is an open source for race conditions. Right now the thing seems to work, what happens when you have other code executing at the same time, accessing the same data? Or say you install the code on a computer that's faster--or slower--than the one you're using now. Will it still work? If not will you be able to figure out why it suddenly stops working? Or why it only seems to work on certain computers? In terms of performance, you always have to go for the best performance you can because you never know how you will want to use the code in
the future. In other words, you use this VI in one place and you can't notice the performance difference. But what happens when you use this VI in a 100 places in your code? Will the performance loss still be unnoticeable? Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Efficiency when accessing arrays

    I would like to access every element of a small 1D array (10 elements) and perform different operations on each element.  Is it more efficient to use an Index Array for every element or to change the array to a cluster and unbundle the cluster. If both of these sound like bad methods to you, what would be the best way of doing this?
    Thanks

    Another possibility would be to use an autoindexing FOR loop. Place a case structure inside and wire the case terminal to [i]. Create a case for each of the "different" operations and assign each to the desired indices.
    Please give a more specific example of what you actually need to do. I am sure there is a simple solution.
    If course the question is how different are the operations? If the are "similar" (e.g. multiply vs. divide), you can operate on the array directly. For example if you have an array [1,2,3,4] and want to multiply the first two elements by 100 and divide the last two elements by 2, you could just multiply the array with an array constant of [100, 100, 0.5, 0.5].
    Converting an array to a cluster just to get the elements is very silly and will make you eligible for an honorary Rube Goldberg award . Why jump through flaming hoops just to get array elements?? All you need is to resize "index array" to give you 10 terminals. If you want the elements in order starting with element 0 you don't even need to wire any indices.
    (see also http://forums.ni.com/ni/board/message?board.id=170&message.id=242977#M242977)
    Message Edited by altenbach on 05-27-2007 08:56 AM
    LabVIEW Champion . Do more with less code and in less time .

  • How to access XML elements by name in Extendscript??

    I'm almost done the script that I've been working on, but something has been nagging me since I started. When I did start, I looked at the JS Tools Guide CS5 that comes with the extendscript ide to check how to access XML elements, children, attributes etc. It says this:
    The XML object represents an XML element node in an XML tree. The topmost XML object for an XML file
    represents the root node. It acts as a list, which contains additional XML objects for each element. These in
    turn contain XML objects for their own member elements, and so on.
    The child elements of an element tree are available as properties of the XML object for the parent. The
    name of the property corresponds to the name of the element. Each property contains an array of XML
    objects, each of which represents one element of the named type.
    So basically it converts the XML into JSON. And you can access the properties like so:
    <book category="COOKING">
         <title lang="en">The Boston Cooking-School Cookbook</title>
         <author>Fannie Merrit Farmer</author>
         <year>1896</year>
         <price>49.99</price>
    </book>
    The Javascript statement bookstoreXML.book; returns the entire list of books.
    The statement bookstoreXML.book[0]; returns the XML object for the first book.
    The statement bookstoreXML.book[0].author; returns all authors of the first book.
    A couple pages down it talks about Retrieving contained elements using children(), elements(), descendants().
    So now I look through the XML Object properties and I see that I can use:
    xmlObj.child (which) which A String, the element name, or a Number, a 0-based index into this node’s child array.
    or
    xmlObj.descendants ([name])
    name Optional. A String, the element name to match. If not provided, matches all
    elements.
    or
    xmlObj.elements (name);
    name Optional. A String, the element name to match. If not provided, matches all
    elements.
    This is an excerpt of an XML I was working with:
    <ROW xmlns="http://www.filemaker.com/fmpdsoresult"
         MODID="16"
         RECORDID="11128">
       <Sign_Type>251.dr</Sign_Type>
       <fm:Location xmlns:fm="http://www.filemaker.com/fmpdsoresult" xmlns="">5-5024</fm:Location>
       <Line1>Zone
    Floor
    3
    Patient Rooms
    R532 - R436 even
    Patient Rooms
    R522 - R446 even
    Xavier Elevators
    Zone
    Patient Rooms
    R537 - 5757 odd
    Main Elevators
    Zone</Line1>
    </ROW>
    Extendscript will not give me an anything when I try to access elements by name. Instead I have to access by index, which works, but I'd rather search for names!
    Actually the console log returns: <![CDATA[]]>
    What am I doing wrong!?

    First, those E4X XML objects are definitely no JSON (plain data) - they have a multitude of methods, even for tasks that would easily be implemented as property (e.g. the length() function), and they also bind xml element and attribute names onto the objects, allowing to target a multitude of XML nodes with a single statement. Or did you mean your script with that "it"?
    Anyway, as you found out the ExtendScript XML object handles namespaces mostly by hiding them from you.
    You could play around with global namespace settings, see the JavaScript tools guide.
    You could also explicitly specify a namespace. This works for me:
    $.writeln(myXML["fm:Location"]);
    For simple use I had most success with a brute force approach that just strips the namespaces.
    function removeAllNamespace(xml)
              var ns =new Namespace();
              var d=xml.descendants();
              for (var i=0;i<d.length();i++)
        d[i].setNamespace(ns);

  • No reference found in element, incorrect attachment reference

    Hi All,
    I am getting this error. While invoking a webservice.
    That web service require me to send using SOAP with Attachments .
    the element is declared like this in wsdl
    <xsd:element name="doc" nillable="true" type="xsd:base64Binary"/>
    I am using
    <from expression="bpws:getVariableData('ReadPriceFeed_Read_InputVariable','AmazonEnvelope')"/>
    <to variable="InvokeAmazon_postDocument_InputVariable" part="doc" query="/ns3:doc"/>
    this command to assin data.
    but getting No reference found in element, incorrect attachment reference error.
    Please help me.
    Thanks,
    Varun
    [2006/09/14 19:10:33] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    <remoteFault>
    <part name="code" >
    <code>Server</code>
    </part>
    <part name="summary" >
    <summary>when invoking endpointAddress 'http://merchant-api-qa.amazon.com:80/gateway/merchant-interface-mime', No reference found in element, incorrect attachment reference</summary>
    </part>
    <part name="detail" >
    <detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: No reference found in element, incorrect attachment reference faultActor: faultNode: faultDetail: {WASP_ExceptionNs}ExceptionTypeName:WASP_DeserializationException {WASP_ExceptionNs}ExceptionMessage:No reference found in element, incorrect attachment reference {WASP_ExceptionNs}ExceptionStackTrace: thrown in 'bool WASP_MessageAttachmentResolver::resolve(WASP_XMLTokenizer *, WASP_String *, WASP_String *&amp;, WASP_String *&amp;, WASP_String *&amp;, WASP_String *&amp;, WASP_DeserializationContext *, WASP_ExceptionEnv *)' at serialization/helpers/MessageAttachmentHelpers.cpp:119 caught in 'void WASP_DeserializationContextImpl::deserialize(void *, void (*)(void *, void *), WASP_XMLTokenizer *, WASP_String *, WASP_String *, WASP_String *, WASP_String *, bool, WASP_ExceptionEnv *)' at serialization/DeserializationContextImpl.cpp:573 rethrown in 'void WASP_DeserializationContextImpl::deserialize(void *, void (*)(void *, void *), WASP_XMLTokenizer *, WASP_String *, WASP_String *, WASP_String *, WASP_String *, bool, WASP_ExceptionEnv *)' at serialization/DeserializationContextImpl.cpp:573 caught in 'void MIME::_WASP_MerchantInterfaceInstanceMethods::postDocument(MIME::MerchantInterfaceImpl *, WASP_MessageAttachmentManager *, WASP_DeserializationContext *, WASP_SerializationContext *)' at /opt/brazil-pkg-cache/packages/MerchantGatewayServer/MerchantGatewayServer-1.1.14.8/X86_LINUX_GCC2_GLIBC22/src/waspcServer/merchantInterfaceMIMEImpl.cpp:1161 thrown in 'static void MIME::_WASP_MerchantInterfaceInstanceMethods::_WASP_postDocumentCallback(WASP_CallContext *, void *, WASP_Exception *, WASP_ExceptionEnv *)' at /opt/brazil-pkg-cache/packages/MerchantGatewayServer/MerchantGatewayServer-1.1.14.8/X86_LINUX_GCC2_GLIBC22/src/waspcServer/merchantInterfaceMIMEImpl.cpp:1179 caught in 'void WASP_CallContext::callResponseCallbacks(WASP_Exception *)' at runtime/CallContext.cpp:184 </detail>
    </part>
    </remoteFault>

    Hello,
    have you found any solution for this problem?
    Ich have the very same problem and i can't resolve it the last 3 days an i'am hopeless.
    Many thx.

  • How access an element using getElementById() without absolute path?

    hello,
    Currently I'm working on a JSF woodstock project.
    I'm trying to acceess the different components used the JSF page inside a javascript by using document.getElementById()
    this is a part of code in my JSF file. please have a look on it.
    <webuijsf:form id="form1">
                            <webuijsf:panelGroup id="pnlGrpBankListMainContainer" style="left:2px; top:89px; margin-left:1.5%; margin-top:1%; width:50%; position:absolute;">
                                <webuijsf:table augmentTitle="true" title="#{BankList.screenName}" id="table1" paginateButton="true"
                                    paginationControls="true" clearSortButton="true" extraActionTopHtml="style='height:35px'">
                                    <f:facet name="actionsTop" >
                                        <webuijsf:panelGroup id="grpPnlButtons">
                                            <webuijsf:checkbox binding="#{BankList.chkBoxSelectAllItems}" id="chkBoxSelectAllItems" name="chkBoxSelectAllItems" rendered="#{BankList.renderChkBoxAndImgSeparator}"
                                                selectedValue="selectAllItems" onClick="selectAllTableRows(this,'chkBoxBankListSelectedRowId',5);"/>
                                            <webuijsf:image id="imgSeparator" url="/resources/images/select_image_separator.gif" rendered="#{BankList.renderChkBoxAndImgSeparator}" />
                                            <webuijsf:button id="btnAdd" rendered="#{BankList.renderAddButton}"  text="Add" styleClass="btnStyle" immediate="true"
                                                onClick="return openAdd('#{BankList.requestContextPath}/faces/BankEntry.jsp', 500, 755,'Add  #{BankList.screenIdentifier}', '&action=ADD');"/>
                                            <webuijsf:button id="btnEdit"  rendered="#{BankList.renderEditButton}"  text="Edit" styleClass="btnStyle" disabled="#{BankList.disableEditButton}"
                                                onClick = "return openEdit('#{BankList.requestContextPath}/faces/BankEntry.jsp', 'chkBoxBankListSelectedRowId', 500, 755,'Edit  #{BankList.screenIdentifier}', '&action=EDIT');"/>
                                            <webuijsf:button id="btnDelete"  text="Delete" onClick="return confirmRecordsDelete();"  rendered="#{BankList.renderDeleteButton}"  styleClass="btnStyle" disabled="#{BankList.disableDeleteButton}"/>
                                            <webuijsf:button id="btnExportXls" disabled="#{BankList.disableExcelButton}" rendered="#{BankList.renderXlsButton}"
                                                styleClass="btnStyle #{BankList.excelButtonStyleClass}" style="position:relative; margin-left: 10px"
                                                text="x" onMouseOver="setMouseOverStyle(this);" onMouseOut="setMouseOutStyle(this);"
                                                onClick="return openXlsExport('#{BankList.requestContextPath}/faces/Export.jsp', 'chkBoxBankListSelectedRowId', 'Export  #{BankList.screenName}', '&screenIdentifier=#{BankList.screenIdentifier}');">
                                            </webuijsf:button>
                                        </webuijsf:panelGroup>
                                    </f:facet>when i access button element using absolute path like
    document.getElementById("form1:pnlGrpBankListMainContainer:table1:grpPnlButtons:btnEdit") it works fine.
    But when i try to access it using
    document.getElementById("form1:table1:btnEdit") it returns null.
    I've common javascrpt functions for all the screens.
    so i do not want to change the current javascript functionality nor do i want want to specify complete path for an element.
    So is there any way so that i can access the elements without absolute path or any othet solution?
    Edited by: sonali_amonkar on Apr 1, 2008 11:17 PM

    thanks for your reply mjswallow.
    Do you mean that I'll write a new javascript which will accept all the parent elements and inside this method I'lll call the common javascript methods that are present in our project?
    but this solution would result in changing the already existing javascript methods that i coded for all screens. right?
    that is i do not want to change.
    any other solutions you can think of?

  • BPM SMQ2 in sysfail Access using a 'ZERO' object reference is not possible

    Hi ,
    I am working on a IDOC to SOAP synchronous scenario
    So I am using a BPM....
    I have written a operation mapping outside BPM
    1) Request MM creates the SOAP rquest
    2) Response is a ABAP mapping where i am checking the response from webserice and then generating an email using ABAP code.
    now when i am running this scneario works fine and the mail gets generated...
    however i get a green flag in moni  and in SMQ2 in sysfail Access using a 'ZERO' object reference is not possible
    PS : Also  the response coming from the webserice has a custom header which does not match with the response ABAP mapping source MT
    however if I work on the same thing using Proxy to SOAP sync there is no sysfail message and it works fine
    Is this a bug in the system ...i am using PI 7.1

    Hi,
    Try to implement SAP note 1164228 or apply package SAPKB71007 to resolve your issue.

  • What does error code 150:30 mean and why can i not access my elements site

    what does error code 150:30 mean I cannot access my element equipment

    ok then so what is the problem I have with this error code

  • Error while accessing container element _ALERT_LOGICAL_SYSTEM

    Hi,
    Getting below error in SLG1 T.Code, I, am getting E-Mail but without any ALERT ID, MESSAGE ID and Interface name pls suggest for the same to solve.
    "Error while accessing container element ALERTLOGICAL_SYSTEM" ERROR IN SLG1
    Rgds,
    MFH

    Did you checked this thread: Alerts problem and log
    Regards,
    Abhishek.

  • How to access the element s in a hashMap with order

    Does anybody know how to access the elements in a hashMap with order.
    I know set is a collection that doesn't gaurantee the order so the iterator of keySet will not gaurantee the order.
    Is there any way to solve this?
    Thanks

    If you mean the order in which the key/value pairs where added to the
    map, have a look at the LinkedHashMap class. If you mean 'natural'
    order, you shouldn't be using a HashMap at all then; have a look at the
    TreeMap class instead.
    kind regards,
    Jos

  • HTMLDocument - How Can I access an element ?

    Hello,
    I want to try and access the element in an HTMLDocument with a position received from a viewToModel() call (of a JEditorPane).
    I'm not sure what method I use, I think it's the getCharacterElement() of the HTMLDocument root class, but I'm not too sure.
    Could someone give me some advice ?
    thanks
    Kerry

    Hi camickr,
    Well this post is related to my other one you kindly answered earlier ( here )
    Just to recap :
    I'm using a JEditorPane to display HTML and when the user clicks on a part of the web page, for example an image. In response to this mouse event, I want to locate where in the HTML tree the particular item is and (eventually hightlight the corresponding HTML element in a JTree of the entire HTML page). So far this is my code that responds to Mouse events :
    private void jEditorPane1MouseClicked(java.awt.event.MouseEvent evt) {                                          <br />
            // TODO add your handling code here:<br />
            Object o = evt.getSource();<br />
    <br />
            if (o instanceof javax.swing.JEditorPane){<br />
                javax.swing.JEditorPane t = (javax.swing.JEditorPane)o;<br />
                javax.swing.text.Document d = t.getDocument();<br />
    <br />
                java.awt.Point p = evt.getPoint();<br />
                int k = t.viewToModel(p);<br />
                javax.swing.text.Element e = ((javax.swing.text.DefaultStyledDocument)d).getCharacterElement(k);<br />
                javax.swing.JOptionPane.showMessageDialog(null,Integer.toString(k));<br />
                //int comp = o.viewToModel(evt.getPoint());<br />
            }<br />
        }So as you see, I set the value of 'k' to 'nearest representative location in the model.' but then I'm not sure how I use this number to get to the HTML element, which accounts for the last few lines of the code.
    So my problem is I'm not sure what to do with the integer returned from viewToModel().

  • JDOM - Accessing XML Elements

    I have an XML file which have multiple element with same tag but different attribute. If I want to access a specific element with the require attribute, at the moment, I access every element and check it's attribute. Is there a way/method to get an element with the required attribute directly using JDOM

    ehm..
    Can you show how I have to do to get an element from a Xml file using Jdom and Xpath?
    my xml file is like this:
    <catalog>
        <param1>
              <name> XXX </name>
              <price> YYY </price>
        </param1>
        <param2>
              <name> EEE </name>
              <price> RRR </price>
        </param2>
        <param3>
              <name> TTT </name>
              <price> GGG </price>
        </param3>
    </catalog> tnx & bye

  • How do I access array elements in one method from another method?

    Hi all!
    How do I access the array's elements from another method so that method 2 can have access to method 1's array elements? Thanks for any help!
    I am trying to create a simply program that will use a method to create an array and a SEPARATE method that will sort the array's elements (without using java's built in array features). I can create the program by simply having one method and sorting the array within that same method, BUT I want to sort the array from another method.
    Here's my code so far:
    public class ArraySort {
       public static void createArray(int size){
           double myArray[] = new double[size];    //create my new array
           for(int j=0; j < myArray.length; j++)
              myArray[j] = (200.0 * Math.random() + 1.0);   //fill the array with random numbers
       public static void sortArray(){
           // I WANT THIS METHOD TO ACCESS THE ARRAY ELEMENTS IN THE METHOD ABOVE, BUT DON'T KNOW
          //  HOW???? Please help!
        public static void main(String[] args) {
            createArray(4);    //call to create the array
    }Thanks again!
    - Johnny

    Thanks for the help all! I ve managed to get the program working, using java's built in array sort, but when i try to call on the array sort method from WITHIN my main method, nothing happens!
    Can somebody please tell me why I am not able to call on the sort method from within my main class???? Thanks!
    public class ArraySort {
       public void createArray(double[] arrayName, int size){
           double myArray[] = new double[size];  //create new array
           for(int j=0; j < myArray.length; j++)
              myArray[j] = (200.0 * Math.random() + 1.0);    //populate array with
           }                                                 //random Numbers
           sortArray(myArray); 
       } //Sort array(if I delete this & try to use it in Main method --> doesn't work???
       public void sortArray(double[] arrayName){
           DecimalFormat time = new DecimalFormat("0.00");
           Arrays.sort(arrayName);      //sort array using Java's built in array method
           for(int i = 0; i <arrayName.length; i++)
               System.out.println(time.format(arrayName)); //print arary elements
    public static void main(String[] args) {
    ArraySort newArray = new ArraySort(); //create a new instance
    double myArray[] = new double[0]; //create a new double array
    newArray.createArray(myArray,4); //build the array of indicated size
    //newArray.sortArray(myArray); //This will not work???? WHY?????//

  • Accessing the elements in the Runstate.S​equence.Ma​in array

    I want to change the "Record Result" property of a step on the fly. I thought I could use the function TS_SetValPropertyBoolean for this. As a lookup string I used "Runstate.Sequence.Main[i].RecordResult" but this caused a run-time error. I found that there is a step property RecordResult from Programmer's Help. Runstate.Sequence.Main is an array of containers and the elements of the array are the steps of the main sequence. TestStand prefers to use ...Main["Step Name"] but since I have hundered of steps to manipulate I prefered to use the indices in a loop instead of writing a line of code for each step.
    How can I do this operation in a "compact" way? I just want to turn on/off the result recording of some steps
    at run-time.
    I think I made my problem clear.
    Any comments, suggestions welcome.
    Thanks in advance..
    Eren

    Hi Eren,
    you've got the right idea, you just need to evaluate the string you're passing.
    You can actually do it in a statement -
    Evaluate("RunState.Sequence.Main["+Str(Locals.Step​Index)+"].TS.NoResult")
    You could even set this step to loop, and use the Runstate.Loopindex instead of Locals.StepIndex as above - the Locals.StepIndex is just a variable I created for demonstration, and I fixed it to a value of the index of the step I wanted to turn result collection off for. - NOTE set this to a TRUE to run OFF result collection for the step.
    Since in your example, the "i" is embedded in a string, TestStand can't work out what it evaluates to.
    If you wanted to do this from say CVI, then format the string you're using to do the same function as calling Eval
    uate in TestStand, i.e.
    Fmt(lookupString,"Runstate.Sequence.Main%[%d%].TS.​NoResult",i); (think I got the square brackets specified correctly.)
    Hope this helps
    Sacha
    // it takes almost no time to rate an answer

  • Accessing array elements from the Faces EL

    Someone had this question on email and I thought it best to share the answer here.
    On Tue, 23 Mar 2004 16:25:23 +0800, zhang xinxin said:ZX> I want to ask you how can output array
    ZX> for example
    ZX> I define an array in SearchItemBean and bind value to it:
    ZX> private String[] array=new String[2];
    ZX> public String[] getArray() {
    ZX> array[0]="a";
    ZX> array[1]="b";
    ZX> return array;
    ZX> }
    ZX> and I can output the array as following:
    ZX> <h:output_text id="arra" value="#{SearchItemBean.array[0]}"/> <br>
    ZX> but if I wang to output using parameter,it failed:
    ZX> in jsp page it write as this:
    ZX> <%
    ZX> int i=0;
    ZX> %>
    ZX> <h:output_text id="arra" value="#{SearchItemBean.array[<%=i%>]}"/> <br>
    ZX> Can you tell me how to use paremeter in output_text?thanks!
    Sure,
    The reason what you're doing doesn't work is that anything inside of
    "#{}" is for deferred evaluation and is evaluated by the JSF engine,
    while scriptlets are evaluated by the JSP engine. I have modified the
    guessNumber demo included in the 1.0 release to do what you're trying to
    do.
    8<-------------------------------------
    Index: greeting.jsp
    ===================================================================
    RCS file: /export/cvs/jsf-demo/guessNumber/web/greeting.jsp,v
    retrieving revision 1.22
    diff -u -r1.22 greeting.jsp
    --- greeting.jsp     9 Mar 2004 22:51:27 -0000     1.22
    +++ greeting.jsp     23 Mar 2004 16:36:20 -0000
    @@ -40,6 +40,7 @@
    <HEAD> <title>Hello</title> </HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    + <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <body bgcolor="white">
    <f:view>
    <h:form id="helloForm" >
    @@ -54,6 +55,10 @@
         <h:commandButton id="submit" action="success" value="Submit" />
    <p>
         <h:message style="color: red; font-family: 'New Century Schoolbook', serif; font-style: oblique; text-decoration: overline" id="errors1" for="userNo"/>
    +          <hr />
    + <c:set value="1" var="i" scope="request" />
    +
    + <h:outputText id="array" value="#{UserNumberBean.array[requestScope.i]}" />
    </h:form>
    </f:view>
    8<-------------------------------------
    What I'm doing here is to store the variable into request scope, then I
    can access it using the implicit object requestScope.
    This approach should give you what you need.
    Ed (EG Member)

    Thank you for your answer!
    but I still have question.
    I will output a array,but the size of array is dynamic,
    and the size is passed by the SearchItemBean.
    How can I control the i to increase to the specify number?
    how can I pass the size parameter into the <c:set>?
    How can I use a paratemer passed by size and control the "i" to increase to it?
    thanks!

  • Accesse array entries within a lower VI hierarchy

    Hi
     I would like to have access to an array elements within a subVI at lower hierarch. Right now using the property of "callers" I have access to VI refnum at the higher level and "Array elements reference number" enables me to write into the first element of the array but I would like to have access to all elements seperately.
    Please consider that I am using LV 8.2 .
    Best regards
    Afshin
    Solved!
    Go to Solution.

    Hi Afshin,
    as you already use property nodes you should wire the property "IndexValues" to show the wanted element and then read it's value by "ArrElem.Value". Or search the forum as there are other threads on this topic too
    In general: the better (faster, no thread switches, [no] datacopies) way is to wire the array itself to the subvi !
    Message Edited by GerdW on 06-07-2009 05:48 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Md04 - additional columns as pushbutton

    Implementing the badi MD_ADD_COL_EZPS How can I add a column and the content of the column is a pushbutton ???? thanks in advance Stephan

  • Songs on ipod, but not in itunes - HELP!

    Hey. So my computer got completely cleaned out... and everything was gone. But, my songs remained on my ipod. I've since reinstalled everything... but cannot get the songs OFF my ipod, ON to my computer. Any help? I don't want to lose them, but I wou

  • Explain Plan in pl/sql

    Dear All. DBMS_XPLAN.DISPLAY_CURSOR(    sql_id        IN  VARCHAR2  DEFAULT  NULL,    child_number  IN  NUMBER    DEFAULT  NULL,    format        IN  VARCHAR2  DEFAULT  'TYPICAL'); SQL> SELECT * FROM table (   2     DBMS_XPLAN.DISPLAY_CURSOR('b7jn4mf

  • Copy a compiled DBXML from one Linux machine to another Linux machine?

    Hello I am currently preparing two Linux machines for a DBXML application. One machine is for testing and the other for production. They are almost identical: Test machine: > root@jumasiri:~# uname -a Linux jumasiri 2.6.29.6 #2 Mon Aug 17 01:31:42 CD

  • No previews on import.

    Aperture 3.6, Mac os X 10.10.1 Some time age previews on import partly dissapeared. Trying to delete plist, completely remove aperture, creating new library. Nothing helped. Only some first images showing, other no. Check attached image. Photo system