The legacy of values on the expansion of the tables

Hello

I have a drop-down list (unlimited package) including rawValue sets/triggers the value field & access to another field of drop-down list (BillStudent) which resides in an expandable row in a table. However, I want all cases/additional lines that are added to the table to inheret the value defined by (unlimited package) when you add more lines.

What I have right now is this where "Admin_Use = name of the form, table 3 = Table name, Row1 = line Explandable and BillStudent = combo box residing in the line.

Under the 'exit' event

If (FlatRate.rawValue == 2) {}

Admin_Use.table3.Row1.BillStudent.RawValue = 3;

Admin_Use.table3.Row1.BillStudent.access = 'protected ';

}

else {Admin_Use.Table3.Row1.BillStudent.rawValue = null;

Admin_Use.table3.Row1.BillStudent.access = "open";

}

The code works as I want it, for the first existing line. However, when I add another line, the new line does not have the same value as the previous. I want to repeat this value for all new instances added to the table.

Thank you very much!!!

J

Hello

I think you can get what you want by moving your code from the output event of unlimited plan for the event of Row1 calculate, so it will look something like;

If (FlatRate.rawValue == '2')

{

BillStudent.access = 'protected ';

BillStudent.rawValue = '3 '.

}

on the other

{

BillStudent.access = "open";

BillStudent.rawValue = null;

}

Note: The reference to FlatRate maybe wrong according to the structure of your form.

Good luck

Bruce

Tags: Adobe LiveCycle

