Using a value of PeakX as a filter

My question:

I have a channel (NICE) that contains numbers between 8600-99999.  I have a sample County channel that tells me how many times a certain number of NICE hits channel.  Then I do the calculation PeakX and PeakY to determine top 10 of NICE hitters.

I want to be able to take these 10 albums and 7 more related stations one of the top 10 filter.

Final goal is to have 7 new channels with the filter of 10 albums hitters data.

I don't know even where to start.  All channels are digital.  I tried to make a geraric filter/sort using the peak value, but it won't work.  any ideas?

Hi Jcheese,

I think that this last version 3 addressess past queries.

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • How to calculate the variable on the target, but use the value on the source?

    Hi ODI gurus!

    I use LKM MS SQL for Oracle (bcp-> sqlldr).
    I have a variable which is calculated from tables on the target DB (oracle).
    I would use this calculated value in the filter on the source, but I get error ODI is refreshing to variable on the source database.

    It is possible to update value of variable on the target technology and using calculated value on the source technology?

    Thanks in advance!

    Step 1. In the variable - > refreshing tab - > select the schema and the application required for the Oracle database, so you when you refresh the variable, you get the desired result (for example, the ex - value 25 or whatever you are looking for)
    step 2. Call this variable in the Source filter, where the table_source. COLUMN = #VARIABLE_NAME
    Step 3. Call the Variable in refreshing mode, call the interface.
    So that when the variable is updated to the value that is passed and the source table to get the value of its filter.

    If you do pretty much the same things, can you please paste the error, query and your filter condition. So that we can guide you accordingly.

  • List using select value for relationship building

    I have a form of interactive report. I have one "after Header" (LOAD) of the process running the sql commands that will fill a table with the data that the report needs for a given week.

    I have a select list element that works like a "before header" which retrieves a list of the dates in a table. Dates containing only the first day of the week for the past two years. It is called "WEEK_OF" table and the column is called "WEEK_OF_DATE".

    The default value for the select list is the first day of the current week. And then all of the first day of the week of the WEEK_OF table.

    I wish that the process of LOADING using the value in the Select list. So, to start, I would list to display the report to begin with the data of the current week and the current week.

    So I tried to use the variable: WEEK_OF_DATE (name of the element) as the start date of the report. However: WEEK_OF_DATE is null.

    Also, after that I have the status, I would choose a new date in the list and have the report automatically refreshes with the new data.

    Any ideas what I am doing wrong?

    Hi Lyle,

    When you set a default value for a selection list that should be used to filter a report, I thought it best to do using a calculation, dependent on the element is NULL and the header before running. If other calculations are based on this value, it should have the sequence number low to ensure that the value is available for those.

    Andy

  • Can I use data value references with a functional overall?

    Can I use data value references with a functional global?  I am trying, but it causes problems:  I run the attached VI with "new DVR" selected.  Then I run it again with "return array" and I get the error 1556: "The reference is invalid. This error might occur because the reference has been deleted."  It seems to have forgotten the DVR, but I thought it should be stored in the shift register.
    
    Another odd thing:  In my VI, if I try to connect the wire shown in "something strange", then the type changes (from U16 array to DBL), i.e. it doesn't recognize the type referenced by the DVR.
    
    I want to pass a very large 4-dimensional array between parallel loops with a functional global.  To avoid memory problems, I want to use a DVR and in-place element structures.  If that's not allowed in Labview, I will try passing it through a user event or notifier.  Any problems with those alternatives?
    
    Thanks.
    

    I received a response from an engineer applications OR on this subject, and it seems that it is perhaps a problem with Labview.  They are working on it, so I'll go ahead and close this discussion.

    Thanks for the help,

    Allan

  • You can use the value of a digital indicator in a digital control?

    Hello!

    I have to develop a code where I need to find the maximum value of a waveform and draw a line at 50% of the value. So I chose find the amplitude of say 10 cycles of waveforms and found the maximum value of the amplitude.

    But my real problem is, I have to use the maximum amplitude value I get from the table VI maximum and back into a program to calculate the value of 50%.

    So it is possible to use the value of a digital indicator and put it in a digital control? As in MATLAB or C, you give a name to the variable and use it later to do all the calculations. Is it possible to do something similar in LabVIEW?


  • Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    What is your version of JDev?

    Actually your question is not clear to me, but as I understand, it is you the table in the page and you have popup inside this popup you have the button you need when you click on the button to read the value of the selected table row. In the listener action button, so if you can get the current row of the table and after that you can get any attribute of the line as:

    DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
    Row r = iter.getCurrentRow();
    Object value1 = r.getAttribute("attribute1");
    Object value2 = r.getAttribute("attribute2");
    
  • Treatment options for form (use the value of a form field to select a shared list or a web redirect page)

    Hello

    I tried something with the processing of the forms which doesn't seem to work. I wonder if the function really works or if I'm doing something wrong.

    Here is an example of what I do: I have a form that I want to use. I add "Web Page redirection" processing step to my form. When I click on the processing step to set up, under "General settings" there is an option that says "Choose how the launch of destination page is selected." In this drop-down menu, there are three options: always redirect to the same landing page, use a drop-down list to select the landing page and the value of a form field allows you to select the destination page. I have a hidden field on the form that contains the URL of the web page to which I would like to redirect. When I select 'Use the value of a form field to select the landing page', I select the hidden field to the field that contains the URL of the web page to which I want to redirect. It's my setup. However, when I submit the form, nothing happens, I do not redirect to the URL contained in the hidden field... This function still works? I'm doing something wrong? I can't seem to get the function "Use a drop-down list to select the destination page" to work either. The same thing happens when I try to use the "Add Contact to shared the list" processing step. I add the name of the list that is shared in the field hidden, but the contact does not appear in the shared list... These functions still work? If yes how do I configure them?

    Thank you!

    Well, I understood the problem of the shared list... You must add the ID of the list shared in the hidden field. I had to use Firebug to see the real ID of the shared list. Once you have the ID, use you it as a static value in the field. If the HTML code of the form will look something like this:

    If you do not use the lookup data ID. You use the ID real asset on the shared list. You must use something like Firebug to find.

    I'm glad everything is working.

  • I'm writing sql that uses the value of a form element to calculate the value in the element anothet.

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    SteveKerry-Oracle wrote:

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    To use a value of element in SQL or PL/SQL of APEX block, use a reference variable to bind that precede the name of the element of the colon ("": "):

    select
        ("Data_PSDM_Fcst"."Month1_Act" + "Data_PSDM_Fcst"."Month2_Act" +"Data_PSDM_Fcst"."Month3_Act") as "QT4"
    from "Data_PSDM_Fcst" "Data_PSDM_Fcst"
    Where ID = :P5_ID
    

    I also highly recommend that you stop what you are doing now, remove all database objects that were created with identifiers respecting case-sensitive and re-create them according to standard practical Oracle so that they are case-sensitive. By the database SQL language reference:

    Note:

    Oracle does not recommend the use of identifiers in quotes for the names of database objects. These city identifiers are accepted by SQL * Plus, but they may not be valid when using other tools that manage database objects.

    Names of objects sensitive to case and between quotes identifiers will only cause confusion and error.

  • Using a value of form field to add it to a group of Contact treatment step

    Hey guys,.

    I followed the instructions on the post of Heather trigger several actions with an email clicks (via 'send blind form') and everything works great except for one thing. One of my processing steps must be added to the Contact Group, and I want to use a form as the value for this field. I have a created contact group called testContactGroup and I get this exact text as the value field in the query instructions string, but unfortunately, no matter how I try, this step gets ignored. The only time it running is if I use a coded value in hard, constant. Here's the URL that I use:

    http://now.Eloqua.com/e/F2.aspx?elqFormName=GDCGenericBlindForm & elqSiteID = 927 & MP = myTestMarketingProgram & CG = testContactGroup & e = < span class = "eloquaemail" > </span > EmailAddress & url = http://www.McAfee.com/

    As I said, everything else works. I have set up processing steps for updating the registration of contact and then redirect the user to a URL - while using the values of form sent to the query string field. Only adding to the Contact Group does not work. I can only imagine that it's looking for something other than the name of the contact group. I'm not sure.

    The cool thing about Heather here process is that you can use this a blind form to treat a great many different campaigns, but if I hardcode the Contact Group in the area add to the stage of processing of Contact Group, re-use of this form goes out the window.

    Has anyone met cela and if yes, do you have a solution?

    I met the same problem with the stage of email send where the e-mail name in a form never worked field.

    I used the ID of EmailDefinition, in the same way in your case, you will need to enter the ID of the Contact Group. To get the take ID your mouse on the name of the Contact Group when displayed in the recent items, you will see a code js appearing at the bottom of the left panel. Its just there. ContactGroup_Details ().

    Let me know if you have any questions.

  • using the function - how to use the values of the input variables on the table select statement names

    Hello community, I have a problem when creating a function. The purpose of this function is to check the table of weather gave yesterday or not. We must check this on different tables on different sachems. We are creating a function with input variables.

    CREATE OR REPLACE FUNCTION IN_SCHEMA.IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    )

    RETURNS INTEGER

    AS

    -Declaring variables

    v_is_true INTEGER.

    BEGIN

    SELECT

    CASE

    WHEN MAX (in_datefield) = TRUNC(SYSDATE-1)

    THEN 1

    ON THE OTHER

    0

    END

    IN

    v_is_true

    Of

    in_schema.in_tablename

    ;

    RETURN v_is_true;

    END;

    /

    When creating, I got error: [error] ORA-00942 (44:19): PL/SQL: ORA-00942: table or view does not exist

    How to use the values of the input variables on the table select statement names?

    Hello

    Here's a way you can use dynamic SQL statements for this task:

    CREATE OR REPLACE FUNCTION IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    in_first_date DATE DEFAULT SYSDATE - 1,.

    in_last_date DATE by DEFAULT NULL

    )

    RETURNS INTEGER

    AS

    -IS_YDAYDATA_TO_TABLE returns 1 if in_schema.in_tablename.in_datefield

    -contains all the dates in the in_first_date of the range through included in_last_date

    - and it returns 0 if there is no such lines.

    -If in_last_date is omitted, the search only the data on in_first_date.

    -If in_first_date is omitted, it defaults to yesterday.

    -Time parts of the in_first_date and in_last_date are ignored.

    -Declaring variables

    sql_txt VARCHAR2 (1000);

    v_is_true INTEGER.

    BEGIN

    sql_txt: = 'SELECT COUNT (*).

    || 'FROM ' | in_schema | '.' || in_tablename

    || 'WHERE ' | in_datefield | ' > =: d1'

    || «AND» | in_datefield | '< >

    || 'AND ROWNUM = 1';

    dbms_output.put_line (sql_txt |) '= sql_txt in IS_YDAYDATA_TO_TABLE");  -For debugging

    Sql_txt EXECUTE IMMEDIATE

    IN v_is_true

    With the HELP of TRUNC (in_first_date) - d1

    TRUNC (NVL (in_last_date

    in_first_date

    )

    ) + 1                -- d2

    ;

    RETURN v_is_true;

    END is_ydaydata_to_table;

    /

    DISPLAY ERRORS

    If you must use dynamic SQL statements, put all the SQL statement in a single string variable, such as sql_txt in the example above.  In this way, you can easily see exactly what will be executed.  Comment out the call to dbms_output under test is completed.

    Try to write functions that will address not only the question that you have now, but similar questions that you may have in the future.  For example, now that interest you only to the verification of the data of yesterday, but later, you might want to check another day or range of days.  The above function combines the convenience of a function simple (looks like yesterday data if you don't tell him otherwise) with the power of a more complex function (you can use the same function to check any day or range of days).

  • I've created a form that uses the value field text to fill the text of another field.  Does not take into account changes

    I've created a form that uses the value field text to fill the text of another field.  However, if I need to change the text, the second field does not update this change.  Instead of reset the form each time, is the Javascript code to update the fields if they have been modified?

    For example I Text1 and Text2.

    When I type in Hello in Text1 I see Hello in Text2.

    Later, if I decide to change to Goodbye Text1, Text2 remains Hello.

    The shape of the hoe can recognize this change?

    Thank you

    Edit: I think I have misunderstood the situation.

    If you want to both fields have the same value, just to give them the same name.

  • How to use a value in a variable as a table name in a query?

    I fetch a value in a variable like:

    < select application_short_name in the fnd_application l_appl_nm where application_id =: p_appl_id >

    Now, I need to use the value retrieved in the variable "l_appl_nm" as a name of partition table in the following query.

    Anyone can guide me please on this concept.

    Expected answers as soon as possible!

    Create dynamic SQL statements with your variable, and then run this SQL with the "EXECUTE IMMEDIATE" command.

    Thank you

    Lokesh

  • Assignment of identifiers automatically or using the value of basic in the rules

    The question is quite simple. I want to order the instances of an entity. How these bodies are classified are of no importance. The problem is that the only information available on instances of the age, which may be one of several bodies and makes impossible to order. Is there any way to assign an identifier automatically apply this ranking, say 0... the number of instances - 1 or is - it possible to use the value of an instance of rules?

    A loop is a bad choice here - a recursive function would end in the same logical dilemma on the tie-break as you you. (If I can offer any advice it would be that the rule loops should be a last choice as a general rule, not a first, they are certainly not as easy to manage as recursive functions in a standard programming language).

    Essentially, you want to work on the price of the ticket (IE an attribute at the level of the entity of ticket):

    the price of the ticket =
    0; If the number of tickets more expensive than me + number of tickets as well as me<= number="" of="" free="">
    nominal value * number of tickets I have to pay for my price/number of tickets, the same value as me; If the number of cheaper tickets than me < number="" of="" free="" tickets="" and="" number="" of="" tickets="" more="" expensive="" than="" me="" +="" number="" of="" tickets="" same="" as="" me=""> number of free tickets
    otherwise the price of the ticket face value =

    where the number of tickets I have to pay for my price = number of cards of the same value that me - (free tickets - number of cheaper tickets than me)

    As I said, you can use alleged relationships to help you work on:
    number of cheaper tickets than me
    and
    number of tickets as well as me

    Published by: Sean Reardon on April 11, 2013 08:35

  • Can we use the value of a variable in a warning message

    I have a variable in forms6i. I want to use the value of this variable in an alert message. How is that possible?

    Gul says:
    I have a variable in forms6i. I want to use the value of this variable in an alert message. How is that possible?

    Try

    DECLARE err_txt VARCHAR2(200) t;
     al_id ALERT;
     al_button Number;
    BEGIN
    al_id := FIND_ALERT('My_Error_Alert');
    SET_ALERT_PROPERTY(al_id, alert_message_text, 'Hello how are you mr. variable '||:variable_name );
    al_button := SHOW_ALERT( al_id );
    END; 
    

    Hope it works...

    Hamid

  • Using the values of default setting with the functions or procedures?

    If you have a procedure or a function that has DEFAULT values reported for some parameters How do you call this function or procedure when you want to use some of the default values? I tried...

    myProcedure(202,,);
    myProcedure (202, ",");
    myProcedure(202,null,null);
    myProcedure (job_id = 202);
    myProcedure (job_id = > 202);

    None of the above worked.

    PROCEDURE add_job (job_id IN jobs.job_id%TYPE
    job_loc IN jobs.job_location%TYPE DEFAULT 145
    mgr_id IN DEFAULT jobs.mgr_id%TYPE 30
    );

    Thank you.

    EDIT: I will say that it is a simplified example. Imagine you please a parameter list much more great and perhaps half having DEFAULT values. Thank you.

    PROCEDURE myProcedure (job_id IN jobs.job_id%TYPE
    job_loc IN jobs.job_location%TYPE DEFAULT 145
    mgr_id IN DEFAULT jobs.mgr_id%TYPE 30
    init_id IN jobs.init_id%TYPE
    sal_id IN jobs.sal_id%TYPE 100 by DEFAULT
    , clock_id IN DEFAULT jobs.clock_id%TYPE "A".
    shift_id IN jobs.shift_id%TYPE
    , lot_id IN DEFAULT jobs.lot_id%TYPE «BACK»
    );

    Published by: davejjj on March 20, 2013 16:47

    Hi davejjj,

    Here is an example of calling your myprocedure. This example uses default values for sal_id, clock_id, lot_id

    declare
      procedure myprocedure (
        job_id     in jobs.job_id%type,
        job_loc    in jobs.job_location%type default 145,
        mgr_id     in jobs.mgr_id%type default 30,
        init_id    in jobs.init_id%type,
        sal_id     in jobs.sal_id%type default 100,
        clock_id   in jobs.clock_id%type default 'A',
        shift_id   in jobs.shift_id%type,
        lot_id     in jobs.lot_id%type default 'BACK'
      );
    begin
      myprocedure (job_id     => your_job_id,
                   job_loc    => your_job_loc,
                   mgr_id     => your_mgr_id,
                   init_id    => null,
                   shift_id   => your_shift_id
                  );
    end;
    /
    

    This, however, will NOT WORK, because myprocedure doesn't have a default value declared for init_id

    begin
      myprocedure (job_id     => your_job_id,
                   job_loc    => your_job_loc,
                   mgr_id     => your_mgr_id,
                   shift_id   => your_shift_id
                  );
    end;
    /
    

    Concerning
    Peter

Maybe you are looking for

  • Satellite L500 is OFF and the Green LED flashes if hooked on sector

    Help! I have a L500 which is not outside the green light flashes when the power cable is plugged in, but does nothing else

  • Cloud can discover no device

    Seen my RN10400 for about a year now and no problems to use it as a storage for network device domestic. Now I truying to create clouds for users permissions, but after the steps in the manual I got nowhere. To invite users to clouds I need to access

  • I'm trying to uninstall aol, but when I go into Control Panel, programs, it is not listed.

    I sent emails to people in my address book with spam like viagra and weight loss stuff, but I'm not the one doing it.  I bought cc cleaner and fix computer from aol, but it's always the case.  Help.  I kmow aol isn't the best and problems, but I had

  • Hello Q5 blackBerry

    Unfortunately, I was in China and left my Q5 plugged in all the time I was away.  No techno knowledge I have.  However, I am looking to buy a battery for my bQ5 I'm connected by FIDO.  Can someone help me, all I want is a battery, please.  Where is t

  • Complete dataModel with CustomObjects and show in a ListView

    Hey all,. I created a class with properties. Now, I want to add this class objects to a DataModel and view the properties of a ListView. A simple example: class CustomClass { QString name; QString age; QString something; } I create the ListView in Qm