display the values of the sample on a graph

Hallo!

I have a problem with a graph, the thing is that I really showed values of Y of the samples on a chart. There is a possibility to make a comment (as in attached photo) but I need the waltz instead. Any ideas? Thanks for the trouble,

Greetings!

Dear Aleph.ka,

Here is an example of what you might need. For more documentation, please refer to the description of the node property applied (Annotation list):

http://zone.NI.com/reference/en-XX/help/371361H-01/lvprop/waveformgraph_annot_list/

I hope this helps.

Kind regards

Tags: NI Hardware

Similar Questions

  • Compression of the sample

    Hello

    I have a scanner with the following configuration:

    -Sampling rate = 20000000
    -Lrecl = 12000000

    It works very well so far and gives me a sampling time of ~ 600ms. Where the problem occurs is when I want to display the signal in a graph. Here, I get the error message 'insufficient memory '. That's why I used the express vi "compression of sample to reduce the data by a factor of 10'000 for example but this still does not work when I put the entrance of the"Fetch WDT.vi niScope"value"-1 "."

    It works when I set this value to 1'000 ' 000 for example but is not a solution because I do not have the full signal until ~ 600ms! I also can't reduce the sampling rate of the digitizer because I will lose the precision of measurement.

    How can I solve this problem?

    Thanks in advance

    Examples of NO-SCOPE contain examples of code explaining how to extract data from map of range into pieces (for example niScope EX Fetch in Chunks.vi).  As mentioned above, there are tuturials on how to manage large sets of data to LabVIEW, one using LabVIEW and one here.  Between these three sources, you have sample code to pick up your card brought into pieces, decimate for display and display without running out of memory.  It's the algorithm and the method used by the NO-SCOPE Soft Front Panel.

  • How can I change this request, so I can display the name and partitions in a r

    How can I change this request, so I can add the ID of the table SPRIDEN
    from now on gives me what I want:
     
    1,543     A05     24     A01     24     BAC     24     BAE     24     A02     20     BAM     20
    in a single line, but I would like to add the id and the name that is stored in the SPRIDEN table

     
    SELECT sortest_pidm,
           max(decode(rn,1,sortest_tesc_code)) tesc_code1,
           max(decode(rn,1,score)) score1,
           max(decode(rn,2,sortest_tesc_code)) tesc_code2,
           max(decode(rn,2,score)) score2,
           max(decode(rn,3,sortest_tesc_code)) tesc_code3,
           max(decode(rn,3,score))  score3,
           max(decode(rn,4,sortest_tesc_code)) tesc_code4,
           max(decode(rn,4,score))  score4,
           max(decode(rn,5,sortest_tesc_code)) tesc_code5,
           max(decode(rn,5,score))  score5,
           max(decode(rn,6,sortest_tesc_code)) tesc_code6,
           max(decode(rn,6,score))  score6         
      FROM (select sortest_pidm,
                   sortest_tesc_code,
                   score, 
                  row_number() over (partition by sortest_pidm order by score desc) rn
              FROM (select sortest_pidm,
                           sortest_tesc_code,
                           max(sortest_test_score) score
                      from sortest,SPRIDEN
                      where 
                      SPRIDEN_pidm =SORTEST_PIDM
                    AND   sortest_tesc_code in ('A01','BAE','A02','BAM','A05','BAC')
                     and  sortest_pidm is not null  
                    GROUP BY sortest_pidm, sortest_tesc_code))
                    GROUP BY sortest_pidm;
                    

    Hello

    That depends on whether spriden_pidm is unique, and you want to get the results.

    Whenever you have a problem, post a small example of data (CREATE TABLE and INSERT, relevamnt columns only instructions) for all the tables and the results desired from these data.
    If you can illustrate your problem using tables commonly available (such as in the diagrams of scott or HR) so you need not display the sample data; right after the results you want.
    Whatever it is, explain how you get these results from these data.
    Always tell what version of Oracle you are using.

    Looks like you are doing something similar to the following.
    Using the tables emp and dept of the scott schema, producing a line of production by Department showing the highest salary for each job, for a set given jobs:

    DEPTNO DNAME          LOC           JOB_1   SAL_1 JOB_2   SAL_2 JOB_3   SAL_3
    ------ -------------- ------------- ------- ----- ------- ----- ------- -----
        20 RESEARCH       DALLAS        ANALYST  3000 MANAGER  2975 CLERK    1100
        10 ACCOUNTING     NEW YORK      MANAGER  2450 CLERK    1300
        30 SALES          CHICAGO       MANAGER  2850 CLERK     950
    

    On each line, jobs are listed in order by the highest salary.
    This seems to be similar to what you are doing. The roles played by the sortest_pidm, sortest_tesc_code and sortest_test_score in your table sortest are played by deptno, job and sal in the emp table. The roles played by the spriden_pidm, id and the name of your table spriden are played by deptno, dname and loc in the dept table.

    Looks like you already have something like the query below, which produces a correct output, except that it does not include the dname and loc of the dept table columns.

    SELECT    deptno
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
               SELECT    deptno
               ,          job
               ,          max_sal
               ,          ROW_NUMBER () OVER ( PARTITION BY  deptno
                                              ORDER BY          max_sal     DESC
                                )         AS rn
               FROM     (
                             SELECT    e.deptno
                       ,           e.job
                       ,           MAX (e.sal)     AS max_sal
                       FROM      scott.emp        e
                       ,           scott.dept   d
                       WHERE     e.deptno        = d.deptno
                       AND           e.job        IN ('ANALYST', 'CLERK', 'MANAGER')
                       GROUP BY  e.deptno
                       ,           e.job
                         )
           )
    GROUP BY  deptno
    ;
    

    Dept.DeptNo is unique, it won't be a dname and a loc for each deptno, so we can modify the query by replacing "deptno" with "deptno, dname, loc" throughout the query (except in the join condition, of course):

    SELECT    deptno, dname, loc                    -- Changed
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
               SELECT    deptno, dname, loc          -- Changed
               ,          job
               ,          max_sal
               ,          ROW_NUMBER () OVER ( PARTITION BY  deptno      -- , dname, loc     -- Changed
                                              ORDER BY          max_sal      DESC
                                )         AS rn
               FROM     (
                             SELECT    e.deptno, d.dname, d.loc                    -- Changed
                       ,           e.job
                       ,           MAX (e.sal)     AS max_sal
                       FROM      scott.emp        e
                       ,           scott.dept   d
                       WHERE     e.deptno        = d.deptno
                       AND           e.job        IN ('ANALYST', 'CLERK', 'MANAGER')
                       GROUP BY  e.deptno, d.dname, d.loc                    -- Changed
                       ,           e.job
                         )
           )
    GROUP BY  deptno, dname, loc                    -- Changed
    ;
    

    In fact, you can continue to use just deptno in the analytical PARTITION BY clause. It may be slightly more efficient to just use deptno, as I did above, but it won't change the results if you use all 3, if there is only 1 danme and 1 loc by deptno.

    Moreover, you don't need so many subqueries. You use the internal subquery to calculate the MAX and the outer subquery to calculate rn. Analytical functions are calculated after global fucntions so you can do both in the same auxiliary request like this:

    SELECT    deptno, dname, loc
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
                   SELECT    e.deptno, d.dname, d.loc
              ,       e.job
              ,       MAX (e.sal)     AS max_sal
              ,       ROW_NUMBER () OVER ( PARTITION BY  e.deptno
                                           ORDER BY       MAX (sal)     DESC
                                          )       AS rn
              FROM      scott.emp    e
              ,       scott.dept   d
              WHERE     e.deptno        = d.deptno
              AND       e.job                IN ('ANALYST', 'CLERK', 'MANAGER')
                  GROUP BY  e.deptno, d.dname, d.loc
              ,       e.job
           )
    GROUP BY  deptno, dname, loc
    ;
    

    It will work in Oracle 8.1 or more. In Oracle 11, however, it is better to use the SELECT... Function PIVOT.

  • using a Case statement to display the values of column even as table headers

    I have a database that has been set up kind of tricky, in that some tables are made up of columns that are field names and one link to another table that contain the data for these field... also names there ID displays as many lines instead of as a row of data. I would like to write a query to extract that information and display it as one line for each ID.

    example: table 1

    ID, name, itemresponse and itemcode, Description

    Dee Jones Childrens Hospital 123 SITE location

    123 dee Jones, Date of appointment next NEXTAPPT 22/04/2014

    123 dee Jones was on bedrest NOSHOW reason do not show

    I would like to have the display of data as a record on this same patient, instead of as 3 separate registers (with the Description column in table 1

    Table 2

    ID, name, place, Date of the next meeting, show no reason

    123 dee Jones Childrens Hospital 22/04/2014 was the bed rest

    I have included the code I worked on below my question, for me to get the desired results should I use the Case statement and it's the right way to do it below?

    (SELECT
    PAT.ID "PATIENT ID."
    PAT. FIRST | » '|| PAT. "PATIENT FIRST NAME."
    PAT. "PATIENT DOB," DATE_OF_BIRTH
    DS. Date 'Date of inpatients ',.
    Dai. ITEM_CODE "Item Code",
    Dai. DESCRIPTION "Description."
    Siad. ITEM_RESPONSE,

    Max (CASE WHEN dai. ITEM_CODE IS "SITE" THEN DAI. Decription
    ANOTHER NULL
    END) AS "name of the hospital."

    Max (CASE WHEN DAI.) ITEM_CODE IS 'NEXTAPPT' THEN DAI. ITEM_Description
    ANOTHER NULL
    END) AS 'next Appt Date. "

    Max (CASE WHEN DAI.) ITEM_CODE IS "LASTDATE" THEN DAI. Description
    ANOTHER NULL
    END) AS 'last visit Date.

    Max (CASE WHEN DAI.) ITEM_CODE IS 'NOSHOW' THEN DAI. Description
    ANOTHER NULL
    END) THAT "the reason has not shown".

    Of
    (PAT.ID "IDENTIFYING PATIENT",
    PAT. FIRST | » '|| PAT. "PATIENT FIRST NAME."
    PAT. "PATIENT DOB," DATE_OF_BIRTH
    DS. Date 'Date of inpatients ',.
    Dai. ITEM_CODE "Item Code",
    Dai. DESCRIPTION "Description."
    Siad. ITEM_RESPONSE

    Of

    dm_sessions Ds,
    dm_session_assessments dsa,
    DAS dm_admin_sections,
    dm_session_assessment_items Siad,
    Dai dm_admin_items,
    Po Patient_Orders,
    Inventory inv,
    Patients_Table PAT
    dm_admin_categories CAD

    where dsa.session_Id = ds.session_Id
    and PAT.ID = ds. Patient_ID
    and dsa.excluded_assessment =' no
    and dac.category_code = 'OPEN'

    and dsa.section_id = das.section_id
    and das.category_id = dac.category_id
    and das.section_code = 'northwest'
    and dai.section_id = das.section_id
    and dsai.item_id = dai.item_id
    and dsai.session_assessment_Id = dsa.session_assessment_Id
    and dsai.excluded =' no
    - and Dai.ITEM_ID = Dsai.ITEM_ID
    and Dai.ITEM_CODE IN ('SITE', 'NEXTAPPT', 'LASTDATE', 'NOSHOW')
    and po.patient_ID = ds.patient_ID
    and in. NDC_NO = inv. NDC_NO
    and inv. TDRUG_ABBREV = in. DRUG_ABBREV

    PAT.ID GROUP, PAT. FIRST | » '|| PAT. LAST, PAT. DATE_OF_BIRTH, ds. Date, dai. ITEM_CODE, dai. DESCRIPTION, Siad. ITEM_RESPONSE))

    Hello

    DATE is not a very good name for a column.  Use something like EVENT_DATE, that will not be confused with a keyword from Oracle, instead.

    I don't see something like this column in the CREATE TABLE statement.  He will always be the same value on all lines?

    Here's a way to get the results you requested:

    SELECT id

    first name | ' ' || LastName AS name

    Date of birth

    MAX (CASE WHEN item_code = "NEXTAPPT", THEN item_response END) AS next_appointment,

    MAX (CASE WHEN item_code = "LASTDATE" THEN item_response END) AS last_visit_date,

    MAX (CASE WHEN item_code = "SITE" THEN item_response END) AS location

    FROM mytable1

    GROUP BY id, firstname, lastname, dob

    ;

    Of course, I can't test it very well until you post INSERT statements for the sample data.

    I guess that 2 or more lines of the entry have the same id, then they will necessarily be first name last name, the name and date of birth, too.  No doubt they are standardized in your actual tables.

  • Display the values of the 2D stacked column chart

    Hello

    I use the following sql which shows the percententage of errors in a month
    SELECT NULL
    ,      TO_CHAR(MA.DATE_LOGG,'Mon'),
    sum(decode(el.error_type,'On',1,0)) "Ons", 
    sum(decode(el.error_type,'Pa',1,0)) "Prt",
    sum(decode(el.error_type,'No D',1,0)) "No D",
    sum(decode(el.error_type,'Sys',1,0)) "Sys",
    sum(decode(el.error_type,'Oth',1,0)) "Oth"
    FROM
           table1 MA, table2 EL, table3 CR
           WHERE
                     MA.ERROR = EL.ERROR
           AND       MA.ERROR IS NOT NULL
           AND       MA.COUNTRY = CR.COUNTRY_CODE         
          AND       TO_CHAR(DATE_LOGG,'YYYY') = nvl(:P5_FILTER,to_char(sysdate,'YYYY'))
          AND       CR.REGION_CODE = NVL(:P5_REGION,CR.REGION_CODE)
    GROUP BY TO_CHAR(MA.DATE_LOGG,'Mon'),  trunc(ma.date_logg, 'Month')
    ORDER BY  trunc(ma.date_logg, 'Month')
    Now the values are displayed correctly, however, the stacked bar displays the real percentage value, for example 60% on stacked bar. When we mouse over the bar it shows "No D", Sys, Oth. Is there a way to display permanently type Decode and percentages?

    Apex 4.1 / 11g

    Thank you
    Sun

    Hi Sun,.

    If you would like to add the series name in the values displayed in the bar of the items themselves, then you will need to customize the XML graph and update the tag to embed {% SeriesName}. I've added an example for my sample application, indicating where the XML code must be changed: http://apex.oracle.com/pls/apex/f?p=36648:90. For a complete list of available AnyChart keywords, such as % SeriesName, please see the AnyChart online documentation: http://anychart.com/products/anychart/docs/users-guide/label-text-formatting.html?fromtree.

    I hope this helps.
    Kind regards
    Hilary

  • How can I change the value of the sample during my simulation period?

    I'm about to set discrete PID profile vi to specify the values of the period of sampling of the order hold block. At t = 0, I wish that the value of 0.5 and then change to 1.0 when t = 5. Currently, only 0.5 goes to the waiting order discreet block. I think it's because the block takes this value and then use it for the entire simulation, do not check to see if the value has changed. Is there a way to tell the block to check this value at each time step and then adjust if necessary sampling its period?

    See code attached for reference.

    What is your overall goal for the sampling period? You will change the value more than once? Or only from 0.5 to 1?

    The PID setpoint profile should allow you to specify a profile for the values to send to the hold. He will see property values. For example if you specify only t = 0 setpoint = 0.5 and t = 5 setpoint = 1, you'll find it ramp the setpoint in 0.5 to 1.0 for the first 5 steps of time. If you want the sampling period of stay up to t = 5 0.5 is reached you will probably want to three elements in the array. set = 0.5 point t = 0, t = 4.99 set = 0.5, 1.0 = set point t = 5.

    If you're just fill one step, (from 0.5 to 1.0) you can use the Index Timestep in the Simulation parameters to determine the sampling period. Is attached a screenshot of what I mean.

  • Read integer values to worksheet and display the values in a table

    Hi all

    I have integer values to read from a worksheet and display them in a table. I uses 'Reading of the spreadsheet file' mode 'integer '. I want to display these values in a table. The problem is the table takes only 2d-array of string as input but not an integer.

    It works fine if I change 'Worksheet file playback' mode to 'integer' to 'chain', but I want to read integers and must use integer values for calculations more. Please give suggestions on the display of integers to a table.

    Thank you.

    Do not take not piece-by-piece just convert as a whole. See the attached example

    Good luck

  • display the last value

    Hi all

    I have a questions. It is that I create a Subvi to my table and it can display the last value in the upper part. Below attached snapshots of my programming. I use a number random and STOP for control of you guys let see the whole process of what I want.

    but when I change "constant true/false" and using a digital command. and I put it in my program. It won't list down the values and it will not display the most recent value at the top. What is the problem? I was stuck on this problem for a while.

    and another question was how to keep the size of the list is constant? for example, I onli wants to view 30readings on my table. as the program continued to run, the oldest value will be overwritten. because if kept under my table more, means memory increase my programming and registration of cause late development. I do not want to happen. So is it possible to maintain the display of fixed table values?

    Hi Isabelle,.

    I think that the problem causes initialization of a register shift to void / vi. If you initialize a shift register, each time sub vi is called, he will replace value in the registry to offset with initialized value. Uninitialize a registry change to resolve a problem. I've attached a screenshot of my sub vi for your reference.

    Sincerely, Kate

  • Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel?

    Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel? Examples or suggestions would be greatly appreciated.

    Thank you

    Tunis

    Thank you Adam, it's originally in a while loop, I placed it in a loop for example, wired County in the for loop and presto, this son of a digital indicator. It works very well. Thanks for the help folks.

  • Display the values in a list in a certain way

    Hello

    I'm looking for a way to display the values in a list by the first value by a slash and the rest with an indentation.

    In other words in this way:

    /value

    Value1

    value2

    value3

    etc...

    Please see the attachment for a better reference where data are received and then filled to the window list.

    Thanks for your comments

    Thanks guys,.

    I endend up doing this:

    If (i == 0)
    {
    sprintf (current_log_view, "/ %s", cnfg_display_db [i] "");
    }
    on the other
    {
    sprintf (current_log_view, "%s", cnfg_display_db [i]);
    }
    SetCtrlVal (log_panel, LOG_LOG_TB, cnfg_display_db [i]);
                            
                            
    InsertListItem (dir_list_panel, DIR_LIST_RETR_LIST, current_log_view, i, 0);

    and it works very well!

    Thanks again

  • Selector - return and displaying the selected value

    Hello all, I have problem with selector which is connected to the simple XML through XMLDataModule.

    Definition:

    {} Selector
    ID: piCountry
    Title: qsTr("Country:") + Retranslate.onLanguageChanged
    dataModel: {XmlDataModel}
    Source: "states.xml".
    }
    pickerItemComponents:]
    {PickerItemComponent}
    type: "ListItem".
    content: {container
    {Label
    text: pickerItemData.title
    }
    }
    }
    ]
    onSelectedValueChanged: {}
    var piCountry.dataModel.data = selectedItem ([0, selectedIndex (0)]);
    Console.log("Selected>"+SelectedItem.Text)
    }
                           
    }

    STATES. Model XML:


       
       
       
       
       
       
       
       
       

    ...

    1. I can't achieve good get selected value based on the index selected. After Exchange of selected value, the error message appears:

    ERROR: UIObjectPrivate::notifyMessage: unable to set the focusIsDelegatedToColumn property
    ERROR: UIObjectPrivate::notifyMessage: unable to set the focusedColumn property
    some > undefined

    2. is it possible to display the value selected in the selector bar (after choosing and collapsing)?

    Thanks for any idea, I have been addressed in the morning but no reasonable results so far.

    Thank you.

    Karel

    Looks like you're missing the good at the end, add a ".title' in there like this:

    var selectedItem = piCountry.dataModel.data([ 0, selectedIndex(0) ]).title;
    

    Here is an example of a complete code of a similar selector to select a State, and also has a method to set the value of an external call and a method to change the title, once the switch has been reduced (must cover your 2nd question).

    /* Copyright (c) 2014 BlackBerry Ltd.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     *  Created on: May 5, 2014
     *  Author: Mark Sohm
     */
    
    import bb.cascades 1.2
    
    Picker {
        property string stateValue: ""
        id: siteStatePicker
        title: "State"
        kind: PickerKind.Expandable
        dataModel: XmlDataModel {
            id: stateModel
            source: "../xml/US_States.xml"
        }
        pickerItemComponents: [
            PickerItemComponent {
                type: "state"
                content:
                Label {
                    id: stateLabel
                    text: pickerItemData.name
                }
            }
        ]
        onSelectedValueChanged: {
            siteStatePicker.stateValue = dataModel.data([0, selectedIndex(0)]).name;
        }
    
        onExpandedChanged: {
            if (!expanded)
            {
                siteStatePicker.title = siteStatePicker.stateValue;
            }
        }
    
        //Used to set the selected state.
        function setState(state)
        {
            for (var count = 0; count <= 49; count++)
            {
                if (state === stateModel.data([0, count]).name)
                {
                    siteStatePicker.select(0, count, ScrollAnimation.None);
                    siteStatePicker.stateValue = stateModel.data([0, count]).name;
                    siteStatePicker.title = siteStatePicker.stateValue;
                }
            }
        }
    }
    

    It's xml data.

    
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
        
    
    
  • Displays the value of double type

    Hi - another crazy me today. With the help of v % of the SDK. Memorization of the GPS coordinates in a persistent storage which is fine. So want to show these results on a screen by updating a labelField with the value.

    the code below, printLn myTest displays a value of something as 42.1234 gets so thin value. However, with the code so I get Double.toString (myTest) cann't find symbol even though I java.lang. *; imported. If I remove this line of double.toString then it will compile, but throws an exception error when I try to display on the screen. Can someone help a newbie pls...

    If (persistentHashtable.containsKey ("LVFLat")) {}
    Double myTest is (Double) persistentHashtable.get ("LVFLat");.
    System.out.println ("# latitude =" + myTest);
    String finalLat = Double.toString (myTest);
    displayLVFLat.setText (myTest);
        
    }

    You must read the documentation of the API and note the use of capital letters and tiny.  Capitals: the object, tiny, primitive.  Read the API done again and see what I mean.

    You want to replace this:

    String finalLat = Double.toString (myTest);

    with

    String finalLat = myTest.toString ();

  • Possibility to get a popup to display the display value "" and not the "return value".

    Version - Application Express 3.2.1.00.11

    I have a list of values that exceed 1500 files and am so impossible to use a Select list.

    When you use a popup lov after choosing the recording, apex displays the return value (in my case a number). Is it possible to let him use the display value (in my case, a text string).

    Concerning

    Ben

    Benton says:

    Version - Application Express 3.2.1.00.11

    I have a list of values that exceed 1500 files and am so impossible to use a Select list.

    When you use a popup lov after choosing the recording, apex displays the return value (in my case a number). Is it possible to let him use the display value (in my case, a text string).

    See limiting the number of values in a LOV

    If it comes to a page element, and then change the type of Popup LOV key.

    If there is a control in a table, it's another reason to upgrade to a supported version, or the tabular form will need to be converted to be manually generated and processed in order to allow the appropriate control be returned using the apex_item.popupkey_from_lov method

  • Display the name of the tag as the column name and the value in the tag as a row of data from the input string.

    Hi Forum members,

    I am looking for a query display the name of the tag as the column name and the value in the tag as a row of data.

    I have to print the values within the tag to a file by choosing the value of the flags. the sequence of the tags will vary each time, as the tag name will change dynamically.

    So here is the example of input data and the expected output. The string in the text column must be separated as the column names and values.

    Input data
    Select 1 as seqno,' < > 0210A 50 4f < / 4f > < 5f20 > TEST CARD 16 < / 5f20 > < 5f2a > < / 5f2a > < 82 > 1 c 00 < / 82 > ' double text


    Output:

    Seqno 4f 5f20 5f2a 82
    0210A 50 16 1 00 TEST CARD 1

    Please help me by providing your entries on this.

    We use the version of Oracle 11.2.

    Note: This is not the XML string

    Thank you

    Shree

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    )

    Select d.seqno, x.*

    d the data,

    XMLTable ('/ root')

    by the way xmltransform (xmltype ('': replace (replace (text,'<><>'),)))

    XmlType (q'~http://www.w3.org/1999/XSL/Transform "version ="1.0"> ")

                                                     

                                                       

                                                         

                                                       

                                                     

                                                     

                                                       

                                                         

                                                       

                                                     

    ~'

    )

    )

    path of columns '4f' varchar2 (10) "tag4f."

    path of "5f20' varchar2 (30)"tag5f20. "

    path of '5f2a' varchar2 (10) "tag5f2a."

    path of varchar2 (10) "82" "tag82.

    ) x


    SEQNO 4f 5f20 5f2a 82
    1 0210A 50 16 TEST CARD - 1 00
    2 0210A 50 16 TEST CARD - 1 00
    3 0210A 50 16 TEST CARD - 1 00
    4 0210A 50 16 TEST CARD - 1 00

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    ),

    Chopper (seqno, Key, value, String) as

    (select seqno,

    regexp_substr (text,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (Text,'>(.*?))

    regexp_substr (text,'<.+?>. *? ) (.*) $', 1, 1, null, 1). » <>'

    from the data

    Union of all the

    Select seqno,

    regexp_substr (String,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (String,'>(.*?))

    regexp_substr (String,'<.+?>. *? ) (.*) $', 1, 1, null, 1)

    Chopper

    where regexp_substr (string,'<(.*?)>', 1, 1, null, 1) is not null

    )

    Select '4f', seqno, '5f2a', '82', '5f20.

    of (seqno, lower (key) select key, value)

    Chopper

    )

    Pivot (max (value) for key in ('4f' as '4f', '5f20' as '5f20', '5f2a' as '5f2a', "82" as "82"))

    Concerning

    Etbin

  • Display the value of the column automatically based on another column in a table

    Hello

    I use APEX 5.0, I have a requirement to display the field automatically based on the tabular presentation of other numbers.

    img.png

    in the screen shot attached above when I press Add button line a new line is created and enter the value in 'place no.', 'dept and identification of height place' when I press tab or get out of the column "height", "GID" should appear automatically.

    To display the GID my query will be like that. "Select GID from x where no = '1011' place and dept = 88 and height = 88'.

    How to get the value of from GID of the another value entered in Place no, dept and height in tabular form.

    Thanks in advance

    Ravi.

    Hi Ravi

    No need to point of Application or process. I just completed the task with the following steps

    (1) create 4 hidden items

    P2_SELWID

    P2_SELDEPTH

    P2_SELHEIGHT

    P2_CALCWNAME

    (2) gives 3 CSS classes in three columns of tables.

    . WID

    . DEPTH

    . HEIGHT

    (3) create the function jQuery for re - get three items from the page on a line if one of them has been changed.

    Add the following code to the function and the declaration of global variables

    function setRowItemValues(p_rownum){
        wid_col_id = 'f02_' + rownum ;
        wid_col_val = $('#'+wid_col_id).val();
        depth_col_id = 'f03_' + rownum ;
        depth_col_val = $('#'+depth_col_id).val();
        height_col_id = 'f04_' + rownum;
        height_col_val = $('#'+height_col_id).val();
        wname_col_id = 'f05_' + rownum;
        // set P2_SELWID,P2_SELDEPTH,P2_SELHEIGHT
        $s("P2_SELWID", wid_col_val );
        $s("P2_SELDEPTH", depth_col_val );
        $s("P2_SELHEIGHT", height_col_val );
        $s("P2_SELWNAMEID", wname_col_id );
        // Call the Dynamic Action to get WNAME if all values are not null
        if( wid_col_val != ''  && depth_col_val != '' && height_col_val != '' ){
            //Call DA to Get WNAME from WINT
            $.event.trigger("CalcWNAME");
            // set the Tabular form
            $('#'+wname_col_id).val($x("P2_CALCWNAME").value);
        }
    }
    

    and run when the Page loads

    $(document).on("change", ".WID,.DEPTH,.HEIGHT", function(){
        rownum = $(this).attr('id').substr(4);
        setRowItemValues(rownum);
    });
    

    (4) create a dynamic Action to get WNAME based on a PL/SQL function. Note the submitted page elements.

    CalcWNAME

    (5) set of the corresponding element in the line of the function jQuery, after completing the DA.

    Please check and I hope your problem is now solved.

    Concerning

    Mahmoud

Maybe you are looking for

  • DVD drive (D :) went weird.

    Hello I have a weird problem, & I don't know how to explain it well. So, I say from the outset. I copy some files from my laptop to a 4.7 GB DVD. While it has been copied, I was you rename a file in my notebook when suddenly the blue screen of color

  • HP Pavilion dv6-6177la - Drivers Wifi problem

    Forum on HP good night: With cordial greetings, I would like to post my situation: I recently bought a HP laptop? HP Pavilion dv6-6177la? and after you create the recovery image, I formatted and installed Windows 7 Ultimate English. I have been succe

  • How can I restore Disk Cleanup tools system folder?

    Well, my disk cleanup and Disk Defragmenter are in all programs > Accessories > system as usual tools. I don't know how to run the programs, although by going into properties system, etc, but I would like to know how to get back them in this folder t

  • Generate a web page to display the subset of the image

    Is it possible that one can spawn a web page with the news of subset of a couple of layers?  Let's say I calculate some RGB layers information and I would like to see the information on a web page in near real-time.  Info would probably be in another

  • Click on MovieClip

    The image in the MovieClip from the cake overlaps the other two clips. Therefore part of the click of each part of the cake box is in conflict with a part of the click of another part of the cake box. How can I solve this problem in Adobe animate?