initialize the control table dimension

I use LV 2009 SP1 and you want to create a table 1 d of size control fixed.  The elements of the array are a defined group of different controls (enum and boolean) data type.  Control table will reside on a front panel and will be initialized with the values via the software, but the user will have access to change the values of array element (for example, change the enum and boolean controls.  While the user has access to edit the elements of the array, I don't want the user to be able to add new items in the table.  The table must have a vertical scroll bar, given that the number of elements at initialization of the array can be great and also can vary.  I am familiar with the property of the table "Number of lines", but it only controls the number of visible rows in the table.

Is there a way to set the number of items per program and still have a scroll for the user to index bar using the table, but not add new items?

Also see the attached screenshot for reference.

Thank you

Dan

I found an acceptable solution through the reading of other forum posts.

For others, who may find this useful:

By hiding the display of array index and all the scroll bars, the table can be fixed to the size.  A separate scrollbar is used for the index in the table by writing to the array of Index values property.  The min/max scroll bar may be limited by writing to the Min Doc, Doc Max properties.  I've attached a screenshot of the block diagram.  The value of constant labeled '# lines visible-1' is on the number of items pulled on the panle front less 1 and remains in control of the table of displayiong of the empty elements that allow the user to change.  Also, even if the Page Size property has a value of zero for the scorllbar, which should allow scrolling of the Min Doc to Doc Max, he does not accept it as a valid value and is instead converted to a value of 1.  I introduced a SR on it's a bug because the LV help suggests that the values zero or negative must be acceptable to the Size property of the Page.

I think it's the solution to the question, although it would be preferable that the size of the table control could be fixed size affecting a property element.  I'll see about adding this title of suggestion.

Dan

Tags: NI Software

Similar Questions

  • Using data from the control table

    Hello

    I would like to use the data entered in a table to automate volume/sequence of airflow for a test Chamber. As shown in the screenshot of control table, the first column indicates the number of iterations by elements of array in a series of tests and the second data column specifies the length of each line sequence. Entries in the other columns are specific to different valves and specify values set required in the flow meter.

    I guess my question is how can I index/assign each column of the table such that the data to exploit the respective valves are obtained in subsequent iterations all acquire simultaneously with data from other components in the order? While I recognize that the solution may be very simple, I searched on through various examples and messages on the tables and the tables without knocking on a solution. The attached .vi allows me to be a part of the series of tests.

    Best regards

    Callisto

    Hi Callisto,

    If I understand your question then the solution is actually quite simple. The important point to keep in min is the fact that the Table control can actually be treated as an array of string. You can then use all the traditional table manipulation tools and techniques to manipulate your data as you wish. For example, use the Array Index function to retrieve specific columns and then if you want to spend the individual elements in a column in a loop, wire the table until the loop and ensure that indexing is enabled. If you then want to use these data elements to control your test application, you can convert a portion of the resulting string in more useful to digital.

    All these concepts are illustrated in the attached VI. I hope this helps, but let me know if you have any other questions.

    Best regards

    Christian Hartshorne

    NIUK

  • Vertical scroll bar in the control table

    I use CVI 2012 and using a table control in the editor of the IUR. I started with a table containing 27 rows and 5 columns. The Panel container was large enough to display all the rows and columns, so without scroll bars have been necessary. Then I added more than 14 rows in the table, and a vertical scroll bar appeared on the right edge of the table. «By default, she marched to the bottom of the table, and I tried to change this up by changing"line 41 / 41" to "line 1 / 41" in the editor of the IUR.» He put back the first lines of the table, but the bar scroll also disappeared and I can't seem to restore, even if the table has more lines that can be displayed in the Panel containing.

    In dialog box "Edit Table" editor of the UIR, in the field of the 'appearance of control', the ' scrollbars: ' control has the value ' both scroll bars. I tried a number of combinations in the dialog "Options for size/Scroll...". "so - nothing seems to restore the scroll bar.

    I will attach the UIR file where this is useful. Interest table is the tool 'ID' tab thanks in advance!

    Barry Wealand

    I figured this out. Somehow, the width of the table control had also grown, such as the vertical scroll bar was pushed out the Panel on the right. By adjusting the size of the control so that the width of the table fits once more in Control Panel that contains the scroll bar appears once more.

    Barry Wealand

  • How to initialize the typedef table without losing the typedef

    Hello

    I'm running problems with initialization of a typedef that contains an array of clusters. The attached example updates the Clusters and displays the new table.

    It works great but I would rather to pre-allocate memory the entire table.

    I came with indexing the typedef, using the element for initialization of table vi but with this approach I loose the typedef.

    Is there a good way to initialize the typef?

    Thank you

    Lukas


  • initialize the control to the new default value

    Hi all

    I would like to initlize a control to a new default value? I was looking into property nodes and node of appeal, I can use call node initialization by default, but how to change the value by default in the block diagram? is it still possible?

    Best regards

    so I just read this

    http://forums.NI.com/T5/LabVIEW/make-current-value-default/m-p/777099/highlight/true#M355585

    so I'm asssuming * ini is the way to go

  • Enlarge the cell size in the control table will be slower enforcement program?

    I write data in the table control and to some color the background of the cell. First of all, I work with the table control in the smaller size. After that, when I put my cell more I found that the update data is slower when the cell size is smaller. Is there a solution for this problem?

    I store all my data in the shift register, and then update only to the table. I found that in this way the data will out in faster table and then update a.

  • How to remove select data in the control table

    This problem makes me headache.

    I'm new to labview, when data in a table. a lot of lines and columns. How can remove on the line that I chose. the other lines are remain unchanged.

    I really need help.thanks in advance. It is best to attach the labview program.my is 2009

    That kind of thing does not work with the table that's why I suggested to go for the multicolumn list box. You can do simple.

    Good luck

  • Save control table .cfg with knots of property.

    Hello!

    I have a façade with many (and I mean a lot!) boolean tables in tabs, and I want the ability to save the values selected by the user in a .cfg file, which will be used to make the same selection again without the trouble of clicking on buttons. The only controls that I want to save the value are Boolean tables 1 d of length 7 or 11, and these occur only on some pages tab. others have been setup so that their iteration a false criterion is satisfied and no code is running.

    I managed to get references to each control within each tab, and using a "more specific class' function to reduce it to only the controls in table. However, when this runs, pops up an error of "convert variant data" and use of a probe shows me the reference being called by my property at the time of the error node is to an INDICATOR array, rather than control. I thought that the node of 'controls on the page' and subsequently the control table class specifier would mean that references to other types of table would not make the real case where coming the backup configuration file.

    The indicator in question is a painting of a cluster of two strings and an array of strings, if that makes any sense / has no relevance, and the error occurs on the iteration 1 of the outer loop and the loop iteration 21 internal, corresponding to the control reference 22nd in the second tab.

    I hope that I have the problem clearly.

    There is a property called control? (or indicator?) This will help you sort out them.  I don't remember the exact name of the property, but that should get you close enough to find.

    Lynn

  • How the repeating table inside a control valve?

    Hello

    Does anyone know how to make the repeating table inside a control valve in LabWindow CVI? I see that there is option for a Panel to scale content in resizing, but not available for a tab control. Any ideas?

    Thank you very much!

    Weiming

    I don't know, I understand what you're trying to do, but you can set ATTR_SCALE_CONTENTS_ON_RESIZE on each tab panel.

    GetPanelHandleFromTabPage (panelHandle, PANEL_TAB, 0, & tabPanel);
    SetPanelAttribute (tabPanel, ATTR_SCALE_CONTENTS_ON_RESIZE, 1);

  • initialize the Boolean control

    In a large VI, I need to create a Subvi who chooses between 3 plans (existing Subvi is attached). The problem is whenever I have start the simulation of the chosen scheme of previous simulation is preserved. How do I initialize Boolean controls such as all plans are deselected at the beginning of the new simulation.

    Even your "singleselect.vi" is a Subvi, as is apparent from the connectors assigned. Simple wire all false receipts when you call it. What do you call it?

    Of you want to initialize the shift register is the Subvi flipflop? Use the primitive 'first call' and Boolean logic.

  • A different function is created instead of the expected (table Index instead of initialize array) Labview - a 8.5

    Hey all,.

    I have a really strange behavior here. I'm using LabView 8.5. I open a white VI and try to use the function "initialize the array.

    No matter where and how I find (using search functions, or by accessing the 7.x-> table-> table initialize function), when I drag and drop it off at my VI, what I get is "Array Index" instead!

    Even when I hover over the icon table inside the palette is initialized, with aid switched on (Ctrl + H), what I see is the help page for table of Index. It's as if somehow the index table replaced function Initialize array entirely, with the exception of the simple icon in the palette...

    I tried to restart Labview and my computer nothing works.

    Someone at - he never experience a similar problem? that means, one different function other than for being created. I have attached a screenshot.

    Thank you

    -Anne Marie

    Thanks for your replies.

    My palette is screwed a bit isn't it? Most likely because the installation I chose a bunch of older versions in favor... and I regret it now.

    Funny enough, during the search in the functions that it only brings me version 7.x of functions of table etc... but I can manually find the standard in my palette, and of course, version 8.5 standard functions seem to work...

    I need to finally do an install of cean, but for now, it's all good!

    Thank you

    Anne Marie

  • Control ring during the cell table, but cell entry shows through

    Hello world!

    I have a control panel with a control of the ring which is placed above the active cell on MouseUp.

    Unfortunately the input query (or the old value) of the cell is shown through the ring-control,.

    that's not pretty.

    screenshot:

    I tried different ring-controls, but they all have the same behavior.

    Try to find answers, but the guides to build the configuration of the table-ring that I found it.

    does not mention a solution.

    I hope that some of you have seen the same problem

    and could point me in the right direction.

    : cheers: thx for your time and

    jwscs

    PS. : If the sample code is required I'll gladly provide

    OK, shortly after the display of my question, I had another idea

    I disabled the front table and that did not work, because the rows and columns of the selected cell

    cannot be determined,

    But turning off right after the selection and then later reactivation, resolved at present.

    I would be happy to know that any other method that you guys came.

    : cheers:

  • WRT1900ACS - is there a way to reset/refresh/clear/initialize the DHCP client table?

    I have a WRT1900ACS with the 1.0.1.174588 firmware.

    There are several things that are a little weird. I noticed thre were some features missing in the network map, so I looked at the table of the DHCP client to see if they were there. The customer table is a bit a mess.

    Rather than go into all the details, is there a way to reset/refresh/clear/initialize table of DHCP client? I would rather not reset the default router just to refresh a table? If the customer table is toast, it won't be very easy to track down the other expectant.

    Thanks Olivier. Details have been sent according to you demand.

    millerjr

  • Diff between the Dimension and the staging of Dimension table?

    Hi all

    I would like to learn OBI Apps I'm Consultant OBIEE. While getting some travel queries. Please guide me on this path.

    Thank you

    Dimension ends with D and dimension staging table ends with the DS. Its very nomenclature everything used in the warehouse projects.

    Table _DS will connect directly to the source and will be the largest part of the detials.
    Table D will have the primary Key(Called as ROWWID which will be the foreign key in all the fact table which ot refres too) as well as the table _DS detials.

    Mark correct or useful if this can help,

    Kind regards
    Rayan Vieira

    Published by: Rayan Vieira on June 5, 2013 16:36

  • 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

Maybe you are looking for