2D subset of table 3D display

Hi-

I have a 3D table 1000 x 1024 (rows) x 1024 (passes) (pages).

The attached vi allows the user to dynamically select all

Section 2D of this table (using the three sliders) and display

It's in a graph of intensity.

Code freezes when I select a page # superior to ~ 750.

Is my code fundamentally flawed or less than optimal in terms of memory

its use and speed?

I am slot that lv2010 64-bit on a 64-bit machine Windows 7 with an Intel processor

I7 CPU X 990 3.47 GHz with 16 GB of memory. It is a multi-core system.

The number of hearts appears in the Panel before the vi.

Your help is appreciated!

Thank you

Dar

I see a few things that could make a difference.

1 the most important factor in the memory usage is the initial allocation in the loop for.

2. the use of local variables can create copies of additional data.

3. your graphic intensity is type DBL while your data is I16. This creates a copy of additional data. As odessy27 suggested, move the Terminal inside the while loop and eliminate local variables.

4 index table seems to be the same as your subset of table and table to reshape and done with less allowances buffer. I tried with the two methods in the same VI and put an equality comparison on the berries of the output to check it out.

5. place the terminals of the Page, line and column in their boxes of the discipline concerned obviously clearly indicates how these data are used.

In the pictures below the upper loop shows my changes. The lower loop is your VI. The line and the collar: changed value are identical except for the index is connected.  The black squares show buffer allocations: 2 and 4.

Lynn

Tags: NI Software

