request (?) featured: matrices or tables for a particular column sort

Hello all-

This may be a stupid question, because I'm always still not quite clear on what are the differences between the matrixes and 2D arrays in LabView. So far the only distinction I seemed to find, it is that certain features of table return errors when the matrices are entered and vice versa.

Anyway, here's my question.

Suppose I have a matrix where the first column represents the 'values' that have been measured and the second column 'account'. I would like to take a unordered matrix (i.e., the value column is not ordered) and recover a matrix that has had its lines re-arranged according to the values in the first column.

For example, if my matrix:


0 11;



I would like to as labview to return:




1 of 5]

When I was trying to find a way to do it (without writing my own sorting routine which, admittedly, wouldn't be too bad, but I'm a lazy programmer ), the only thing I found that came close was the 'matrix of D 1 sort' Subvi. However, even if I had to store the values in a table and charges in another table, I'd be able to do is sort the table values. I wouldn't be able to tell what labview reorganization, I would need in order to perform the same reorganization charges.

I'm a little surprised that there isn't a quick and intuitive way to do this (at least that I can find). A LabView feature addition that could help with this problem would be if the "1 D Array sort" routine returned a second output - a vector with the mapping of the index used - similar to MATLAB. MATLAB help for the function 'out ':

"[There, I] = SORT(X,DIM,MODE) also returns a matrix of index I.. «If X is a vector, then Y = x.»

Of course, there may be a quick fix for what I'm missing...


Take a look at this post. I don't know that you can change for your particular type of data.

(in contrast to the first colum, create the sort key, table 2D reconstructed according to key)

Tags: NI Software

