Insertion of several strings in a 1 d array

Hi all

I am a beginner new to LabVIEW, so go easy on me. I tried to do for far too long and I thought I'd give forums a shot. I'm taking a picture 2D channels and their entry in a 1 d table. Sounds pretty simple, but for some reason, I just can't get it. The table then feeds into a ring of text. Thus, for example, say I have a table of dimensions 4 x 2 [a b c d e f g h], the output I want is a 1 x 2 [abcd, efgh] matrix. However the table could be 4 x 4 or 4 x 6, so this is not fixed. The ring of the text allows the user select among the options (2 in this case).

I hope that I have described my problem clear enough for people. Taking the strings in the 2D array and put them in a chain are as close as I got what I want. I also tried the table to a spreadsheet string, but he gave me a long string. Unless there is something blatantly obvious that I'm missing, could someone give me some advice? Also, I would just add that everyone telling me to go read the tutorials, etc. of source material. Believe me, I have. Carefully.

I have included a picture of the section of code that I'm trying to make it work. And Yes, I realize that it will not be anything to the ring of text entry right now, which is currently just how I saved it.

Replace the while loop with a loop For.

Do not use the subset of the array, simply use the tunnels of automatic indexation.

Use the concatenation of strings on your table 1 d and you will have a single string.

Use the automatic indexation on the exit tunnels and you will have a table 1 d of these channels.

(You may need to convert the 2D table before feeding it into the loop For).

Tags: NI Software

