Find a 1 d table and build a new

Hey... im pretty new in LV.

My 'grand' problem is:

I have table 1 d of numbers:

  • 10
  • 10
  • 20
  • 20
  • 20
  • 10
  • 10
  • 30
  • 45
  • 10
  • 10

and I want to build and collect numbers in new table 1 d

Like this:

  • 10
  • 20
  • 30
  • 45

TNX so much

"The simplest solution is often the best.

Tags: NI Software

Similar Questions

  • Find out which parent table and column is referenced by FK

    That is the problem. From user_constraints, you can get the foreign keys and the tables where they were defined, but I couldn't find the tables kinships, which reference foreign keys. Where can I get this information?

    Discover the R_OWNER and the R_CONSTRAINT_NAME from USER_CONSTRAINTS view.

    You can do a self-join on these columns to USER_CONSTRAINTS for parent information.

    Here's a post I made earlier that you can probably change to get all the information you need: {message identifier: = 3704338}

    Published by: Centinul on November 19, 2009 09:27

  • Create a table with the old table and add the new column

    I want to create a table from old table old table, condition is new table contains a sid column which contains the id of the series.


    sname name sid
    AAA 1A
    BBB 2B
    CCC 3 C
    4 DDD D
    5 EEE E

    Use a sequence.

    SQL> create table t
      2  as
      3  select level no
      4    from dual
      5  connect by level <= 10
      6  /
    
    Table created.
    
    SQL> select * from t
      2  /
    
            NO
    ----------
             1
             2
             3
             4
             5
             6
             7
             8
             9
            10
    
    10 rows selected.
    
    SQL> create sequence my_seq
      2  /
    
    Sequence created.
    
    SQL> create table t1
      2  as
      3  select no, my_seq.nextval no1
      4    from t
      5  /
    
    Table created.
    
    SQL> select * from t1
      2  /
    
            NO        NO1
    ---------- ----------
             1          1
             2          2
             3          3
             4          4
             5          5
             6          6
             7          7
             8          8
             9          9
            10         10
    
    10 rows selected.
    

    Thank you
    Knani.

  • Creating Tables of Builder Service

    Hello

    We have different dashboards created from services Service Builder.  These dashboards contain tables of guests in the generator service, created by dragging the host of data entry. Services | All Services | on the dashboard and selecting create a table...

    This works very well and did exactly what we want, but...

    If we add all hosts on the generator to Service, they do not appear in the table, i.e. it is not dynamic.  In order to appear, it must delete the table and create a new.

    Is it possible to have arrays dynamic, built from Service Builder and if so, how can it be done?

    Thank you

    Brian

    In fact, it seems as if they are dynamic - you will need to sign out and then sign back in again to make the change take effect.

    Brian

  • Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    Hi all

    Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    I did program mentioned above but it does not work. Can you tell me what is the problem?

    There is no error is indicated in the program. If someone knows about it please try to find solutions and help me out of this problem.

    I have attached my program with this message.

    Thank you in advance!

    (1) FOR loops are your friend here.  You can make a slight restructuring using loops, and then you will have less mess to deal with, the inner loop through tunnels of autoindexing to make it even simpler.

    (2) I would only treat the numeric values of the characters.  So go terminal of control of the chain, the capital letters and byte array to before the outer loop.  You can use a size of Board over there to tell how many times the outer loop to iterate.

    (3) the Index table is extensible.  So you only need over the index of the first, and it will increment itself, as it develops.

    (4) you need to finish the lookup table (table 3D)

  • Dimension to build using the SQL table and process to populate the SQL table

    I have a dimension in a cube that is manually* built by one of our power users. Now, I have to get all the information of members of this dimension in a SQL table (example: with columns... Level0, level0property, level1, level1property etc...) to use this table in the STUDIO for the responsibility of the Member.

    Is there any easy process to do this? Currently I am building each line manually in the SQL table and there are 1100 + members in that manually built dimension. Please advice.

    Look at the outline of applied olap Extractor is a free utility

  • can we find unused tables and markings using OEM 12 c

    Hello

    I use OEM 12 c, databases are all about 11.2.0.3 and need to find if I can find many empty tables and markings unused acorss our env using OEM 12 c
    DBA create tables and indexes intended to test dummy and then they forget to delete these objects that are not been used for a long time.
    can I use a time regarding since when they are not being used and if they are empty using OEM 12 c.

    Thank you

    Don't know if EM can be used for this but you can use the audit to see if tables/indexes are used. See http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm#i2116021

    Just to know if indexes are used, you can use ALTER INDEX USE of SURVEILLANCE;
    For more information, see http://www.oracle-base.com/articles/10g/index-monitoring.php

    Eric

  • Find/change the question numbers and create the Table of contents

    Hello! I need help to find all my item numbers and apply a paragraph style so I can use them to create a Table of contents page.

    The sample numbers

    #12345

    #12345-5

    #12345-20

    #12345-ABC

    #12345/N

    I tried to enter #^? ^ ? ^ ? ^ ? ^ ? in the search/replace and but it is exactly 5 characters after the sign #. I wonder if you can find all characters starting by # and up until the last characters.

    Once I found all item numbers, how can I apply the paragraph style to have these characters after the sign #? Because I only want to show item numbers without the # sign on the Table of contents/Index page.

    In addition, I have InDesign CS2, which have no function GREP maybe I can do this without the GREP?

    I really appreciate any help. Thank you very much.

    Are your numbers by themselves in a separate paragraph? OTHERWISE you can not USE the table of contents feature to list all the numbers.

    If are, then just look at # in find/replace, then set it to change formatting a new paragraph style (you must create this style in CS2) that you want to include in the table of contents, then as you say, you can use find/replace once more on the history of the TOC to remove the # of all numbers.

  • Find the key referenced foreign Table and column

    Can someone please refresh my memory?

    How can I determine which table and column refers to a foreign key?

    For example, with select * from ALL_constraints WHERE TABLE_NAME = 'my_table '; I can see forced CONSTRAINTA_FK and CONSTRAINTB_FK I guess reference another table and column because CONSTRAINT_TYPE = "R", but it isn't that I get. "

    I would get all the way to the referenced table and the column I just don't remember how.

    Thank you

    Lou

    Hello

    Example:

    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    
    SQL>
    SQL> SELECT UC.TABLE_NAME,
      2         UC.R_CONSTRAINT_NAME,
      3         UCC.TABLE_NAME,
      4         UCC.COLUMN_NAME
      5    FROM USER_CONSTRAINTS  UC,
      6         USER_CONS_COLUMNS UCC
      7   WHERE UC.R_CONSTRAINT_NAME = UCC.CONSTRAINT_NAME
      8     AND uc.constraint_type = 'R'
      9   ORDER BY UC.TABLE_NAME,
     10            UC.R_CONSTRAINT_NAME,
     11            UCC.TABLE_NAME,
     12            UCC.COLUMN_NAME;
    
    TABLE_NAME                     R_CONSTRAINT_NAME              TABLE_NAME                     COLUMN_NAME
    ------------------------------ ------------------------------ ------------------------------ --------------------------------------------------------------------------------
    COUNTRIES                      REG_ID_PK                      REGIONS                        REGION_ID
    DEPARTMENTS                    EMP_EMP_ID_PK                  EMPLOYEES                      EMPLOYEE_ID
    DEPARTMENTS                    LOC_ID_PK                      LOCATIONS                      LOCATION_ID
    EMPLOYEES                      DEPT_ID_PK                     DEPARTMENTS                    DEPARTMENT_ID
    EMPLOYEES                      EMP_EMP_ID_PK                  EMPLOYEES                      EMPLOYEE_ID
    EMPLOYEES                      JOB_ID_PK                      JOBS                           JOB_ID
    JOB_HISTORY                    DEPT_ID_PK                     DEPARTMENTS                    DEPARTMENT_ID
    JOB_HISTORY                    EMP_EMP_ID_PK                  EMPLOYEES                      EMPLOYEE_ID
    JOB_HISTORY                    JOB_ID_PK                      JOBS                           JOB_ID
    LOCATIONS                      COUNTRY_C_ID_PK                COUNTRIES                      COUNTRY_ID
    TEMP_LEAVE                     PK_CLIENT                      CLIENT                         CLIEND_ID
    VISITORS                       SYS_C004169                    GROUPS                         GROUPID
    VLANGS                         SYS_C004170                    VISITORS                       VISITORID
    
    13 rows selected
    
    SQL> 
    

    In the output:

    TABLE_NAME                     R_CONSTRAINT_NAME              TABLE_NAME                     COLUMN_NAME
    ------------------------------ ------------------------------ ------------------------------ --------------------------------------------------------------------------------
    COUNTRIES                      REG_ID_PK                      REGIONS                        REGION_ID
    

    means that a COUNTRY table has a foreing key called REG_ID_PK that points to an array of AREAS. REGION_ID
    Kind regards

    Published by: Walter Fernández on March 4, 2009 23:26 - adding explanation...

  • Tables and table data

    Hello-

    How is it when I create a node of a table property value and build a table of this node of property value, it gives me an annexed table?

    I tried indexing in this table twice for a single row of values, but when I try to compare the 1 index of this row in the table with the

    first index value from an array of the same size, the equal sign will not indent the table created index from the table. I see that the

    output wire is pink, which means that the value is considered as text... How can I convert that to a number so that I can compare the first value of a line

    in a table of the first value of a picture of a line to determine if they are equal? Array index is fed data points from

    a graph and once this 1st value of the array index is the first index value of the row in the table, I hope to have the index given in the table

    turns green when there is a football game. Thank you.

    Hello

    I'm not absolutely sure I knew you. Displaying a VI or a screenshot could be useful...

    However, attached, you will find a simple VI compare the first value of a table wanted the first value of a table row.

    Note that the table data type is string, not digital. No matter if you put numerical values in the table there are always string. A conversion is necessary to compare the values in array of numeric values.

    The values in the table are displayed as a 2D array in which the first dimension contains the lines (x).

    I hope I could help you with that.

  • How can I read items in four tables and store them in variables?

    Greetings,

    I have 4 tables which I read to control an autonomous robot vehicle as instructions.

    I must be able to read the first elements of each table and store in separate variables 4 (direction, speed, angle, distance). Wait until the first statement has been executed. Then I move on to the second elements of each array. I'll repeat this until I went through all the elements. I am struggling to figure out how to do this?

    Please note:

    -The number of items in the tables is always the same, although the number of items varies as can be less instructions or more.

    For example, a full trial takes 1st element of table 1, table 2, table 3 and table 4 and it builds something like: forward, 10, 20, to the left. This will then be the robot moving forward at a speed of 10 over a distance of 20 and then turn left. Once this done then it contains the elements 2 and so on.

    Please find attached my VI that reads a text file and creates 4 berries.

    Thank you.

    stanm13 wrote: Unfortunately, I don't think you understood my question.

    Then, I would say a) you don't understand the answer or b) you explain well enough.

    To make each element of an array, using a loop FOR with autoindexing entered is the way to go.

  • Construction in real time of the table and the data tracing

    Hello

    I have a project in which I am waiting for a message from the chain coming to my serial port that contains two parameters of a voltage sensor compared to the position

    I will then draw two parameters for a XY chart as they arrived at my port to build a chart that is continuously updated with all the points came to the COM port (all from the position of the reading pressure readings).

    I know that to draw the two parameters against each other that I must use the XY-graph and for this, I have to insert my data in the tables first and then give them to the chart.

    The problem is that the message of the series is not at fixed intervals (for example a message now comes, the other may be after 1 minute, then another after one half minute.. .and so on). and the chart should be updated with the points once they arrive (in addition to displaying the previous points too of course).

    I don't know where to start! can someone put me on a track for it?

    Note: I have no problem with the interpretation of the data series, at the end I will have two numeric values which I'll then draw against each other

    Thank you

    One thing that I had not noticed before on your VI is that you use the wrong function when generating data in your table.  You should use table to build.  No insertion in the table which is more intended for stuff that goes in the middle of a table.  And the way you use it, you insert in fact data at the beginning and not at the end.

    I don't know what you have tried and why you think that the circular buffer is not what you want to do.

    Take a look for a function called data queue Pt by Pt that effectively does what you want.

    I will attach a Subvi I used.   I changed it to something that I found.  I think I found somewhere in LabVIEW itself, or an example, maybe the forums, but I can't find the original source.  And I don't see in the comments of the VI. (If anyone knows, please comment.)

  • Script to find duplicates in a row and combine the data in specific column

    Looking for a script to find duplicates in a line like below...

    "VM1', 'VM', 'LDEV', 'LDEV1', 'LDEV2', 'LDEV3', 'LDEV4', 'LDEV5', 'LDEV6 '.
    'VM', 'VI-SVC-VM001', "0000ef ', ' '," "," "," "," ""
    'VM', 'VI-SVC-VM001', "0000de ', ' '," "," "," "," ""
    'VM', 'VI-SVC-VM002', "0000df ', ' '," "," "," "," ""
    'VM', 'VI-SVC-VM002', "0000f0 ', ' '," "," "," "," ""

    .. .and manipulate the data in the following:

    "VM1', 'VM', 'LDEV', 'LDEV1', 'LDEV2', 'LDEV3', 'LDEV4', 'LDEV5', 'LDEV6 '.
    "" 'VM', 'VI-SVC-VM001', '0000ef', "0000de ', ' ', ' '," "," ""
    "" 'VM', 'VI-SVC-VM002', '0000df', "0000f0 ', ' ', ' '," "," ""

    (Note: VM VI-SVC-VM001 object has two LDEVs him assigned 0000ef and 0000de)

    There may be two, three, or n LDEVs attributed to each VM object. I guess I have to build a table and the "join-collections" script can't cut it on this one.

    I have the process to follow, I just need to put it in a loop (note, data already sorted on the virtual computer object):

    1 import-csv

    2. read each line, matched VM object, copy each found LDEV and place it in the next LDEV along

    3. remove the duplicate line

    4. rinse, repeat until the end

    Thank you.

    It's a solution pleasant Luc. I didn't use the Group-Object cmdlet to solve this problem.

    Now I can go to sleep without having to worry about this problem more.

  • Can I enter both a table and a constant of double precision in the VI form?

    I would like to calculate a new 1 d array using the formula VI. LabVIEW 'smart enough' to enter a 1 d table and a double precision constant in the VI form and leave a 1 d table receives basic commands?

    For example, can I enter [1 2 3] table and the constant [2] and say "table * constant-1" in the VI form and get an output of [1-3-5] or do I have to make a loop for or something?

    The Express VI formula seems that it can have up to 8 inputs.

    Twolfe, the best way to find an answer to this type of question is to try it.

    I didn't know this (because I have no reason to use that express VI), but you can wire a table to it.  He treats like any other LabVIEW operation on arrays.

    But if you were to make a loop, then you should already be avoiding Express VI and start making actual emissions.

  • issue with tables and clusters

    Hello

    Another issue with the tables and clusters. I have three engines thatI move on XYZ and then measure something. I need to draw on the 3D, the result of the measurement. How to draw real XYZ and not the index of the data table positions? (I can't actully how to build the matrices 2D forX, Y and Z). In the figures, I give an example of what I need.

    Concerning

    You have to break the data out of the cluster and to present them to the graph 3d to a separate bays for X, Y, Z and W where 'W' is your values measured at the locations described by X, Y, Z.

    This thread shows how trace readings in space 3. The following image shows the data that the original author wanted to draw.

    Have fun

    Ben

Maybe you are looking for