Similar Questions

  • Generation of the table of all values of 30 at a time

    Hey, I measure all 30 temperature both values and generate the table of values of 30

    every minute...

    How to extract a 30 value at the same time and at the same time! I'm a problem inside!

    Here is a version with simpler data structures. Maybe this can give you some ideas.

  • Display several values on the front using the table

    For example, if I enter "10" for number of datapoints, I want to see 10 hexadecimal and binary all values in a column. At present, only 1 value appears and erasing all of the previous values

    Thank you!

    You do not use a shift register to store the values in the table between the fo the loop iterations For.

    It is a fundamental concept of LabVIEW.

    I recommend you watch the LabVIEW tutorials online
    LabVIEW Introduction course - 3 hours
    LabVIEW Introduction course - 6 hours

  • How to calculate the sum of the values of some columns in a table

    Hello

    I want to get the column just the average of the values of some columns not all columns of the table.what I have to change exactly in this block diagram.even if the table size is 25 average, I want the division as the number of values in each column (= number of lines)

    just like that:


  • How to find the value closest in the table?

    Hi all

    I just want to find the value closest from the string table. That I joined herer as an image.

    Now, if I want to find the value of 350 of the string table and that's not in the table in the output array there should be more close 350 display value...

    Thank you for the support

    Vinal Gandhi

    Hi G Vinal,

    something like the joint comes to my mind.

    It may be useful

    Mike

  • build the table when values change at run time

    Hi all

    I have a continuous stream of frequencies that continue to change during execution. I need to make a table of these values. I use the array build function. This option stores the first value only and the order of the day replaces the stored rather than settle down after that. I was going through the examples of labview and I think that by using the shift register can somehow solve this problem. However after an hour of futile play with lag, while loop records and build blocks table that I decided to post on this problem. I would like if someone can delete my concepts as well as a solution. The conceptual linkage is for what the first value to maintains have replaced. If I use the table of generation block the values that come should then fill the following vacant location logically. Instead, it replaces one only.

    You are right that I have simply the case that I warned the first sentence.

    Other methods require a certain amount of planning on the structure of data-handling. It is suggested at least...

    A better approach would be something like a circular buffer where you initialize an array of the desired size (for example 10000 items) and then start to replace the items. You can use the iterator of the loop you have to 'reduce' using quotient & reminder (which is the 'modulo' mathematical operation).

    hope this helps,

    Norbert

  • Get the current index value of the table control

    I have a table control 1 d on a panel that contains a value of temperature curve that I send to a temperature controller. The values in the table are not unique, because for example 40.5 degrees in the table could represent 40.5 degrees on the cycles of cooling or heating. I could have severat heating/cooling cycles programmed into the table. I would like a way to read the array index of the currently displayed item in the array in the up/down control of index on the left of the table control. I could then run curves partial temperature easily by neutrophilia a starting point on the curve in the table control.

    I don't see a property that I can use to get this index value. Anyone have any ideas?

    Thank you

    J

    Use the property 'index values. It will be the first item of the output of a 1-d array.

  • I can't save the numeric values in the table

    When I close the program and run it again, all the values in the array are initialized to zero. I want to have the same previous values that I entered the table before.

    Thanks for your help!

    "' If you still want the same values at the beginning, simply enter all the values in the controls, the ' edit..make the current default values. Save the VI.

  • Values in the table are not default values

    Hi every1,

    I'm working on a VI which relates to the evolution of the points in the chart. Almost, I finished my VI but the thing is that the table of values which

    IAM using here (table Y) do not appear in the value by default when I stop the vi. When I stop and run the vi finally stored values

    Table are defined. One thing is when I click on the stop button is not key to its end. The VI only stops when the stop button goes top

    and then at the bottom. I mean to stop twice the stop button must be clicked. Here's my VI.  Help me to know my mistake here in this

    VI..........

    AAH, I guessed correctly!

    Remove the local var of the button stop & place the terminal itself inside of the while loop inside & it wire directly to the conditional from the outside while loop.

    Please see the attached picture...

  • Find the minimum value of the table in time...

    Firstly that it is not "find the min value in the table.

    It is:

    I have a table that changes its values at each iteration, and I want to compare the new values with previous values and make a new array with the minimum values...

    In C++, it would be like this:

    int main() {}

    int array [8];

    int min [8];

    int i;

    for (i = 0; i<>

    min [i] = 1000000; Initialize minimum table with a high value

    }

    {while (1)}

    Array = update_array ();

    for (i = 0; i<>

    If (array [i]<>

    min [i] = array [i];

    }

    }

    do things...

    }

    return 0;

    }

    IM new to labview and it always confuses me a lot...

    Thanks in advance.

    Using the function Max & Min regular (not table Max & min as you know) with tables and a good will of employment registry change.  Max Min &, as most of the digital functions, is polymorphic and works witt tables as well as scalars.

    Lynn

  • Reset to the default values, the tables

    Hello everyone,

    I work with a program that can perform two different tess in sequence. After that, the program saves the values in the tables to be saved in a spreadsheet. Sometimes, however, suffice to perform a test. However, my program includes in the spreadsheet values of a single test that I decide not to run by taking the values of the previous run. Is it possible to reset the empty tables?

    Thank you.

    I do not see the berries you mentioned in the submitted code, but creating an empty array is simple - a constant matrix has put on the block diagram and fill it with an element of the appropriate type.  For example, here is an empty array of Dbl:

    This thread anywhere where you need a table empty to appear.

    BS

  • Copy and paste the values in the table

    I have a program that has several bays.  Recently, there were about 80 new values more than I needed to add to each table.  I just finished adding new values to one of the tables - is possible I can highlight and copy this entire block of values I added just so I can then paste it on the other tables?  It seems that I can only highlight, copy and paste a value at a time.

    Do it programmatically.  Copy your table to a new VI.  Subset of the table to obtain the portion.  Add a copy of your other table table to build or Insert in the table.  Copy the tables updated to the original location.

  • in writing the new value to the table, do not change the scroll position

    I have a program that writes a new value to a chart of every minute.  (The x axis is time).  I show the last weeks of a data value in the graph, but I also axis scroll bar visible so that users can scroll back to see the previous weeks.  The problem is that if they have scrolls in a few weeks and the graphical update of one minute that happens, the graph jumps at the present time (week last of the watch).  Is it possible to have the table simply stay put even when when a new value is written for her?

    John,

    I believe you can use the property of 'Reporter Panel updated' to achieve this.  Set the property to TRUE on a mouse of the user enter event of the chart in order to prevent the update of the table while the user moves the scroll.  Set it to false on mouse leave. I tried the same thing with a mouse to the bottom/mouse event, but it does not behave as expected.  You can PLAY autour with different events to see what works the best, but this basic technique should work.  Take a look at the attached screenshot for details.

    Dan

  • read the values of an array element and by sending a digital output to a designated channel according to the value read from the table

    Hello world

    could someone help me before I get out of my hair. Here's my problem.

    I read 3 values of an array of 3 elements i.e. 1,2,3. These values are then compared to a constant value, example if the first element of the array is 1 and it meets the comparison condition can send a digital camera of output for that channel on data acquisition

    I want to be able to send a value from a table to its corresponding comparison and then on its designated channel on the acquisition of data, the whole point of this is due to the fact the table element will not always read the value 1,2,3 for example could be 2,3,1

    Here's one the vi I have so far

    If someone could help it would be much appreciated

    all the best

    brand

    Take time to explore the many examples included with LabVIEW that cover the basics.

    -Indexing table

    -reading a spreadsheet file

  • Name of the dynamic property of object in the table based on the value of a variable

    I have two paintings of custom class objects

    var obj1:Object1
    var obj2:Object2
    
    var array1:Array = [obj1[0], obj1[1], ...]
    var array2:Array = [obj2[0], obj2[1], ...]
    

    Object1 has a property named. Name while Object2 has a property named. Title.

    Now I have a common function including cab accepts an array (array1 or array2) and the name of property the object ("Name" or "Title") as input and needs to access this name of the property of the objects in the array:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0].fieldName  = "xxx";
    }
    

    the problem I have this achievement does not because the code in the function assumes that the property of that object in the table is actually a string "fieldName" while I want to dynamically determine the names of the fields based on the value of this variable, but cannot understand the syntax to do!

    Don't know if I'm clear - hope that makes sense... ;-) Thank you

    Hey p3pp3r,

    I think I understood you. Try the following and see if you get good results:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0][fieldName]  = "xxx";
    }
    

    Let me know how it turns out. Good luck!

Maybe you are looking for