Quickly convert a length (m * n) table 1 d an m by n matrix 2D

Hi all

I'm looking for a way to speed up a particular step in a VI that I use. I have a table 1 d of length m * n I want to convert to a table 2d of dimensions m and n. currently I feed the table 1 d in a loop and use split 1 table d to cut the table 1 d in a piece of m in length and another piece with the rest, then each of these m-length pieces forms so a new row in another table. I do not know is not clear, so I attached the VI section that does this. The VI works fine, it's just slower I want. I'll regularly get a 1 d table which is 1024 * 8000 long and this code is certainly the step rate limiting. Is there something I can do to make it run faster?

Thanks for taking a peek!

For the context (although I doubt that this important to answer my question) m is called "Width of the sensor" and n "Num of shots." I'll send a play command in an array of photodiodes 1024 who report their recent measures "Number of shots". This output is like a painting 1-d, which is pixel1shot1, pixel2shot1, pixel3shot1... pixel1024shot1, pixel1shot2... etc and I would be like a 2d array that is pixel by shooting.

There is a matrix function of reshaping on the table palette.

Tags: NI Software

Similar Questions

  • Could someone tell me how to convert the digital signals in table 1 d of digital waveforms

    I use 9474 for drving an engine. for that I have uses 2 ports - to activate and another for running. These signals in the form of Boolean values.  I am to convert these signals to a table and since iam doing a digital waveform. but when iam connecting these to the module 9474, it show an error "source is a digital waveform and sink is 1-d array of digital waveform... any body can help in these issueee please...»

    Pop - up on the thread and choose Insert...

    Build the table.

    Ben

  • Convert the Period_Name in GL_JE_Lines table to a date format and then come back year

    I'm working on a data model BI Publisher and I try to convert the Period_Name in GL_JE_Lines table to a date format and then return of the year.

    The sql below works in 11i, but I can't make it work in Fusion.

    to_char (to_date (l. )) period_name , ' MON-RR ' ),'YYYY')

    Any ideas?

    Hi Jennifer,.

    To_char (sysdate, 'DDMONYYYY') in BI Publisher does not return a correct results due NLS_DATE_FORMAT/DATE_LANGUAGE settings.

    According to the standards of the I18N, NLS_DATE_LANGUAGE in the database is still hardcoded to NUMERIC_DATE_LANGUAGE. NUMERIC_DATE_LANGUAGE 'MY' in a date format mask is an integer, so you see the correct value.

    You're not supposed to publish direct SQL with fixΘe format masks (unless it's some sort of canonical format used in internal processing, including the end-user will not be), you should return language digital date to the mid range and then make the formatting of y.

    Workaround

    Try adjusting the NLS_LANGUAGE in SQL data model to override formatting from of the

    Data base and values of the Session, for ex: select to_char (sysdate, 'MON-DD-YYYY', 'NLS_DATE_LANGUAGE = AMERICAN') of double;

    I got this Oracle support after lifting a SR.

    Thank you

    Rahul.

  • Using the quick formula to update the pay_element_entry_values_f table

    Hi friends

    I have a requirement to substitute an input value of element with a value obtained from a quick formula.

    I know that formula quick results used to fill the table pay_run_results and pay_run_result_values.

    Is it possible that I can use the quick formula for updating the tables pay_element_entries_f and pay_element_entry_values_f

    Thank you

    Yes, you can do it.

    Just call a formula within your formula and in the service function, you can write the pl/sql code you want.

    So, you can use the input element in the pl/SQL API.

    Just note that even if the input values are updated that are not considered payroll (at the time of execution of the payroll)

    It would be only on the other (or additional payroll runs)

  • length of name & table column

    Hi all
    What is the maximum length of the table name and the column name?
    What is 32 for both?

    Thank you

    Sappo

    [Names of objects of schema and qualifiers | http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements008.htm#SQLRF00223]

  • looking for a quick convert cluster table tables N

    Hi all

    I am trying to feed a table of cluster Mathscript, but I find that the name of each element of the cluster must meet certain rules in order to avoid the compilation error. I have a bunch of fo table with 3 groups, each group have 4 elements (named "velocity [m/s]', 'acceleration',"initial position [m]"," time [We] "). I need to break down the cluster, table in 4 tables each contains all the elements for "velocity [m/s]", "acceleration", "position [m] initial ' and ' time [We]" respectively.

    For example,.

    Table 1 contains 4 items for "velocity [m/s]"

    Table 2 contains 4 items for "acceleration."

    Table 3 contains 4 items for 'position [m]. "

    Table 4 contains 4 items for "time [We]."

    What is an easy way to achieve this?

    Give the table of cluster for loop-> ungroup each one, build the table by taking all four values.

  • Convert a string to a table of Word list

    Hi all

    Note: All here
    I have a strange requirement, I have a table that provides me with a description string

    For example

    Table_a

    Description
    -------------------------------------
    THE BOY IS SMART.
    A GUY AND A GIRL
    A MEMO % RAB? THE WEEK
    POLICE ARE INVESTIGATING

    I also have a list of words that should be ignored

    For example:
    Ignore_table

    ignore_list
    ---------------------
    THE
    IS
    A
    A
    ARE

    I need to convert a list of words in each sentence or string in the table_A.
    Potential separators (space, comma, pipe etc. defined in specifications) must be considered. Likely to be used with all possible delimiters defined, a reference table

    Example of output would be

    word_table

    list of words
    --------------
    THE
    BOY
    IS
    SMART
    A
    GUY
    AND
    A
    YOUNG GIRL
    MEMO
    RAB
    THE
    WEEK
    THE
    POLICE
    ARE
    INVESTIGATING


    This table will then be used as a source to compare a pre-defined list to ignore the words and select those that should not be ignored.

    Case is not a problem because everything must be converted to uppercase.
    creates this possible "word_table"?

    advice or tips will really help

    Birdy

    Just to avoid the product super cartesan and separate application on this subject, you might want this.

    SQL> WITH T
      2       AS (SELECT 1 ID, 'THE BOY IS SMART.' description FROM DUAL
      3           UNION
      4           SELECT 2, 'A GUY AND A GIRL' FROM DUAL
      5           UNION
      6           SELECT 3, 'A MEMO%RAB?LE WEEK' FROM DUAL
      7           UNION
      8           SELECT 4, 'THE,POLICE ARE INVESTIGATING' FROM DUAL)
      9  SELECT ID,REGEXP_SUBSTR ( description, '([^ '',.]+)', 1, lvl)
     10    FROM T,
     11         (SELECT LEVEL lvl
     12            FROM (SELECT MAX (LENGTH (REGEXP_REPLACE ( description, '[^ ,]'))) mx
     13                    FROM T)
     14          CONNECT BY LEVEL <= mx + 1)
     15   WHERE lvl - 1 <= LENGTH (REGEXP_REPLACE ( description, '[^ ,]'))
     16   ORDER BY ID,lvl;
    
            ID REGEXP_SUBSTR(DESCRIPTION,'(
    ---------- ----------------------------
             1 THE
             1 BOY
             1 IS
             1 SMART
             2 A
             2 GUY
             2 AND
             2 A
             2 GIRL
             3 A
             3 MEMO%RAB?LE
             3 WEEK
             4 THE
             4 POLICE
             4 ARE
             4 INVESTIGATING
    
    16 rows selected.
    
    SQL> 
    

    G.

  • Convert the text to a table

    Our IT Department has just installed FM9.0p237 on a new machine running vista. I can't convert it to a table of command under the drop-down Table! Help for FM9 shows you convert text to a table in the same way as FM8. I really need this feature. I asked a reinstall but they tend to move at speeds of glaical! Someone else has run into this problem or a solution? I build unstructured documents.

    Thank you

    Stu

    View > menu > full. Quick menu option is in effect, or maybe there's a custom menu configuration file assets, instead of the standard default value of FM.

    For more information, search for it in the quick menus FM help and follow the section Customizing (Windows) for the document framework for customization of PDF products.

    HTH

    Kind regards

    Peter gold

    Know-how ProServices

  • convert the list to a table

    Is it possible to convert a list of items in a table of Pages?

    I stopped "downgraded" Pages when Apple using this program dtp invaluable cheap old version 5...  So I could be wrong and should be corrected by more knowledgeable people, but the only way I can see to turn a list into a table is to insert a table with the appropriate number of columns and lines (or remove those unnecessary thereafter) and spent in your list. For example:

  • To convert a double complex 2D table array 2D of real double 64-bit

    Hello

    I have a table 2D double complex numbers that I have to establish a curve of intensity. Now I create the node property to scale Z scale with the maximum and the minum range. See the attached VI. There is a conflict between the type... How is possibel to convert?

    Thank you

    smercurio_fc wrote:
    If you just want to draw the scale then direct the value of your complex in the complex of the polar function.

    Because of scale (and not the phase) use the function absolute value from table 2D complex. It is a little faster because it is simpler and gives the same result.

  • Change the length of a Table column (CHAR data type)

    Hi gurus,

    SQL > select * from version $ v

    BANNER

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

    Oracle Database 10g Release 10.2.0.3.0 - 64 bit Production

    PL/SQL version 10.2.0.3.0 - Production

    CORE Production 10.2.0.3.0

    AMT for Linux: release 10.2.0.3.0 - Production

    NLSRTL Version 10.2.0.3.0 - Production

    I need to increase the length of a CHAR of a table data type column (currently it's tank (3) and you want to change to char (4)). Here are more details on the table:-

    • Contains more than 20 million lines.
    • Table contains several indexes.
    • Table is referenced by several tables (about 60 tables) and it refers to several tables (about 3)
    • Table has 4 complex triggers. Triggers call procedures and packages.

    What I've tried so far


    1 disabled all triggers and ran ALTER statement to increase the length. It took hours and did not finish in a reasonable amount of time, even if no error, but it took more than 12 hours.

    2 tried DBMS_REDEFINITION package but it does not work with the standard version of Oracle 10 g.

    I think to try next

    I think same Optics:

    Say my name of the existing table is OLD_T1 where the length of column need to increase

    -Create a copy (with increased column length) table of OLD_T1, Say NEW_T1

    -Move data from in OLD_T1 to the new table NEW_T1

    -Lower OLD_T1 (or rename it to OLD_T1_TMP)

    -Rename NEW_T1 to OLD_T1

    -Create all indexes, triggers, constraints etc..

    I wish to confirm, if my approach is correct? Or someone has a better idea to do this?

    Please note: I know that the CHAR data type gives the problem but it is an old system and I don't have authority to change the design of database.

    Appreciate any comment/suggestion

    Thanks in advance

    > I mean, can any application break if it depends on fixed-length?

    Yes, because the code can be expected completed on the right areas.

  • Quick way to assign the IDs table header cells to data?

    Acrobat X (10.1.9)

    For the accessibility of tables with complex headers, is there a quick way to assign the ID of the header cells to data associated with them?  I have not found a way faster than go to one cell at a time.

    All tags already have an ID, this question is how quickly assign the ID of header cells to all data cells in a row or a column.

    Better yet, is there a function or plugin that looks like to a table column and line and automatically assigns the headers for all data cells?

    I used the Table Inspector in Acrobat and several years of the CommonLook plug-in version. Both allow you to set several properties for all the cells in a selection. And they act as if they fortunately put header IDs for multiple cells, but after clicking OK and watch the cell properties, TI is not set for any of them, and CL only sets it to the first cell that has been selected.

    I prepare a PDF file of scientific reports for Section 508 compliance. Often, they are hundreds of pages long and got the results of large tables. Some clients insist on complex headers. Cell by cell is surprisingly long.

    I am running the latest version of CommonLook and manages to assign very well identification tags.  You can select multiple cells and assign them to a header.  You can also select the same cells and assign them to another heading using "Append". This will add the new header, without deleting the header already assigned.  In earlier versions Append has not worked for me.   That's what you need, if you have complex tables for a long time.  If you get the latest version and this isn't the case call Technical Support, as the plugin does not work correctly.  The Touch Up reading order tool does not.

    I sometimes create a white/hidden text for the header text that spans several columns and then create individual to keep them, but I wouldn't rely on it for long tables or use it as my main method. It's a pretty quick solution in some cases - or if your author likes to let in line 1, column 1 white, you can create your own invisible header for the screen reader.  But it is too difficult to verify, and not the best route to follow. Also the hidden text is considered a no-no by some as it is supposed to be a drop out / drop behind or mistake to layout.

  • convert the data in the table to mix cases

    Hi all

    I have a table that contains data.
    This table has columns, id, and description.

    I want to update my table to convert data to toss the case.
    From now on, all my data in the table are tiny.

    What I mean when mixed is the first letter of each word is capitalized and the rest lowercase.
    is there a function I can use?

    example:
    Amended/Resentence, Type Unknown
    Thank you

    You can use the INITCAP function.

    update table
    set description = INITCAP(description);
    

    Example:

    create table test (description varchar(50));
    
    Table created
    
    insert into test values ('amended/resentence, type unknown');
    
    1 row inserted
    
    select * from test;
    
    DESCRIPTION
    --------------------------------------------------
    amended/resentence, type unknown
    
    update test set description = initcap(description);
    
    1 row updated
    
    select * from test;
    
    DESCRIPTION
    --------------------------------------------------
    Amended/Resentence, Type Unknown
    
  • How to convert the layout of this table?

    I'm trying to convert to Dreamweaver, a layout that I created with tables in KompoZer.

    There are several tables, nestled inside the other and it works very well, but as you know KompoZer has its problems and now I want to switch to Dreamweaver for this new Web site.

    It seems that Dreamweaver recommended tables for layouts. Is this true? Why?

    And if it is true, how do I convert my layout?

    This provision is in fact a model I want to use again and again for the recipes.

    Thank you.

    Gina

    Note that the bar of navigation and the right column are built separately, so that they are not part of the layout I'm trying to re - create.

    I'm not sure I understand what you mean by that.

    The navigation bar and RightSideBar seem to be part of the General layout of the page.

    Do you mean that these areas are populated with Server-Side Includes?

    The General layout is 3 columns, is pretty basic.  #header, #wrapper, #leftSideBar, #mainContent, #rightSideBar & #footer.

    http://ALT-Web.com/templates/3-col-semi-Liq-layout.shtml

    The #mainContent area would require additional tanks and margins to manage the image of the recipe, #leftColumn and 3 horizontal boxes down. Not rocket science, but some experience with CSS and lines fleet is required.

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • How can I trace() the length of a table outside the onLoad()

    Hello evryone, I have a question that I need to get the length of an array, but outside the onLoad()

    Here is my code:

    var O:XML = new XML();
    O.ignoreWhite = true;
    O.onLoad = {function (success)}

    var photos: Array = this.firstChild.childNodes;
    _root. PanelH = photos.length * 200;
    trace (PanelH);
    };
    trace (PanelH);
    O.Load ("VideosBank.xml");

    I shure is possible, but I can't find

    If the table you're talking about is the photos, then for access from outside the function you have to declare it outside the function.

    var photos: Array;

    O.onLoad = {function (success)}

    pictures = this.firstChild.childNodes;
    _root. PanelH = photos.length * 200;
    trace (PanelH);
    };

    You will not be able to trace something of significant long until after the onLoad function has completed table however.

Maybe you are looking for

  • Why would it be good for Firefox to remember the story?

    Try select options: I can't find any information of when and when not to remember the history would be a good thing.

  • Recovery disk failure after replacing hard drive of a laptop computer DV7 series

    I have a HP Pavilion dv7-4270us with Windows 7 64 bit and recently received a message on start-up indicating that the intelligent of my hard drive failed. I bought a hybrid Momentus XT drive. I bought the recovery discs, since I neglected to follow m

  • imageFORMULA CR-180 check the log file to scan

    Hello I work with an imageFORMULA CR-180 check Scanner and when executing a good amount (longer than 100) of the controls, I noticed that the scan control stops and a pop-up window appears on the Analysis ToolPak asked if I would like to replace my l

  • Dv5-1020ed freezes, tried EVERYTHING

    Hello everyone, I have a problem with my laptop sound of 2008 so not guaranteed. It freezes randomly, sometimes at startup (once the operating system is loaded, so no problems in bios) When I am lucky, like now, I can use it, but it can freeze every

  • Large attachment blocking Windows Mail

    Someone sent me an email with an attachment of 45 MB, and it seems to be stuck downloading in Windows Mail. Is there a way to stop downloading this message only if the system can go to my other posts?  I went on the e-mail account web related and del