Remove multiples of the table

Hello

I am trying to remove multiples of a fundamental frequency of a table of frequency points.  An additional question with this deletion, is the multiple of the fundamental frequency of the table may be within a range, as at ± 1 k.  Any help will be greatly appreciated.

Thank you

hiNi.

This give a try.  Want to watch the rest and then configure a few beaches based on the desired accuracy.

Tags: NI Software

Similar Questions

  • How to remove columns from the table on the master 1-0?

    I have an array of 96 columns with strings. I also have the array of int 96-elemets (mask) with 1 and 0.

    What I want to do is to is to remove (or hide - but I read that it is not possible) all the columns with index corresponding to 0 in the mask table.

    example:

    columns in the table

    1 2 3 4 5

    mask

    0 1 0 0 1

    I want to remove the columns 1, 3 and 4 and leave only 2 and 5 in my table.

    How can I do?

    If I create loop for with i as the index of the column, when I do DeleteTableColumns() columns number decreases, and I get an error of range out of

    Or do I have an option to hide the unnecessary columns (not set their width to 1, it's very ugly-looking)?

    Please help me (())

    Hello rovnyart!

    1. removal of columns in the table:

    I suspect that the reason why you get the out-of-range error is due to fact that in your loop, you delete the columns in the table, you'll eventually end up by referring to a column that no longer exists, because the other columns before it have been deleted. While you remove each column of your table in the loop for example, the column index number will move, because you deleted the other columns in front of her.

    To resolve this, even if you delete a column in your loop, make sure that you take also into account that the index of the column is moved because of the removed columns.

    2 hide columns in table:

    You can use the ATTR_COLUMN_VISIBLE attribute to hide columns in the table:

    http://forums.NI.com/T5/LabWindows-CVI-idea-exchange/add-attr-column-visible-attribute-for-table-Col...

    http://zone.NI.com/reference/en-XX/help/370051Y-01/CVI/uiref/cviattrcolumnvisible_column/

    3 alternatives:

    Note that another alternative would also use a tree instead, control as the tree control also supports the hidable columns:

    http://forums.NI.com/T5/LabWindows-CVI/table-hide-column/TD-p/569773

    Best regards!

    -Johannes

  • Disable "insert the front element / remove item ' in the table

    Hello guys.

    It is possible to deacitvate function "insert the front element / delete" appears after right-clicking on a table in the front?

    "Description and trick" should stay.

    Thank you.

    Alex

    You can customize the context menu to remove elements of the request and keep others:

    Click on the table (and not on the array element!) in the Panel and select Advanced-> Menu contextual Run - Time-> Edit...

    This brings the context Menu Editor:

    Change the control drop-down menu of "Default" to "Custom".

    Select it "?" line in the tree on the left control.

    on the right, change the element Type of the "user position" «Application point-> Description and Tip...» »

    It automatically fills the corrent name and the tag.

    Save the rtm either in a file or in the control.

    LV will automatically manage elements of the application in the control, any necessary events.

    I sometimes find the function "Menu copies" of the context menu very useful if I want to just disable some elements.

    http://zone.NI.com/reference/en-XX/help/371361G-01/lvconcepts/customizing_vis/#Customizing_Menus

  • Add and remove users from the table

    Hi, guys. I do a system that allowed admin in the user control.

    The ID is = admin

    The neck is = 6649481

    Can someone help me to check add it and remove the part.

    Actually, it may work, but I would like to make he repeats no is allowed, but it works on the index of '0' and then index 1, it will not stop the user to add id repeated.

    Delete if I had to remove the loop will be fine and work well, but it can only remove the top. It's like first first concept but I would like to do as a function of the ID given to remove from the table.


  • remove duplicate in the table items

    I use under the code to two areas of clips. On the left 10 clips consisting of 2 columns and 5 rows. On the right an exact replica. It starts with the clip 1 on the left, as it is duplicated on the right, then clip 2 on the left, as it is duplicated on the right etc. Until the left and right are the exact same 10 clips in the same order.

    Now, I've added an event listener. The way I'd like it works when I click on for example the clip 4 left, not only this clip should be removed, but also his counterpart cut 4 right. And even the opposite effect: by clicking on the clip on the right 4 should remove both the right claw 4 as the left clip 4.

    The way I work now is is that if clicking the clips on the left. Who removes this clip and the clip on the right. I use indexOf to mid-range. By removing the clip on this site indexOf, which would be a clip on the left and the right clip by adding 1 to that indexOf. Since in the table, the clip of law (duplicate) immediately follows the left (foreground).

    Of course this does not the other way, when I click on a good clip first. Because I then have to subtract 1 from the location of indexOf to get the left clip version. But I can't think of a way to determine if the item clicked on is on the box on the right or left. I commented on this second line removeChild since it does not work when you click on a clip to right.

    Can anyone thing of the kind?

    var clipcopies:Array = new Array();

    for (var: lines: uint = 0; lines < 5; lines ++)

    {

    for (var cols: uint = 0; < 2; passes passes ++)

    {

    for (var: Cops: uint = 0; < 2; cops cops ++)

    {

    var character: clips = new clips();

    persona.scaleX =. 5;

    persona.scaleY =. 5;

    persona.gotoAndStop(cols+1+rows*2);

    Persona.x = (COL * (persona.width + 20) + 10) +(cops*300);

    Persona.y = (lines * (persona.height + 20) + 10);

    persona.addEventListener (MouseEvent.CLICK, clickPersona);

    addChild (persona);

    clipcopies.push (Persona);

    }

    }

    }

    function clickPersona(e:MouseEvent):void

    {

    var thisclip:uint = clipcopies.indexOf (e.target);

    trace (thisclip);

    removeChild (clipcopies [thisclip]);

    removeChild (clipcopies [thisclip + 1]);

    }

    use:

    var clipcopies:Array = new Array();

    for (var: lines: uint = 0; rows)<5; rows++)="">

    for (var cols: uint = 0; cols)<2; cols++)="">

    for (var: Cops: uint = 0; cops)<2; cops++)="">

    var character: clips = new clips();

    persona.scaleX =. 5;

    persona.scaleY =. 5;

    persona.gotoAndStop(cols+1+rows*2);

    Persona.x = (COL * (persona.width + 20) + 10) +(cops*300);

    Persona.y = (lines * (persona.height + 20) + 10);

    Persona.Name = line + "," + COL + "," + cops;

    persona.addEventListener (MouseEvent.CLICK, clickPersona);

    addChild (persona);

    clipcopies.push (Persona);

    }

    }

    }

    function clickPersona(e:MouseEvent):void {}

    removeChild (MovieClip (e.currentTarget));

    removeChild (getChildByName (e.currentTarget.name.split (",") [0] + ',' + (1 - int (e.currentTarge t.name.split (",") [1])));)

    }

  • remove items from the table

    Hi all

    If I have the table as

    var my_Arr:Array = new Array ("a", "b", "c");

    and I have a button to use a random element of the array of ths, y at - it no to remove this element if I press the button once again I don't think the last item?

    could someone help me...?

    thnx

    Wael


    var someArray:Array = [1,2,3,4,5,6,7,8,9];

    someArray.shift (); remove the first value (1)

    someArray.pop (); remove final value (9)

    If you type: untableau. then comes a list of possibilities and you can see that makes each of them, e.g. .reverse probably reverse the table e.g. 9, 8, 7... etc.

  • Add / remove rows from the Table

    Hello

    I'm really new to LiveCycle ES 8.2 (= non-existent knowledge of JavaScript) and has difficulties to create a table that can add / remove lines.

    I found a model that has the feature I need, but am unable to reproduce the table. (Ref. "Fax Cover Sheet_SW.pdf' http://forums.adobe.com/message/2561553#2561553)

    Even when I create a new blank form, and then copy / paste the table (subforms: 'detailHeader' + "detal") in the new, blank forms, the table stops working. The buttons are more clickable in the LiveCycle 'Preview PDF'

    In the new, blank forms, the 'Paging' and 'Binding' tabs have some or all of their features grayed out.

    I tried the following:

    1. Save the form as an "Adobe Dynamic form XML (pdf)"
    2. Make sure all of the 'content' subform fields were set to "Position" instead of "Flowed".

    What am I missing, like all JavaScript copied on, but for some reason any does not work.

    4 things you need to correct your form...

    (1) Page1 subform needs tobe Flowed the value.

    (2) then the link to the Subform1 tab will be active. You must check the box "subform to repeat for each item of data.

    (3) in the Add button to Subform1 you missed 'instanceManager' in the code...

    Subform1.instanceManager.addInstance (1);

    (4) in the same way in the button Delete

    Subform1. instanceManager. removeInstance (this.parent.index);

    Thank you

    Srini

  • remove items from the table and resize the matrix

    Hello, I'm new to Labview so I'm struggling with ideas. I have the following matrix

    A = [1 2 3 4

    5 6 7 8

    9 10 11 12

    13 14 15 16]

    I want to get only follows resized in a matrix with items 6, 7, 10 and 11, that is

    B = [6 7

    10 11]

    I appreciate your help

    On the table-online matrix palette, there is a function to get a submatrix.

  • Bigger disk-swapping, but down two, possible to remove them from the table, and then expand?

    I have a R710 with a PERC 6 / i, Win 2008 R2 running. I have a small disk for the operating system, the other 5 bays are filled with 1 TB disks in a RAID array-5.

    I need to add more storage, so I want to buy three discs of 3 TB. I plan on the withdrawal of old readers, and then put it in the new, bigger. I assume that it will take 1 of the 3 TB and repair. Leaving free 2 TB disk. Repeat this step twice more, which will result in three discs of 3TO with 6 TB of disk space not used in the RAID.

    Is it possible to have the controller expand storage in my table of RAID-5 existing free space, and then delete the two remaining 1 TB disks in the array?

    Who is? Is it still possible? Or do I have to backup the data on another storage device and delete the table and simply start a new one with the three discs of 3 TB and copy the data back?

    This will not work:

    (1) the PERC 6 won't take 3 TB drives; the maximum size is 2 TB.

    (2) you cannot delete records in a table - your RAID 5 5x1TB must always have records of 5 or more (you can add without deleting).  Even when using the same number of disks, isn't it possible to do the smaller table/VD.

    (3) even if you used 2 TB disks, there is no way to expand the RAID 5 using the extra space on the disks - with 5 disks in RAID 5, it will remain the same size. The only thing you can do with the new space is to create a second RAID array on the disks (called "slice").  This new VD is handled by the operating system as another "drive."

    Keep in mind if backup and restore in a larger painting, as if the VD ('disc') is greater than 2 TB, the disc "" MUST be converted to GPT and active UEFI bootmode (instead of BIOS).  Make sure that your backup software is capable of restoring one using the BIOS install on a system UEFI (and the 'disc' TPG 'disc' MBR).

  • Remove the table if the value not in APEX_APPLICATION. G_f01?

    Hello again!

    I have an apex_application.g_f01 that contains the values in the boxes, now I want apex to remove rows from the table that contains values that are not present in the G_f01 (what are disabled) on submit.

    I can't understand the sql code to do this, could someone give an example?

    This can be a simple thing, but I'm getting confused a lot with sql, maybe because I just php and java.

    EgaSega wrote:

    I have an apex_application.g_f01 that contains the values in the boxes, now I want apex to remove rows from the table that contains values that are not present in the G_f01 (what are disabled) on submit.

    I can't understand the sql code to do this, could someone give an example?

    This can be a simple thing, but I'm getting confused a lot with sql, maybe because I just php and java.

    One possibility would be to create a collection of APEX containing key checked values and use that as the source of the lines to be kept in the SQL delete. Something like:

    begin
    
      apex_collection.create_or_truncate_collection('CHECKED_VALUES');
    
      for i in 1..apex_application.g_f01.count
      loop
        apex_collection.add_member(
            p_collection_name => 'CHECKED_VALUES'
          , p_c001 => apex_application.g_f01(i));
      end loop;
    
      delete from t
      where not exists (select
                           null
                       from
                            apex_collections c
                       where
                           collection_name = 'CHECKED_VALUES'
                       and c.c001 = t.id);
    
    end;
    
  • Problem with the removal of the first row of the table

    Hi all

    I have a problem with my forms with tables where I have buttons to add or remove rows from the table. Adding the lines works fine but deleting lines has a problem when deleting the first row. Example: Here is a table with two rows where column 1 has the add and remove buttons and column 2 user imput that looks like this:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 2
    Add and remove buttons hererank 3

    If the user deletes line 2 the table looks like which is correct:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 3

    If the user deletes line 1 then the table looks like which is false since the ranks 2 and 3 should be left:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 3

    The code is pretty simple:

    Table3.row2.instanceManager.addInstance (1); for the click event of the button Add line

    Table3.row2.instanceManager.removeInstance (1); for the click event of the button Delete line

    What I am doing wrong?

    Thanks in advance!

    Al

    The expression will be based on your structure... done .This refers to the current object, parent refers to the container parent of this object and index is the index of this object. So watching your hierarchy and from the key, you will need this.parent to join the line subform is it in (usually it is th esubform that repeats). If it's in a subform, you will need to add another parent. Continue on this road until you get to the repeating subform and then ask its index. Your expression might look like this.parent.parent.parent.index. Using this.index, you find the instance of the button object and there are just people and that's why you always get 0.

    Make sense?

    BTW your form is attached not... so I can't check what you should put it.

    Paul

  • in the tables on Pages duplicate entries

    I have a Pages ' 09 with a table document. It contains hundreds of entries. There seems to be a lot of duplicates. Instead of using all of them manually find and delete, is there another way to do this? Also, how can I stick to the top of the table and remove empty lines after deleting of entries?

    Frank

    There are no controls in Pages ' 09, or Numbers ' 09 to remove duplicates of the tables. There is a checkbox in Excel to remove duplicates. There is also a checkbox in LibreOffice Calc under data: filter: Advanced Filter: Options for removing duplicates. Copy / paste your table of Pages in one of these applications and once that duplicates are eliminated, paste the content in a table of Pages.

  • Of the data in the table to get a tree using declarative and perform operations above.

    Hello

    I use Jdeveloper 11.1.2.4.

    I'm creating a declarative component. The component is supposed to display the data in a table and allow the user to remove entries of it.

    The table should be included in a pop-.

    From now on, I made a picture of the tree within a collection of panels. I'm creating a tree in the pagedefinition of the ViewController project file and passing the tree of the same model to the component attribute declarative. After binds the attribute passed to table component tree declarative, I am able to fill lines. First please let me know if my approach is correct or not. The user can select any row of the table and press delete. The button must remove the entry from the table. Is it possible to remove operation on the table in the declarative component.

    Thank you

    First of all, please let me know if my approach is correct or not.

    Seems ok

    The user can select any row of the table and press delete. The button must remove the entry from the table. Is it possible to remove operation on the table in the declarative component.

    You have several ways to do this:

    (a) similar to the declarative component attribute, you can bind methods, for example: ADF Essentials eCourse - declarative components ADF: work with methods

    (b) pass the name of the iterator to your component and then use it to remove programmatic in backing bean

    (c) create pageDef declarative component for, something similar to this: ADF practice: liaison for component container declarative

    Dario

  • How to capture what oracle object delete rows in the table?

    Hi all

    I have a table in which I am storing data deleted from the main table. I have a delete on the main table statements in the various packages, now I want to capture what sql statement what package is remove rows from the table. I created the trigger to insert data into the backup table. I'm using oracle 11g.

    Please help me...

    Thanks and greetings

    Vidyasagar.B

    You can use DBMS_UTILITY.FORMAT_CALL_STACK.
    
    SQL> create table t
      2  (
      3    no integer
      4  );
    
    Table created.
    
    SQL> create table t_log
      2  (
      3    str clob
      4  );
    
    Table created.
    
    SQL> create or replace trigger t_trig before insert on t
      2  begin
      3     insert into t_log(str) values (dbms_utility.format_call_stack);
      4  end;
      5  /
    
    Trigger created.
    
    SQL> create or replace procedure p
      2  as
      3  begin
      4    insert into t (no) values (1);
      5  end;
      6  /
    
    Procedure created.
    
    SQL> create or replace package pkg
      2  as
      3     procedure run;
      4  end;
      5  /
    
    Package created.
    
    SQL> create or replace package body pkg
      2  as
      3     procedure run
      4     is
      5     begin
      6       p;
      7     end;
      8  end;
      9  /
    
    Package body created.
    
    SQL> exec pkg.run
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from t_log;
    
    STR
    --------------------------------------------------------------------------------
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    3abbbc6d8         1  anonymous block
    3ad03bf88         2  KARTHICK.T_TRIG
    3a51a18a8         4  procedure KARTHICK.P
    3ac4f1508         6  package body KARTHICK.PKG
    3ac91c250         1  anonymous block
    
  • value of selectOneChoice in the table gets reset to true visible table

    I have a table with 2 columns. 1 column a inputtext A and another selectOneChoice B.

    Also, I have a selectOneChoice more C above this table. On the "X" value in the drop-down list selection, the table above becomes true visible.

    But at the same time, the selectOneChoice B reset to a value of zero instead of having the value extracted from DB.

    A inputtext has no effect. It displays the value extracted from DB.

    If we say that the table are refreshing causing to reset selectOneChoice B. It is seems to be wrong. Below this table, I have 2 button to add and remove rows from the table.

    Add / delete, table gets refereshed but selectOneChoice B loses its value.

    Before the page loads, set the bean attribute which is used to visible.

Maybe you are looking for