Similar Questions

  • Adding items to a table and having the front Table is displayed correctly

    Hi all

    I'm working on creating a .vi who will take an old instrument and allow the operators on the ground record the data automatically instead of reading the data out of the instrument and to have to manually enter in the computer.

    The instrument is configured using a RS232 communication port, I can communicate with the instrument, and I have full control of all functions.

    My problem is when I am trying to gather data and add it to a table existing and then to have the front table information is displayed correctly.  At the end of which this table in its entirety will be saved in a template excel in an existing format, so I can't adjust the way I need to the table to display.

    Please take a look at pictures and give me a hand if possible.  I won't be able to view the .vi due to the nature of my work and I like to read the information of the instrument.

    Thanks in advance for any assistance!

    There is no way to solve this problem by looking at the pictures. Please attach a version of VI simplfied. Is the "FG" table just a driving force?

    What size of the 2D string table that comes out of the table of FG? There may be large enough to hold all the fields as empty strings, then you can (re) place values using 'replace the subset of table' to desired locations.

  • Add Colume in the table and display the result in it.

    Hi guru,.
    I have a requirement to add the column to the existing Table. and display the result after calculation.


    Thank you
    Rutu

    Hello

    Please use this referral code snippet:

    Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;
    OAViewObject vo = (OAViewObject) am.findViewObject (""); Give VO name attached to the region of the Table.
    If (vo! = null)
    {
    vo.addDynamicAttribute (""); Addition of ViewAttribute to VO
    }
    VO. Reset();
    VO. Next();

    Do the math you want to

    Definition of the calculated value in the created attribute of VO
    vo.getCurrentRow () .setAttribute ("", );

    I hope that gives you a proper help.
    Please do not hesitate to ask if more Question

    --
    Thank you
    Shrikant

  • Table not displayed in CSS

    Hello
    I really just learn to use CSS layouts in CS3. I used one of the models of DWCS3 CSS and I have a table for a site registration conversion and while I have in the mainContent div I'm table guard display below the rest of the page instead of just to the left of the navigation DIV. Any help would be appreciated.

    Thank you
    Daren

    Post a link to the page, please.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "drdagwood" wrote in message
    News:febnjp$38g$1@forums. Macromedia.com...
    > Hello,
    > I really just learn to use CSS layouts in CS3. I used a
    > of
    > the DWCS3 CSS templates and I have a registration table for a site that I am
    > conversion and while I have it in the mainContent div but the
    > table
    > keeps the display below the rest of the page instead of just for the
    > left
    > the navigation DIV. Any help would be appreciated.
    >
    > Thank you,
    > Daren
    >

  • Too many Tables?  Display a subset?

    When I use SQL Developer, open a connection and click the + beside tables, I get a bunch of paintings that are empty and those unused by the application. I can't really do something the user associated with the tables/schema since this is 'held' by the application. But what I thought was possible was to somehow keep a list of tables that are really important, and that came when I expand the node tables, rather than having all the tables showing Dungeon. Is there a way to do this?

    -Dale-

    Dale,

    You can use the filters.
    In the navigation pane, click Tables, select 'Apply filter' enter your filter criteria.

    The filter criteria are stored, so that the next time you start SQL Developer, the filter applies always.

  • Replace the subset of table operation

    I have a code to a key VI event down that toggles the visibility of some indicators in response to press the function keys. Records using Boolean shift, the code worked with a few indicators.

    To scale to a large number of indicators, I decided that I would need convert a registry to offset single Boolean array.

    With the shift table Boolean register, for a given function key, the code reverse the Boolean value of the table for the property node Visible, then replaces the same item in the table of Boolean with the inverted Boolean value. The code does not work. Once the indicator is visible, he won't go invisible on the next push of button.

    I watched the execution, display values. Looks like that replace it table subset VI is not replace the Boolean value with the updated value. In the attached screenshot, you can see where I got the element of the array once it has been "updated" to replace table VI of subset. Impossible to find all the bugs in the list of bug LV2013.

    See the attached screenshot. What's wrong with this code? My apologies for the resolution of the screen capture. If necessary, I'll go back to the lab and try to capture a screenshot of higher resolution.

    On-screen turned your empty Boolean arrayis, in other words, it has no elements. Subset of the table Replace does not work with an empty array.

    See you soon,.

    McDuff

  • will not display the table correctly; displays OK in Internet explore all versions

    Table will not correctly display in Firefox; Removes the first section of < b >... < /tr >, move the section 2 of < b >... < /tr > right. The table shows correctly in all versions of IE.

    You should never use several hyphens in a comment.
    Firefox will toggle the status comment after that each two hyphens (-), if you need a lot of luck with this many as in this case:

    <!----------------------------------Geograhphy, etc. ------------------------------------>
    

    Firefox treats the code that follows as comment until the next two "-" found in the next section. You can see through view > Source of Page as green comment.

    <!---------------------------------- Accessibility ------------------------------------>
    

    You're code here shows a < td > additional vacuum that causes a column empty to appear to the left, if that's what you mean.

    <!--<center>-->
    <TR align="center">
    <td>
    <td>
    <Font color="#ff00cc">
    <h2>Charleston</h2></font></td>
    <td>
    <Font color="#ff00cc">
    <h2>Savannah</h2></font></td>
    <td>
    <Font color="#ff00cc">
    <h2>Recommendation</H2></font>
    </TD>
    </TR>
    <td>

    You can use the DOM Inspector to examine the code.

  • Link to information from tables and display the 'best '.

    Hello! I'm totally new to this great software, and the truth is that I lost D:
     
    I try to explain in more detail what I have to do, I hope you can help me please it is urgent T_T

    I do 3 tables must be related to each other, that is to say a table where a username will be manually enter, another where you manually enter the user name and the third which will automatically enter power of each user (for automatic writing, I'll use random data). Each table will have a box number, for example:
     
    Table 1, box 1: Paul
    Table 2, box 1: door
    Table 3, box 1: 3.74
     
    Table 1, box 2: Miguel
    Table 2, box 2: Ramos
    Table 3, zone 2: 4.99
     
    Table 1, box 3: Maelle
    Table 2, area 3: Branco
    Table 3, case 3: 4.98
     
    I mean, I bind the box to one table with the other three. And because the program must compare the data in table 3 (power) and display the data of the user of best (which has the highest power). In this example, the program should appear:
     
    BEST USER:
    NAME: MIGUEL RAMOS
    POWER: 4.99

    (Is not slender record information when I close the program)

    I don't know if I ask you very much, I have a very clear idea in my head of what I have to do, but being a new software for my not know how to implement it.

    Thank you in advance for your quick response and help and ilustrative! xD

    Have you tried something with the basic understanding of your question check if this is what you need?

    -Still not clear what you mean by table? (In my opinion, the table is 2d array of values here, otherwise please let me know.)

    -C' is the reason why I asked you to show your code you did then it will be clearer.

  • subset of table truncate the end of the 2d array

    The intention was to make a program that would generate asynchronous several different signals in a buffer.  Then something would consume the buffer - an output daq, and signal processing.  I created a dummy consumption which takes only 1% over the beginning of the buffer.  Whenever the buffer is smaller than the specified size, more signal will be added at the end.

    I ran into a problem where the function of the subset of the Array is truncate the end of the subset sometimes, so I disassembled the program until a congruent portion of the code exists to cause the problem.  It seems to be the use of memory or related allowance.  Maybe I'm doing something that I shouldn't be, but it seems like a bug in labview.  In the block diagram, I have a note that shows a waveform wire that goes to a case statement.  Just remove this thread causes it to work properly as seen by the consistency of the waveform on the front panel.

    I'm using Labview 2014 (without SP1)

    I would be grateful for any ideas.

    To work around the problem, use the copy always at the moment. I'll try to engage someone R & D of LabVIEW to get the last word.

    In any case, it seems unnecessary to carry all these t0 (which is always zero!) and dt (which is always the same. Constantly from waveforms to bays and back just really clutters the code. If dt would be different between the waveforms, you would have a much bigger problem .

    I understand that your actual code is much more complicated and what you show is just the tip of the iceberg lettuce.

    Here is a general overview of execution project ideas.

    • Use 'building the table' (concatenation mode) instead of "insert into array. It's cleaner.
    • Use simpler and easier to read the code to find the size of the table smaller
    • Only use tables. You can define once and dt for all graphs.
    • Use the correct representation for buffer size controls.
    • Don't place unnecessary sequence structures.
    • I don't think that you really need that local variables, the terminal is written often enough (stops you extra copy of the immense tables in memory!)
    • Do not know what is the structure of matter, but I left it in for now.
    • Add conditionally empty bays, just wire the table via unchanged instead.
    • ...

  • 2D table are displayed in a table, 1 row at the same time

    I use a loop to read a serial port 40 times and display the values in a table of 40 lines and 5 columns.  I have auto index out of the loop For to build the string 2D array. The problem is that the serial port takes too long to respond and the VI takes about two minutes to display the values in the table because it do not do until that loop to complete its 40 iterations. Is it possible to display every iteration it runs? I mean, pass the value of the iteration 1-the 1st line of the table and then make the 2nd iteration, pass its value to the 2nd line of the table and so on? Thank you very much! (Happy Christmas to those who celebrate the it)

    Yes.  Put your picture inside the loop indicator.  Use the Array function to build to build your table.  Insert the table into a shift register.

  • Replace the subset of table does not not for me

    I have a loop IN which I want to use a 1-d output Boolean of the comparison table.  There is a one-to-one correspondence between the index of the loop AND array index, so the number of loops and the size of the table are the same.  I first tried using the function insert in the table, which worked well, except that the table kept gaining in size.  Once I understood that, I replaced it by the function replace table subset, which seemed more appropriate.  However, this does not work: nothing ever appears in the table.  I tried using numbers instead of Boolean values, as an experiment, but that no longer works.  I am at a loss as to what I'm doing wrong or not understand and would appreciate suggestions.  I have attached a picture of the relevant part of the VI.

    Thank you

    Scott

    Note to admin - attachment deleted by user request - 14/04/16

    The shift to your table register is so empty and unitialized.  You can't replace an elmenent that does not exist so that the table remains empty.  You must initialize an array before the loop with the appropriate size and he lead the shift register.

  • Using subset of table with loops

    I have a 2D (m * n) table and I want to look at a subset of this table (x * y). I am having some problems using the subset of the table by doing this. If I want to browse 'y' columns of items containers 'x', I thought I could use a loop with the function of the subset of the array for interior but the resulting table I receive is actually a populated by the diagonal elements of my natal chart. I enclose my current VI where I hope that things.

    For example, if I load an image that is 800px * 600px then my program creates an array of 800 * 600 and each element is the maximum of the value of red, green and blue pixel. So, I want to watch the first 320px * 600px (which is a subset of the array with size 320 * 600). So, how can I use subset table properly to generate that 2d hack? My goal after this step would be to perfom some basic mathematical calculations like averaging on the subset.

    This is what you want?

  • Sudden problem with replacement of subset of table

    Hello

    I was working on my project when suddenly a strange problem appeared.

    I have a graph of intensity with 2 sliders that determine the coordinates of my area of interest. I created a simple solution to get these details and store them in table 1 d (x 0, y0, x 1, y1), hence I take them more later to perform some calculations. Now: it's all working fine and dandy that came out of nowhere share the table stopped storing the coords correctly. I put some sensors and index of the sliders and coordinates the eye to be acquired properly. But, for some reason, the function replace subset table stopped their storage in the appropriate cells. Whenever I move a cursor, its coordinates are now stored in the first two cells of a table. I'm pretty sure that I has not changed anything in the code, so what could be the cause?

    Screenshot attached.

    Oficmajster wrote:

    Yep, I added new cases of events previously: cursor type? It was empty, until he did change and why?

    If you don't the wiring of the table in the new case, the table in the shift register will be transformed into a table empty if running new cases. Once the array is empty, replacement of certain elements will not increase the size of the array, it will remain empty.

    Solution: wire the table across all new cases (if you create tunnels of entry-related, it will be automatically )

  • What class of object for a subset of table vi?

    I use VI of script to create a subset of the table function.  The problem is that I don't know what class of object VI plug on the new node of object of VI.  I tried the function and Index table, but these two cause errors of execution, who say that the selected style (subset of the table) is not compatible with the class.

    And just like a more general question, how do you determine the class to use in general?  I know that the point is that the selected class determines the type of refnum that came out, but I think that whenever I encounter this problem it is a matter of trial and error to determine what will work class VI.

    As you know, a table subset function is not a peer of the front panel, so I can't right click on it to create a reference to know what type it is...

    Thanks for the help

    Use GrowableFunction for the purpose of vi class and the subset of the table for the style. GrowableFunction covers a multitude of nodes...

  • How to replace the subset of table nd with table 1 d to i, j

    Hello

    I am trying to replace a range of values in an array multidimensional, beginning with the cell i, j, both greater than 0, that is to say a square inside the Bay of nD. The new values which replace older ones come from a 1 d table. However, when I provide two indexes to replace table subset block I get a bad wire... I guess it is due to the fact that labview does not know which direction to replace data? Is there a solution to this? I enclose an example vi of what I'm trying to do.

    Thank you very much.

    This should do the same thing without all the extra steps.

Maybe you are looking for