Similar Questions

  • How to set the color for a particular column in the table in advance?

    How can we set the color for a particular column in advance table based on a few feteched of vo in process request query parameter?



    and prev thread. Can color us the lines in the column of a table

    It will be useful.

    Kind regards

  • Filters for a particular column in obiee 11g

    I've created a report having 10 columns to measure and filter per month is less than (months in particular) that works perfectly. In fact, my requirement is in a single column to filter equal to the particular month. If it is possible please tell me how. Thanks in advance!


    Goto Edit form for that particular column.

    and use the FILTER (measure_column for HELP (condition)).

    for example:

    FILTER ("XXXXX". "measure_column" USING ("OLIVER" ".") " D5. ""' The Times'."" Month' = particular_month))

    Try this... It works very well.

  • Column for a particular column reorganization

    Is it possible to allow the reorganization of all, but the first column? My table contains the first column as checkbox to select the line. I don't want the user to rearrange this first column, but let them rearrange the rest of the columns in the table. Is this possible?

    This is how I do it:

    I have a table with the disableColumnReordering = "false" attribute to allow the reorganization.

    And then in the first column, I the rowHeader attribute = 'true '.

    It's doing the trick for me.

  • How to upgrade all the record for a particular column in a table based on search criteria.

    Hi all

    I'm new to ADF. I have a requirement where I have to perform the update of mass on a table.


    Ex: I have a search region manual dept. where I search with deptId: 20. I get 20 records in my table. now I have another area where I have an inputchoice list that contains all the column names that exist in the dept table. Beside that, I have a text box and a button update

    The user now, first research with dept id: 20 and click on the button Search, where it shows 20 record in the table. He then select an input choicelist(ex: ManagerId) column, then enter the new value in the decision-making box(ex: abc) then click on the button update.

    Now, I want to, all the records in the ManagerId column with dept id: 20 update with the new value 'abc '.

    Can someone help me with the code.

    Thanks in advance...


    If you go to your VO and generate the ViewObjectImpl, here you can create a method that contains two parameters, 1 the name attribute and 2 the value.

    Then you can follow something as explained in this post:

    ADF tutorial: how to apply actions in bulk to a view object lines

    The only difference is that you must create a method like this:

    ' Public Sub updateAttribute (attribute String, Integer value) {}

    RowSetIterator iter = createRowSetIterator (null);

    While (iter.hasNext ()) {}

    Line = ();

    row.setAttribute (attribute, value);



    Then execute you who expose a customer interface and then after you filter your table according to your criteria just this method passing the correct parameters.


  • Connect many clips with the same information for a particular column

    I have 1000's of clips to open a session before I begin to change it, to share many common info such as day clips # or the name of the sponsor, location, etc.

    What would be the procedure and is there an easy way to select many clips and choose or enter information such as the date or location, etc. and have all selected clips connect this info. FCP had a very simple way to do this and would actually keep or mount the database that you enter and makes it really easy to connect many clips at once.

    Your help is greatly appreciated.

    You can select multiple clips in the tray at the same time.  When you go in the metadata Panel, the fields that can be entered massively will be available.

  • How to hide a particular column in CSV

    Hi team,

    I had created interactive report in my application, in which I had created a column as "replicate" and display as a picture in this report as mentioned below

    1. motion used in our interactive report is

    select "ROWID",
            rowid "Replicate",
    apex_item.checkbox (1,
                              ) checkbox,
    from "#OWNER#"."D_MAP" 
    order by nvl(modified_dt,created_dt) desc

    Replicate now for column I replace with image

    Link text-> < img src = "" #IMAGE_PREFIX #wwv_edit2.gif "alt ="Duplicate">"

    So when we run the line id report used to replicate get will replace the above image as shown below

    Now when we click the Actions button and select the option to download in CSV format, then we see in the CSV file under, in what we see "replicate" and the "check box" columns.

    How to remove columns in the CSV file, downloading when clicking action buttons.

    Kind regards


    Sruthi Tamiri wrote:

    Thank you for the quick turn around fac586, I had used: request is null for this particular column, it worked.

    Could you please explain to me what is request here?

    DEMAND is a built-in substitution string that is fundamental for the functioning of APEX, and is explained in the documentation.

  • How to get the value of a particular column column name?

    Hi all

    How to get the column name for a particular column value.

    create table test (ID number, col2, col3 varchar varchar);

    Insert into test values (1, 'true', 'false');
    Insert into test values (2, 'false', 'true');

    I want to choose the name of the data column 'true' with id = 1;

    That is to say) while waiting for answer is "col2". pls help someone.

    This might help:

       c1 SYS_REFCURSOR;
       OPEN c1 FOR
       SELECT col2,
       FROM   test
       WHERE  id = 1;
       FOR c IN (SELECT rownum rn,
                        t2.column_value.getrootelement() name,
                        EXTRACTVALUE(t2.column_value, 'node()') value
                   FROM TABLE(XMLSEQUENCE(c1)) t,
                        TABLE(XMLSEQUENCE(EXTRACT(column_value, '/ROW/node()'))) t2)
          IF c.value = 'true' THEN
          END IF;
       END LOOP;
  • Table for the archiving of payroll process


    I need the table in which the data for the archiving of payroll process.

    Payroll Archive Information going in the table "PAY_ACTION_INFORMATION".

    Important points about this table:
    1. when the value of the "ACTION_CONTEXT_TYPE" column is "PA" then the line stores level the payroll information and the corresponding ACTION_CONTEXT_ID is the 'PAYROLL_ACTION_ID' of the archiver payroll run. Note that 'PAYROLL_ACTION_ID' is the primary key of the PAY_PAYROLL_ACTIONS

    2. when the value of the "ACTION_CONTEXT_TYPE" column is "AAP" then the line stores level assignment information and the corresponding ACTION_CONTEXT_ID is the 'ASSIGNMENT_ACTION_ID' of the archiver for the assignment. Note that 'ASSIGNMENT_ACTION_ID' is the primary key of the table "PAY_ASSIGNMENT_ACTIONS".

    The following query to retrieve all the information archived for a particular run for a particular assignment:
    SELECT pai.*
    FROM: pai pay_action_information,
    pay_payroll_actions App,
    pay_assignment_actions AAP
    WHERE ppa.request_id =: request_id
    AND ppa.payroll_action_id = paa.payroll_action_id
    AND paa.assignment_id = pai.assignment_id
    AND paa.assignment_action_id = pai.action_context_id
    AND pai.action_context_type = 'PAA '.
    AND pai.assignment_id =: assignment_id

    The following query to retrieve all the information level pay pertaining to a particular race.

    SELECT pai.*
    FROM: pai pay_action_information,
    pay_payroll_actions App
    WHERE ppa.request_id =: request_id
    AND ppa.payroll_action_id = pai.action_context_id
    AND pai.action_context_type = 'PA '.

    Please note that for 'Year end archiver' information is stored in FF_ARCHIVE_ITEMS

  • 1.5.4 - slow to expand the tables for oracle 9 connection


    I have tried version 1.5.4 and have found that in developing the node tables in the Connections tab is extremely slow (about 3 min) for my oracle connections.

    As with this [this bug: & tstart = 0] it's ok on a connection.

    Expand the tables for the same connection in 1.5.3 is good too. I'm concerned that this latest version of the sql dev was not particularly well tested with oracle 9 abit.

    Oracle 9 is still a supported with sql developer version?

    Thank you

    This issue is dealt with the last patch, ' check for update ' should take care of everything.

  • How to 'forget' a password for a particular web site?

    Accidentally, I selected the option 'Remember password' on a computer where I don't want to remember the password I entered the computer. Is it possible to erase the password for that particular web site without deleting the other passwords?

    Hi normkoon, you can do in password manager: Password Manager - don't forget, delete, modify and import passwords saved in Firefox

  • Will be more charge time is mode bedside table for iwatch

    Will be more charge time is mode bedside table for iwatch?


    In normal operation, the watch cannot be overloaded, and the battery won't suffer harm of regular refills done every day.

    The charge will stop automatically when the watch is fully charged. He leaves also again automatically as and when required due to the use of the current battery.

  • Can I enable BITLOCKER for any particular drive? for example D: drive, unit.

    I can activate BITLOCKER for any particular drive? e.g. D: drive, unit.  Without specifically put on for my system disk, IE the drive on which windows and other program files are located.
    Do I necessarily need to make the score, if I want to activate just for a specific drive for example D: drive, unit.

    Hello Rahul,

    -What version of Windows is installed on your computer?


    You can enable BitLocker on one drive other than the drive that has the Windows operating system installed.

    See the following link for more help.

    For Windows Vista:

    Set up your hard disk for BitLocker Drive encryption

    BitLocker Drive Encryption step-by-step guide (v = ws.10) .aspx

    For Windows 7:

    Guide step by step for Windows 7 BitLocker Drive encryption (v = ws.10) .aspx

    It will be useful.

  • How to find the real width of a field (number of characters) for a particular font


    Is there a method to find the number of characters that can fit in a field label or a BasicEditField for a particular font.  Font.getAdvance (str) gives the width in pixels.   Based on the width of the screen, I want to calculate the length of the label field number that is, characters that it can take.

    Thank you.

    Well, I did a deeper look at your code. It is a way to walk around a division, true.

    But why not work with integer values?

    int screenWidth = Display.getWidth ();

    int largestCharacterWidth = defaultFont.getAdvance ("W");

    Now you can work with these integers.

    int fieldLength;


    fieldLength ++;

    } While (filedLength * largestCharacterWidth)<=>

    It would be a little more efficient.

  • ACS 5.4 ASA 8.2.5 disable AAA for the particular user


    I want to disable journaling Ganymede + for the particular user. This user is used only for automated (python script) pooling of vpn tunnel ASA (limited command set - permission on ACS) group to verify the number of users authenticated via VPN. The problem is that this user generate a bunch of logs according to authentication authorization and accounting on ACS. Is there a solution, disable Ganymede + newspapers on ACS for this particular user? Maybe it is possible to modify the AAA on ASA to not connect this particular user?

    Thanks in advance.

    Hi Pawel,

    You can create filters collection for that specific user. When you configure monitoring filters & Report Viewer does not record these events in the database.

    Navigate to: Configuration of the analysis > System Configuration > filters Collection > add a filter

    What follows is the attributes that can be used. You must use the user.

    -Access service



    -Nas - IP

    Example: We get several hits of ASA by 'user' and we want ACS to ignore it. Create a filter by using the user. ACS must now ignore any attempt from the IP Address of the NAS.

    Jatin kone
    -Does the rate of useful messages-

Maybe you are looking for