Similar Questions

  • How to create the string of JSON using QVariantMap array?

    Hi all

    How to create sub string of Json using QVariantMap array?

    {
        "Test1": [
            {
                "dataTest1": "0000",
                "dataTest2": 1412,
                "dataTest3": "",
                "dataTest4": "0000",
            }
        ],
        "Test2": {
            "data1": 1412008,
            "data2": "0000",
            "data3": "A",
            "data4": "0000",
        }
    }
    

    Waiting for your answer please reply me as soon as possible.

    JSON array is QVariantList

    JSON object is QVariantMap

    then create a QVariantLsit and insert your QVariantMaps

  • How to use a control to change the part of array of strings? Insert in the string table?

    Please see the attached illustration.  The paintings of two strings which I'm trying to maniuplate are surrounded and the value is (bad) highlighted in yellow.

    It is a part of a Subvi on a comprehensive program where I address three different cDAQ chassis, which are named cDAQ9188-TBL01-Remote, remote-TBL02-cDAQ9188, cDAQ9188-TBL03-distance max.

    I intend to have three separate executables running simultaneously but independently, each dedicated to a different frame.  Rather than manually changing the only integer and create a new Create_Task 002 and 003. VI for each of them, I would have the whole selectable by the user.  Simple 1, 2, or 3 before starting the program and inserted it in the correct place (cDAQ9188-TBL0X-remote X of the location).

    I managed to insert characters in the simple strings, but nothing seems to work with table 1 d of string.  Is there a chance for this or should I be building my channels tables quite differently?

    You'll just have to change the 1,2,3,... in your tables of strings with the appropriate format specifier, then add digital control and two knots in String Format and Bob is your uncle.

  • Insert a variable + string using the select statement with cfquery

    I'm doing an insertion by a select statement where the insert for one of the fields should be a combination of a vaule comes from the selection and concatenated with a string of text. Is this possible and if what the correct syntax so? Here is an example of what I'm trying, but does not.

    < name cfquery = "createnote" datasource = "#application.datasource #" >
    INSERT INTO gtbl_notes (notedate, strCustomerID, notetype, note, notecreatedby)
    SELECT "#currentdate #", strCustomerID, "miscellaneous", "#gtbl_people.email # DELETED because of HARD BOUNCE ', 'Bounce Routine.
    OF gtbl_people, gtbl_bounces
    WHERE gtbl_bounces.email = gtbl_people.email AND gtbl_bounces.subscriber = 1 AND gtbl_bounces.status = 2

    < / cfquery >

    Any input would be greatly appreciated.

    Concatonation is possible with most, if not all of the databases.  The syntax is a specific software and you do not your specify.

  • Analysis of the chain, insert. in a string

    HelloW LV'ers

    Simplified example

    I have a string with 3 digits for example of entry of 789

    I would like to use scan string to place a "." between the numbers.

    entry exit 789 7.8.9

    How to configure the scan station to do this?

    Thank you

    Of course, a general solution must be scalable. I don't think we can assume that there are always exactly three numbers, because it has been given only as a "simplified example.

    Here's a solution that works for any length string (containing numbers decimal only)

    (of course you must ensure that the entry is healthy and that it does not contain any characters illegal. not shown, but look at lexical class)

  • Problem with PPR in a table advanced with the insertion of several lines in create the page using 'add a new button '.

    Hello experts,

    I created a page that contains an array of advanced, 6-7fields (including a poplist column)

    Whenever I have add a new using the line add new line button, I get a null pointer exception.

    Code in Scenario1.


    Public Sub handleCurrencyChangeEvent()

    {

    PVO OAViewObject = (OAViewObject) findViewObject ("xxCurrencyPVO1");

    Line OARow = (OARow) pvo.first ();

    OAViewObject dtlVO = (OAViewObject) findViewObject ("xxEcreditCardDtlVO1");

    OARow dtlRow = (OARow) dtlVO.getCurrentRow ();

    String currency = (String) dtlRow.getAttribute ("CurrencyCode");    / / NULL POINTER EXCEPTION

    If ((currency == null) |) ("AED".equals (currency)))

    {

    row.setAttribute ("ExchangeRateTypeRender", Boolean.FALSE);

    row.setAttribute ("ExchangeRateDateRender", Boolean.FALSE);

    row.setAttribute ("ExchangeRateRender", Boolean.FALSE);

    }

    on the other

    {

    row.setAttribute ("ExchangeRateTypeRender", Boolean.TRUE);

    row.setAttribute ("ExchangeRateDateRender", Boolean.TRUE);

    row.setAttribute ("ExchangeRateRender", Boolean.TRUE);

    }

    }

    Public Sub initPVO()

    {

    OAViewObject appPropsVO = (OAViewObject) findViewObject ("xxCurrencyPVO1");

    If (appPropsVO! = null)

    {

    If (appPropsVO.getFetchedRowCount () == 0)

    {

    appPropsVO.setMaxFetchSize (0);

    appPropsVO.executeQuery ();

    appPropsVO.insertRow (appPropsVO.createRow ());

    Line OARow = (OARow) appPropsVO.first ();

    row.setAttribute ("RowKey", new Number (1));

    }

    }

    handleCurrencyChangeEvent();    / / If I comment on this call, there will be no null pointer when I click on the button Add a new rank and PPR will not be the first line when I select the poplist.                 

    }

    Public Sub createDetailRow()

    {

    String hdrId;

    OAViewObject hdrvo1 = (OAViewObject) getxxEcreditCardHdrVO1 ();

    OAViewObject dtlvo = (OAViewObject) getxxEcreditCardDtlVO1 ();

    Initialize and create a line of VO

    If (! dtlvo.isPreparedForExecution ())

    {

    dtlvo.setMaxFetchSize (0);

    dtlvo.executeQuery ();

    }

    Line dtlrow = dtlvo.createRow ();

    dtlvo.executeQuery ();

    int count = dtlvo.getRowCount ();

    dtlvo.insertRowAtRangeIndex (count, dtlrow);

    Development of the sequence for the number of request *.

    Number of dtlseq = getOADBTransaction () .getSequenceValue ("xxdm. XXDMI_ECREDIT_CARD_DTL_SEQ");

    hdrId = hdrvo1.getCurrentRow ().getAttribute("CreditCardHdrId").toString (); mind vo

    dtlrow.setAttribute ("CreditCardHdrId", hdrId);

    dtlrow.setAttribute ("CreditCardLineId", dtlseq);

    dtlrow.setAttribute ("LineNumber", count + 1);

    End of sequence generation *.

    dtlrow.setAttribute ("CurrencyCode", "AED");

    String currency = (String) dtlrow.getAttribute ("CurrencyCode");

    System.out.println ("CurrencyCode:" + currency);

    dtlrow.setNewRowState (Row.STATUS_INITIALIZED);

    } / / end createDetailRow()

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    Event string = pageContext.getParameter (OAWebBeanConstants.EVENT_PARAM);

    * Treatment add line button *.

    If ((ADD_ROWS_EVENT. Equals (Event)) & & "AdvTblRN".equals (pageContext.getParameter ("source"))) ".

    {

    am.invokeMethod ("createDetailRow", null);

    am.invokeMethod ("initPVO");

    } //**End add row button *.

    otherwise if

    ("currCodeChangeEvent".equals (pageContext.getParameter (OAWebBeanConstants.EVENT_PARAM)))

    {

    am.invokeMethod ("handleCurrencyChangeEvent");

    }

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

    Could please help what is wrong in the code, I followed all the steps as stated in the guide, but the table advance, the problem starts whenever I click on the button Add a new row for the creation of new line.

    I couldn't understand what was wrong with the code.

    Thanks in advance,

    Suman

    Suman,

    A few points:

    1. Why do you call handleCurrencyChangeEvent in the event to add a line? Simply set the useful, likely of the values in the line it himself.

    ex:-instead of calling the handleCurrenyChange method, simply add the below lines inside the createDetailRow()

    dtlrow.setAttribute ("ExchangeRateTypeRender", Boolean.FALSE);

    dtlrow.setAttribute ("ExchangeRateDateRender", Boolean.FALSE);

    dtlrow.setAttribute ("ExchangeRateRender", Boolean.FALSE);

    2. it looks like you have on the field of the currency and that fireAction handleCurrencyChangeEvent action method is called, right?

    Instead of using dtlVo.getCurrentRow, use the code below:

    public void handleCurrencyChangeEvent(String eventRowSourceParam)
      {
      OAViewObject pvo = (OAViewObject)findViewObject("xxCurrencyPVO1");
      OARow row = (OARow)pvo.first();
    
      OAViewObject dtlVO = (OAViewObject)findViewObject("xxEcreditCardDtlVO1");
    
      //OARow dtlRow = (OARow)dtlVO.getCurrentRow();
      OARow dtlRow = (OARow)this.findRowByRef(eventRowSourceParam);
    
      String  currency = (String)dtlRow.getAttribute("CurrencyCode");    // NULL POINTER EXCEPTION
    
      if ((currency == null) || ("AED".equals(currency)))
      {
      row.setAttribute("ExchangeRateTypeRender", Boolean.FALSE);
      row.setAttribute("ExchangeRateDateRender", Boolean.FALSE);
      row.setAttribute("ExchangeRateRender", Boolean.FALSE);
      }
      else
      {
      row.setAttribute("ExchangeRateTypeRender", Boolean.TRUE);
      row.setAttribute("ExchangeRateDateRender", Boolean.TRUE);
      row.setAttribute("ExchangeRateRender", Boolean.TRUE);
      }
      }
    

    In the controller:

    if((ADD_ROWS_EVENT.equals(event)) && "AdvTblRN".equals(pageContext.getParameter("source")) )
    {
      am.invokeMethod("createDetailRow",null);
      am.invokeMethod("initPVO");
    } //**End Add Row Button**
    else if ("currCodeChangeEvent".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    {
      String eventRowSourceParam = pageContext.getParameter(EVENT_SOURCE_ROW_REFERENCE);
      Serializable[] params = {eventRowSourceParam};
        Class[] paramTypes    = {String.class};
      am.invokeMethod("handleCurrencyChangeEvent",params, paramTypes);
    }
    

    3. Why do you call initPVO when it is clicked on the Add line? Are you calling not just in the PR?

    You could call it once in the PR and let. When you call it PR, you may need to remove the handleCurrencyChangeEvent of this method call.

    See you soon

    AJ

  • Insertion of several objects and check if they exist.

    Hello!

    I have this code plsql which is not working properly and should probably be written differently.

    I have up to 50 page objects (radiogroups) that gets submitted if checked, not only the number can range from 0 to 50, but also, the number of objects on the page and to submit will differ (only checked those gets submitted).

    If the code goes like this:

    BEGIN

    INSERT INTO result ('question', 'result') VALUES (APEX_APPLICATION. G_f01 (1), APEX_APPLICATION. G_f01 (2));

    INSERT INTO result ('question', 'result') VALUES (APEX_APPLICATION. G_f02 (1), APEX_APPLICATION. G_f02 (2));

    INSERT INTO result ('question', 'result') VALUES (APEX_APPLICATION. G_f03 (1), APEX_APPLICATION. G_f03 (2));

    ...

    ...

    ...

    INSERT INTO result ('question', 'result') VALUES (APEX_APPLICATION. G_f50 (1), APEX_APPLICATION. G_f50 (2));

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    NULL;

    END;

    Good everything works until the code for an object that does not exist and stops completely, as if "G_f03" exists, is not "G_f04", of "G_f05", and then 'G_f05' will not be submitted.

    Also could write this more compact and therefore he doesn't have to go through all the 50 lines? As in javascript, I can do a 'X' variable to use as a "find object" name, and then place it in a loop, like 'X = 0; Find (x);  "X++" ...


    And a newbie question: How do you want to code correctly on the forums, so it appears in a region of code?

    declare

    ins procedure (p_f apex_application_global.vc_arr2)

    is

    Start

    If p_f.exists (1) and p_f.exists (2).

    then

    insert into values of result ('question', 'result') (p_f (1), p_f (2));

    end if;

    end;

    Start

    ins (apex_application.g_f01);

    ins (apex_application.g_f02);

    ins (apex_application.g_f03);

    ins (apex_application.g_f50);

    end;

  • Question: insertion of several lines in the MS Sql Server table using the DB adapter

    Hi all

    I managed to insert a single row in a table of MS SQL Server via the adapter DB to my process BPEL, but when I tried to insert in mutiple lines in the same table of MS SQL server, I encounter the error below.

    I use a DB SQL XA connection to connect to the server.

    Kindly help me to solve the problem. Thanks in advance.

    Error:

    " < bpelFault > < faultType > 0 < / faultType > < remoteFault xmlns =" http://schemas.Oracle.com/BPEL/extension "> < a name ="summary"part > < summary > exemption is is produced when the binding was used." Exception occurred during invocation of the JCA binding: "JCA binding run 'merge' reference operations have to: DBWriteInteractionSpec Execute Failed Exception." the merger failed. The descriptor name: [LoadCmpAggSpendStage.SapTable]. Caused by com.microsoft.sqlserver.jdbc.SQLServerException: incorrect syntax near ')'... Check the logs for the record output full DBAdapter before this exception. This exception is considered as reproducible, probably due to a communication failure. To be classified as not reproducible rather add property nonRetriableErrorCodes with the '102' value in the deployment descriptor (i.e. weblogic - RA.Xml). Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff. All properties are integers. ". The called JCA adapter threw an exception of resource. Please examine the error message above carefully to determine a resolution. < /Summary. (> < / piece > < part name = "detail" > < detail syntax > incorrect near ')'. < / details > < / piece > < part name = "code" > < code > 102 < / code > < / piece > < / remoteFault > < / bpelFault >

    Kind regards

    Balaji Rahmani

    It seems that in this case is called merge operation. If existing records (check primary key) are not there then it will be inserted on the other update. Check the syntax of the query that is created. It looks like she may have a supplement "). If you want to only insert then call insert operation and not merge.

  • Insertion of several subforms instances with app.response on the click event.

    I could use help untangle this click event. I can't make it work the way I need too. I tried a few different variations without success. The part I have a problem with is in the loop and inserting multiple copies based on the user input to the app.response event. I have a script version that works with no loop, but who will not allow the insertion of multiple instances of the subform feature. Would appreciate any help on how I can do this.

    var cChoice = app.popUpMenu ("Add a blank section", "Copy this section", "-", "Delete this section");

    If (cChoice == 'Add a blank section') {}

    ACT.instanceManager.addInstance (1)

    } Else if (cChoice == "Delete this section") {}

    ACT.instanceManager.removeInstance (this.parent.instanceIndex)

    } Else if (cChoice == "Copy this section") {}

    var cResponse = app.response ("the number of instances of the section you want to insert?", ["copy current section"])

    }

    If (cResponse is nothing)

    {

    App.Alert ("no copy of this section was inserted because of a response zero.");

    }

    on the other

    {

    var i = ACT.instanceIndex

    var j = 0

    while(j<cResponse) do

    {

    _ACT.addInstance (1)

    xfa.resolveNode ("form1. Subform1.Act ["+ (i + 1) +"]. . RawValue row1. TextField") = xfa.resolveNode (" form1.. ") RawValue Subform1.Act.row1.TextField")

    Hello

    You code got a little truncated, but maybe something like;

    var cChoice = app.popUpMenu ("Add a blank section", "Copy this section", "-", "Delete this section");

    If (cChoice is "Add a blank section")

    {

    ACT.instanceManager.addInstance (1)

    }

    on the other

    If (cChoice is "Delete this section")

    {

    ACT.instanceManager.removeInstance (this.parent.instanceIndex)

    }

    Else if (cChoice == "Copy this section")

    {

    var cResponse = app.response ("the number of instances of the section you want to insert?", ["copy current section"])

    If (cResponse is nothing)

    {

    App.Alert ("no copy of this section was inserted because of a response zero.");

    }

    on the other

    {

    var i = ACT.instanceIndex

    var j = 0

    While (j<>

    {

    Var _ACT.addInstance = Act (1)

    Act. Row1.TextField.RawValue = xfa.resolveNode ("form1..") RawValue Subform1.Act.row1.TextField")

    j ++ ;

    }

    }

    }

  • INSERT ALL - several problem table insertion

    There are three tables A, B, C. A has three rows. He made table B + 1 rank. B has two rows, made of table C + 1 rank. C has a single line.

    SQL > SELECT * FROM A;

    C1 C2

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

    1          1

    2          2

    3          3

    SQL > SELECT * FROM B;

    C1 C2

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

    1          1

    2          2

    SQL > SELECT * FROM C;

    C1 C2

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

    1          1

    I need to write a single query that puts equal lines for all tables. I use INSERT ALL WHEN the method but get after errors:

    SQL > INSERT ALL

    2 WHAT A.c1 NOT IN (SELECT c1 FROM B) THEN

    3 IN THE VALUES of B (A.c1, A.c2)

    4 WHAT A.c1 NOT IN (SELECT c1 OF C) THEN

    5 IN C (A.c1, A.c2) VALUES

    6. SELECT c1, c2 FROM has;

    IN THE VALUES of C (A.c1, A.c2)

    *

    ERROR on line 5:

    ORA-00904: "A". "" C2 ": invalid identifier

    However when I change the names of columns in table all and change the clause INSERT ALL. I was able to run it:

    SQL > select * from a;

    A1 A2

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

    1          1

    2          2

    3          3

    SQL > select * from b;

    B1 B2

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

    1          1

    2          2

    SQL > select * from c;

    C1 C2

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

    1          1

    SQL > INSERT ALL

    2. WHAT A1 NOT IN (SELECT B1 OF B) THEN

    3 IN THE VALUES OF B (A1, A2)

    4. WHEN A1 NOT IN (SELECT C1 OF C) THEN

    5 IN THE VALUES OF C (A1, A2)

    6 SELECT A1, A2 OF A;

    3 lines were created.

    My question is: what is the error with the previous syntax? Y at - it no INSERT ANY State restrictions.

    Please remove '.' in the insert statement. No need using table alias.

    INSERT ALL

    C1 — WHEN NOT IN (SELECT c1 FROM B) THEN

    IN VALUES B (c1, c2)

    WHEN NOT IN (SELECT c1 OF C) c2 CAN

    IN THE VALUES of C (c1, c2)

    (SELECT c1, c2 FROM (A);

    As you can see, you do not use aliases in second statement INSERT ALL

    Concerning

    Mr. Mahir Quluzade

  • convert a string into several strings

    I have a column 'name' in which records are like "shailesh singh negi", 'vipin kumar singh'... my requirement is to split this column into three columns such as "first name", "middlename", "name" and the chain should insert respectively as 'shailesh' in 'name', 'singh' in "middlename" and "negi" in the "lastname" column I used a query to split into two columns bt not able to do the same wid three columns...
    request for two columns is like that...
    substr (name, 1, instr(name,' ')-1) select firstname,
    substr (name, instr (name, "") + 1) lastname
    table;

    Hello

    See first Instr and Substr functions
    Example of

    select substr('shailesh singh negi',1,instr('shailesh singh negi',' '))  firstname ,
    substr('shailesh singh negi',instr('shailesh singh negi',' ')+1,instr('shailesh singh negi',' ',1,2)-instr('shailesh singh negi',' '))  middlename ,
    substr('shailesh singh negi',instr('shailesh singh negi',' ',1,2)+1,length('shailesh singh negi')-instr('shailesh singh negi',' ',1,2)) lastname
    from dual;
    
  • Insert/update several record

    Hi,

    I have a table, tabemp, that has employee data and company code.
    Soon he may be working in two or more companies.
    Occasionally I add a column in table employee.
    Whenever I add a column I have to go update the procedure.
    What's good a solution, for my case,  to insert / update records without careful to change the table?

    Ex:
    begin
      insert into tabemp(codcomp,*)
        select 10,*
        from tabemp
        where codcomp = 1;
    exception when DUP_VAL_ON_INDEX then
          begin
           update tabemp SET *= *
                ????;
          end;
    end;


    Regards

    Jomar

    Hello

    You can use the fusion place

    http://www.Oracle-base.com/articles/10G/MergeEnhancements10g.php

    Salim cordially.

    Published by: Salim champion 2009-09-15 07:33

  • Insertion of several lines on an 'Add button '!

    I have an application that lists the members of the family (type address book application).

    form page that lists "family relationships".
    (http://apex.oracle.com/pls/otn/f?p=55283:2)

    Page 2/3 are master detail where detail reports are "relationships".

    Page three, if I select 'Create' it takes me to the page of form
    (http://apex.oracle.com/pls/otn/f?p=55283:4) where I can create a relationship and press 'create' and the new record is now visible on page 3.

    What I'm trying to do, is create the reverse tie at the same time. For example.

    If I say
    record 1 is related to the card 2 'value 3 '.

    I want to then at the same time, create a reverse record:
    record 2 relates to the plug 1 "value 4.

    After researching on the forum, I put my best efforts in the creation of a button on the page 4 process, called 'New' (thanks to Andy for the idea!) and a page runs when this button is selected.

    There is a PK for the table in question, which uses a sequence. I am just learning SQL AND APEX, so I may be completely missed the boat... or this error on my instance I also on a closed network.

    (Unfortunately, my local firewall is not me to post my SQL to allow the)

    Here's my process page that fails:


    -Take the values among the three elements of page to create the first line:
    --
    INSERT INTO FAMILY_ASSOC
    (FAMILY_ASSOC_ID, FAMILY_ID_1, FAMILY_ASSOC, FAMILY_ID_2) VALUES)

    FAMILY_ASSOC_SEQ.nextval,
    P4_FAMILY_ID_1,
    P4_FAMILY_ASSOC,
    P4_FAMILY_ID_2)
    --
    -Now to reverse the ID_1 and ID_2 to create the reverse record
    -For example if the line above is 'X' is the child of 'Y '.
    -Need to create the folder parent of 'X' 'y '.
    --
    UNION)
    FAMILY_ASSOC_SEQ.nextval,
    P4_FAMILY_ID_1,
    DECODE (P4_FAMILY_ASSOC,
    '1', '1',
    '2', '2',
    '3', '4',
    '4', '3',
    '5', '5',
    "6", "6",
    '7', '8',
    '8', '7',
    '9', '10',
    '10', '9'),
    P4_FAMILY_ID_2)

    I have included reports on page 4 to show what the table looks like:
    A report shows all the associations for the individual and replace the values with the search values.

    The next report is exactly the same, but without the search for data.

    The latest report is the same, but it shows the reverse relationship for the same person.

    Appreciate any ideas!

    Devil! And there was me trying to keep things simple :D

    So reports display data until it is written in the real files, you must have an intermediate table or, at least, to store values in the page in session BEFORE the execution of the process of the insert. To do this, you need a process in two steps - one to create temporary data or store the values, and the second actually write the records. The SQL statements that underlie the reports can easily be updated to refer to the staging table or the session values. Of course, you must create at least one additional button on the page - create/store data temporarily - this would be conditional - and the existing button should also be conditional, so that only one of the two buttons is displayed at all times.

    Andy

  • Table 2D-string in a void 2D array

    I'm trying to wire connector of my sub - vi component as one of its inputs is a 2D string table, which I will then use the Subvi. What I did was place a table Sub 2D on the Panel before as a control and linked to the connector pane. When I try to thread 2D array of string for this entry on my Subvi, it gives an error since the source is a table 2D-chain and the sink is an "empty" 2D array

    How to simply create an array of string entry of my Subvi 2D, so that I can no matter what table 2D-chain of wire and accepted by the Subvi?

    Drop a contriol string in the table container.

  • Impossible to insert a 1 d table in a 2D array using "insert into array.

    Hi all

    I have a very simple problem.

    I try to insert a table 1 d as a column in a table 2D using 'insert into array"as stated in image1.

    When I try to connect the table 1 d in the "new element/sub-table" terminal I get the error indicated in image2.

    According to the help files, I should be able to wire a table of size n-1 this as the 'new item/sub-table"terminal. In other words

    I should be able to connect a table 1 d here.

    Can someone tell me what I am doing wrong?

    Thanks for your help,

    Apparently I had converted the table to float in a 'worksheet chain' and I needed to convert it into an array before sending it to 'insert into array.

    Discover image3 for more details.

Maybe you are looking for