Add table values by clicking on

Well I thought a pretty cool VI conceptually, but I can't understand how to actually run the code.

I have data read from a file, and then graphed on a xy chart. I have a slider that displays x and y values of the current point.

I want to do the following:

Have an initialized array. Then I manually move the cursor over a point of my choice, then click on a button.
This button will do x and add value from this point to the table. Is this possible? Or, more importantly, how?

Thank you
Cory


Tags: NI Software

Similar Questions

  • How to add a transient attribute of a table values in the new attribute group wise transient that is to say wise customer?

    Mr President.

    How to add a transient attribute of a table values in the new attribute group wise transient that is to say wise customer?

    as below

    custwisevalue.png

    Concerning

    Hello world

    for an overview in the following form

    This is the sql query that reach this format

    SELECT c.name customer_name,
            p.name product_name,
            sl.sal_qty,
            sl.unit_sal_price,
            sl.sal_qty*sl.unit_sal_price AS salesvalue,
            CASE
              WHEN ROW_NUMBER () OVER (partition by c.cust_id order by p.prod_id desc,sl.sal_id desc) = 1 THEN
                  SUM (sl.sal_qty*sl.unit_sal_price) OVER (PARTITION BY c.cust_id)
            END totals
    FROM customer c INNER JOIN sales s ON s.cust_id = c.cust_id
    INNER JOIN salesline sl ON sl.sal_id = s.sal_id
    INNER JOIN product p ON p.prod_id = sl.prod_id
    ORDER BY c.cust_id,p.prod_id,sl.sal_id
    

    Cheers and enjoy

    Respect of

  • How default Sysdate table area by clicking on add another line

    Hello

    Can one please help me how default Sysdate (MessageTextInput column) in the region of table ahead by clicking on add another line.

    Thank you
    Mohan

    Hello

    On ADD_ROW event set the attribute VO Sysdate.

    Kind regards
    Mukesh Uchaniya

  • Reset the filter table values in Jdev 11.1.1.7

    Hi Experts,

    I use Jdev 11.1.1.7

    I went through this link Ashish Awasthi (Jdev/ADF) Blog: table light filter in the ADF value

    I created a column and the value rowHeader as true. After you run this page, I'm not able to see the pencil icon which is reset all the values of the filter components and update the table.

    I don't want to reset by program, I want to use the functionality of the ADF.

    Here writing my code snippet:

    < af:table value = "#{bindings." Var EmpResultReportPVO11.collectionModel}"="row ".

    lines = ' #{bindings. " EmpResultReportPVO11.rangeSize}.

    emptyText = "#{bindings." EmpResultReportPVO11.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." EmpResultReportPVO11.rangeSize}' rowBandingInterval = '0 '.

    filterModel = "#{bindings." EmpResultReportPVO1Query.queryDescriptor}.

    queryListener = ' #{bindings. " FilterVisible EmpResultReportPVO1Query.processQuery}"="true"varStatus ="vs. "

    selectedRowKeys = ' #{bindings. " EmpResultReportPVO11.collectionModel.selectedRow}.

    selectionListener = "#{bindings." RowSelection EmpResultReportPVO11.collectionModel.makeCurrent}' = 'single '.

    ID = "res_table" >

    < af:column id = 'c12' width = "14" rowHeader = "true" / >

    < af:column sortProperty = "#{bindings." EmpResultReportPVO11.hints.EmpId.name}"blockable ="true"sortable ="true ".

    headerText = "#{etoolviewcontrollerBundle.EMPLOYEE_ID}" id = 'c3' returned 'false' = > "

    < af:outputText value = "#{rank." EmpId}"id ="ot9">

    < af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " EmpResultReportPVO11.hints.EmpId.format}"/ >

    < / af:outputText >

    < / af:column >

    < af:column sortProperty = "#{bindings." EmpResultReportPVO11.hints.Name.name}"blockable ="true"sortable ="true ".

    headerText = "#{etoolviewcontrollerBundle.FIRST_NAME}" id = 'c4' = "caseInsensitive" filterFeatures > "

    < af:outputText value = "#{rank." Name}"id ="ot4"/ >

    < / af:column >

    Please someone help me.

    Thank you, ADV

    Jyoti

    Hi Jyoti,

    I think that the rowHeader = true does not work in 11.1.1.7. You can go with the programmatic approach.

    1 link table you with bean class

    2. the button click event of Action the code below

    private richeTableau empTable.

    {} public void filterTable (ActionEvent actionEvent)
    Add the code in the event here...
    FilterableQueryDescriptor = queryDescriptor
    (FilterableQueryDescriptor) getEmpTable () .getFilterModel ();
    If (queryDescriptor! = null &)
    queryDescriptor.getFilterCriteria ()! = null) {}
    queryDescriptor.getFilterCriteria () .clear ();
    getEmpTable () .queueEvent (new QueryEvent (getEmpTable (),
    queryDescriptor));
    }

    Thank you

    Nitesh

  • Plugin data: determine the string table values ranging

    Hello, once again

    I have always fought with a use composed of data from the separate tab

    When I read a line via

    sMyLine = file.getnextline

    and try to extract the values with

    aMyValues = split (sMyLine, vbTab etc.)

    the returned array is Variant.

    Now I try to assign values of this array of different channels, for example

    for i = 1 to Ubound (aMyValues)

    ... root channelgroups (j). Channels (i). Values (k) = aMyValues (i)

    next

    This results in an error message "this channel has been generated with e64 Type, values to fill must not be of type VT_BSTR" or what would be the translation into English.

    So I have to turn the table variant to a R64-table. However cdbl (aMyValues (1)) will not work.

    Workaround heavy:

    When reading data with

    root... channelgroups (1). Channels (1). Values (1) = file. GetNextStringValue (e64)

    the value is of the appropriate type. But this translates many read-only operations.

    Is there a way to read in one line and add the values of channels? File.GetStringBlock in the examples is especially used with DirectAccessChannels.Add. But I don't want the new n-channel, but rather add to already existing ones.

    Thank you for your support.

    Michael

    Hello

    I think that there are several ways to reach your goal.

    If you want to assign the values in your table variant of a digital channel, you can use the File.Formatter.ParseString () method. Please make sure you that trainers for your numeric values are defined according to the needs, for example, File.Formatter.DecimalPoint, etc.

    File.Formatter.DecimalPoint = «»
    ...
    for i = 1 to Ubound (aMyValues)
    ... root channelgroups (j). Channels (i). Values (k) = File.Formatter.ParseString (aMyValues (i), eR64)
    next

    The best way is to use the StringBlock object. If you do not want to create a new channel for each DirectAccessChannel, you can use ProcessedChannel to add multiple DirectAccessChannels, for example

    Dim processedChn: Set processedChn = channelGroup.Channels.AddProcessedChannel ("ChannelName", eR64, eConcatProcessor)
    ...
    processedChn.Channels.Add (DirectAccessChannel)

    I hope this helps.

  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

  • ADD CHECBOXES VALUES

    I know how to add the value of the checkboxes, but how do you keep the field total fom showing value of 0 by default when the form is opened?

    Hello

    If you select the total field, then go to the field tab, click models, select the view tab and then make sure that the "Allow zéro" checkbox is selected, then a value of zero is displayed as spaces (or everything that is entered in the text box under the "Allow zéro" checkbox.

    Concerning

    Bruce

  • How to add two values

    How to add varchar values in oracle. Consider that both are times values.but [both] data type is varchar and stroed table

    For example:

    Column1 Column2
    2.40: 10 05:22

    I need the result to the following format
    8.02 [8 hours and 2 minutes]

    user12059276 wrote:
    How to convert this format

    Assuming that the result is less than 24 hours:

    select to_char(trunc(sysdate) + interval '2:40:10' hour to second + interval '5:22:00' hour to second,'HH24:MI') dt
      from dual
    /
    
    DT
    -----
    08:02
    
    SQL> 
    

    SY.

  • PPR for the updating of the table after a click in a butto in Jdeveloper 10.1.3 - thanks

    Hi people,

    I looked through many messages about refreshing the page, but still did not solve my problem. Please help me. It's quite URGENT.

    I have a table with a command button. After you click the data insertion is engaged and the table is supposed to be updated to reflect the changes.

    Now I use PPR as my solution: the button is the initiator and the table is the target. I put the button property: part delivery = true and its id as a partial release of the table value

    What I missed, please?

    Note: reloading of the entire page is not a solution for me. (The table is incorporated within a region of showOneTab and there are other tables in different tabs)

    Thanks in advance!

    Assuming that nothing wrong with the JavaScript syntax, the explanation might be: If you ActionListener Installer (data transaction method) and javaScript on a button-click the button, the button click javaScript will not be executed. (???)

    This is not the case. In my application, the two actions of script and java onclick button are executed. Javascript onclick fires first, then the action of the button. It should be the same for actionlistener as well.

    Regarding the updating of the table after a click of a button inside the table, you can do this by forcing the partial relaxation of the table of a bean to support using addPartialTarget.

    On the actionListener to the button call the below the backup method of bean.

    Here is the code example:

        public void btnSample_actionListener(ActionEvent actionEvent) {
           // First execute the method on the button
           BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("buttonMethod");
            Object result = operationBinding.execute();
    
            //Refresh the iterator of table and partial trigger the table
            OperationBinding operationBindingTab =
                bindings.getOperationBinding("RefreshTable");
            Object resultTab = operationBindingTab.execute();
            AdfFacesContext.getCurrentInstance().addPartialTarget(myTable);
    

    RefreshTable is an action that runs the Execute method on the table iterator.

    Thank you
    Mitesh.

  • Add table

    Hello

    I updated to new version, and when I went to that table discovers the "add table" disappeared.

    How can I add columns to the display after synchronization with database changes?


    Chuck

    Chuck,

    It is not a separate button now.

    (1) in the VO Editor, click the node "attributes".
    (2) in the button bar just above the table that contains the existing attributes, click on the arrow pointing downwards ('v') next to the Add button ("+")

    This should appear 2 options and one of them should be "add a feature attribute."

    If you do not see this, thanks for posting the version full of JDev you use.

  • Add the value of the column to MRU

    Hello
    I'm sure there is a simple solution to what I see, sorry if this is the case.

    I would add column values to the update of the Apex Multi line. These values are the elements on the page, apart from the form of paintings, but common to all lines updated.

    In other words, offer will save values in tabular form with the standard MRU and then a process of "trigger as" should add these additional values.

    How can I do this without having to create a custom MRU?

    Thank you
    Marc

    Hello

    I see two methods that may work.

    First of all, you say "trigger like' - why not use a real trigger for do? The values in your page items would be available using nv('Pnn_ITEMNAME) in the trigger code.

    Alternatively, you can include the column in the form of your table, and then use javascript to hide. Then, again using javascript, you could update the field until the submission process is triggered by the button. The button should call this function and then use doSubmit() to submit the page.

    Andy

  • I can't install the modules from the official site of mozilla Add-ons. I click 'Add to firefox' and nothing happens! Help!

    I can't install the modules from the official site of mozilla Add-ons. I click 'Add to firefox' and nothing happens!

    Hello

    Please check if a green icon is added to the left of the icon in the Web site address bar after clicking on Add to Firefox. If it appears, click it, check the message and select the desired action.

    Another reason could be that the extension could block Javascript or other features of the site.

  • How to use Boolean as a constant push to add more values

    Hello everyone, I am trying to use a Boolean OK button and a constant to do something similar to the calculator project that I read in other posts. I scored $1.00, $0.25, button...  So now.  I just want to add the value of an indicator whenever I press the button.

    Is the closest I can get is displayed while I hold the button in and it goes to 0 as I realese it. I want that it add up every time his press.

    Thanks in advance

    Kevin

    Hi Kevin, this is Paul of engineering Applications at OR.  Try something like in my attachment.  You can use instructions of type of case to determine if a key has been pressed, and then assign this case real value.  Good luck with it

    .

  • How to add table 1 d to the report...

    I want to add table 1 d to a report, but when I use the table append to VI of the report, and then he wants to connect to table 2D. But if I want to add table 1 d to a standard report, so I don't know how to do this.

    Please help me with this...

    Thank you

    You can try this.

    I hope this helps.

  • Add table 2D to 2D table

    I have a chart 2D I need to add another 2D array to add more columns.  I am conducting a test that returns a 2D data table.  I then change a PSU setting and run the test again.  I collect the data returned in a table 2D I'll reuse for each iteration.  I want it a step of instruction that will add table 2 D at the end of a 2D array that starts a empty and will grow as the original 2D array is added to the end.

    A00 A10, A20 B10 B20 A00 A10 A20 B10 B20 B00 B00
    A01 A11 A21 B01 B11 B21 A01 A11 A21 B21 B11 B01
    A02 A12 A22 + B02 B12 B22 = A02 A12 A22 B02 B12-B22
    A03 A23 B03 B13 B23 A03 B03 B13 B23 A23 A13 A13
    A04 A14, A24 B04 B14 A04 A14 A24 B04 B14 B24 B24
    A05 A15 A25 B05 B15 A05 A25 B05 B15 B25 A15 B25

    You can always use something like in this example.

    Hope this helps,

Maybe you are looking for

  • L520: screen resolution 1366 x 768 on Windows 7

    Hello! I can't set the resolution 1366 x 768 Windows 7, only 800 x 600 and 1024 x 768 are available in window screen resolution settings in the installation of Windows 7 Professional 64 bit. Should I install any additional software?

  • I want to buy a better version of thay has a windows emulation software

    docs for sale without talking a program of "hyperterminal" type to "7".

  • Help recover my original Vista Aero theme.

    Original title: Lost of the Vista Aero theme... I lost the Vista Aero theme... I am also unable to reset because the option does not now appear in the themes dialog box... Taskbar on my laptop & all windows & system seem to have entered windows 98 cl

  • Windows Vista recovery

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: Windows Vista will not be boiot upward on my Fujitsu Siemens laptop. It does not start in safe mode. I don't have a copy of the Vista ins

  • BlackBerry Leap voicemail

    Have Bond 10.3.2. My voicemail is automatically deleted? All thoughts. Thank you