How to read value of row x from data port while measuring

Hello,
i am quite new at Diadem and just did some easy stuff and Tutorials.
For a project I have the following situation/problem:
I save many measured values at the data port during the measuring itself. For a "stop-condition" of the DAC/Measurement i have to compare two values:
1) the current, measured value (time: t1)
2) the measured value at 0.5 * t1 (that means at the half of the time), which is sored at the data port.
This comparison has to be done all few seconds (with the same clock the values are getting "saved" at the data port).
Would be great if anyone knows how to solve.
Thanks a lot in advance.

Hi Student5088,
I used a Copy-Block to create a delay for a certain number of values (time) of a signal. With that you can continuously compare signal at T1 with Signal at T1*0.5.
Greetings
Walter
Attachments:
Compare.DAC ‏28 KB

Similar Messages

  • How to read value of page parameter from form?

    I have the following in 'before displaying the form. ' in the form based on procedure.
    declare
    l_names OWA.vc_arr;
    l_values OWA.vc_arr;
    p_portlet_record portal.wwpro_api_provider.portlet_runtime_record;
    BEGIN
    Portal.wwpro_api_parameters.retrieve(l_names, l_values);
    htp.p('Number of parameters are : '||l_names.count||'< br>');
    for i in 1..l_names.count
    loop
    htp.p(l_names(i)||' = '||l_values(i)||'< br>');
    end loop;
    htp.p('Agreement'||portal.Wwpro_Api_Parameters.get_value('agreement',p_portlet_r
    ecord.reference_path));
    end;
    Following is the output on the form:
    Number of parameters are : 1< br> sessionid = 14212< br> Agreement.
    Looks like the form is only getting the sessionid parameter and not getting
    the other parameter from the URL.
    Following is the URL for the page on which the form is places:
    http://<machine_name>/portal/page?_pageid=33,36124,33_36134:33_44551&_dad=portal
    &_schema=PORTAL&agreement=DG-2474/1
    Can anyone tell me how I can get the value of page parameter 'agreement' in the form?
    thanks,
    Hiren

    Hi,
    It depends how you are setting your parameter also as there are different types of parameters in portal. The best is to use the page level parameters..
    Please read the developers gide Section 8.3 for more details....
    The link is :-
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#CHDGAHCF
    Guneet

  • How to read  value under properties tab   from SU01 to portal

    Hi All,
    I need to read the value under Properties Tab of SU01. I tried UME API but no luck, is there any otherway to get it.
    Regards
    Praveen

    What value are you trying to read?
    -Michael

  • How to read values from DMM4040

    Hi,
       I am using DMM4040, NI PXI 6509 device.
    I need to make some port pins high which i have already done and now i have to read value captured by DMM then i have to make my port pins low if my value is within limits.
    Can u suggest me how to read values from DMM and then by notification i ll make my port pins low.
    '' A professional is someone who can do his best work when he doesn't feel like it''...........

    What language are you using?  If using LabVIEW, you use the NI-DMM API to communicate with the 4040.  Just take your reading, do your limit comparison, and set your lines based on the comparison results.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How do I open a PDF document from a website while in Safari on my iPad.

    How do I open a PDF document from a website while in Safari on my iPad.

    When you see a PDF link in Safari, click on it. It will preview in Safari. Then click the Share icon, and choose Open With, then select Adobe Reader.

  • How to read the whole name of a music title while scrolling down a list of titles? With the new iOs7 Music App there is no more black box showing the entire name!

    How to read the whole name of a music title while scrolling down a list of titles? The old software-app had the function to click for a longer time on a titles beginning letters until a black box revealed the entire name. I miss this function especially for my classical music, because lots of pieces start with similar words. E.g.:
    "Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 1"
    "Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 2"
    Scrolling in a list of title, I can't distinguish the titles, because just the first words are shown followed by: "...".
    That's horrible!

    Or you could include a width to your body style:
    body {
    background-image: url(Logo/sky1.jpg);
    background-position: center center;
    background-attachment: fixed;
    width: 75%;}
    It might work or not depending on your other color scheme.

  • How to read value from gride

    dear all
    can you tell me how to read the value from the gride view coloum...
    when i double click on the RowsHeader then i need to pick the value for 2 coloum.
    thanks in advance...

    Hi Kishor,
    Try This......
    If pVal.FormUID = "test3" And pVal.ItemUID = "grid" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_DOUBLE_CLICK And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.Item("test3")
                ogrid = oform.Items.Item("grid").Specific
                For i As Integer = 0 To ogrid.Rows.Count - 1
                    If ogrid.Rows.IsSelected(i) = True Then
                        MessageBox.Show(ogrid.DataTable.Columns.Item(0).Cells.Item(pVal.Row).Value)
                        MessageBox.Show(ogrid.DataTable.Columns.Item(1).Cells.Item(pVal.Row).Value)
                    End If
                Next
            End If
    Thanks
    Shafi

  • How to read the selected row value of a table node

    hi
    i have a node of table type, displaying few records & with each record a  NEXT button is there.
    now i want to read the values of the selected row of the table & want to process next with NEXT button.
    pls tell me how to read the values of the selected row only.
    reds.

    data : lo_nd type ref to if_wd_context_node,
      lo_nd1 type ref to if_wd_context_node,
      lt_temp type wdr_context_element_set,
      wa_temp type ref to if_wd_context_element,
      ls_node1 type sflight,
      lt_node1 type STANDARD TABLE OF sflight.
    lo_nd = wd_context->get_child_node('CN_MAIN').
      CALL METHOD lo_nd->get_selected_elements
       RECEIVING
           set = lt_temp.
      loop at lt_temp INTO wa_temp.
          CALL METHOD wa_temp->get_static_attributes
          IMPORTING
            static_attributes = ls_node1.
        APPEND ls_node1 TO lt_node1.
        CLEAR ls_node1.
      ENDLOOP.
    'CN_MAIN' is the node whose selected values are to be picked and stored in internal table lt_node1.
    Other option by Thomas :
    DATA lo_nd_cn_main TYPE REF TO if_wd_context_node.
      DATA lt_temp TYPE wdr_context_element_set.
      FIELD-SYMBOLS <wa_temp> LIKE LINE OF lt_temp.
      DATA lt_node1 TYPE wd_this->elements_cn_main.
      FIELD-SYMBOLS <ls_node1> LIKE LINE OF lt_node1.
      lo_nd_cn_main = wd_context->get_child_node( name = wd_this->wdctx_cn_main ).
      lt_temp = lo_nd_cn_main->get_selected_elements( ).
      LOOP AT lt_temp ASSIGNING <wa_temp>.
        APPEND INITIAL LINE TO lt_node1 ASSIGNING <ls_node1>.
        <wa_temp>->get_static_attributes( IMPORTING STATIC_ATTRIBUTES = <ls_node1> ).
      ENDLOOP.

  • How to read block of rows from database tables

    I have created a Database Application in Java and display all the records in tabular format of one Table. This table have Millions of Rows, If I run Select * from Table, then my Machine not responding, so Now I wants to add paging of 1000 rows at one time.
    Is there are any option to read block of rows at one time and then query again for next page ?
    Please let me know..
    Database : SQL Server 2000/2005, Oracle and MYSQL
    Thanks in Advance
    Laxmilal

    Refer to the SQL documentation of the database server how to query a subset of records.
    This has certainly nothing to do with JDBC nor Java, but with SQL.

  • How to read values from the following XML?

    I have been using "extractValue" to get the values from a xmltype field and no problems until now.
    The xmltype now is like:
    <a>1</a>
    <b>2</b>
    <c>1221</c>
    <c>1412</c>
    <d>11111</d>
    <e>3333</e>
    I'm able to read values from 'a,b,d,e' but not from 'c'.
    Questions:
    1)- Is posible to read the values of field c?. How?
    2)- If is not posible to read the field values, Is posible to transfor the xmlfield to:
    Where I will be able to use xmltable columns and loop getting the values.
    <a>1</a>
    <b>2</b>
    <k>
    <c>1221</c>
    <c>1412</c>
    </k>
    <d>11111</d>
    <e>3333</e>
    Like always
    Thank you in advance for your help.
    Jose Galan

    SQL> with XML as
      2  (
      3   select xmltype(
      4  '<root>
      5    <a>1</a>
      6    <b>2</b>
      7    <c>1221</c>
      8    <c>1412</c>
      9    <d>11111</d>
    10    <e>3333</e>
    11  </root>'
    12  ) XMLDOC
    13    from dual
    14  )
    15  select a, b,c, d, e
    16    from XML,
    17         XMLTABLE
    18         (
    19            '/root'
    20            passing XMLDOC
    21            columns
    22            A number(5) path 'a',
    23            B number(5) path 'b',
    24            D number(5) path 'd',
    25            E number(5) path 'e',
    26            C_XML_FRAG xmltype path 'c'
    27         ),
    28         XMLTABLE
    29         (
    30           '/c'
    31           passing C_XML_FRAG
    32           columns
    33           C number(5) path '.'
    34         )
    35  /
             A          B          C          D          E
             1          2       1221      11111       3333
             1          2       1412      11111       3333
    SQL>

  • How to read value(entities) from disabled people editor control ?

    I am not able to read value from disabled people editor control. It is giving me count as zero. 
    As a workaround 
    I used :
    PeoplePicker.ShowButtons = false;
    PeoplePicker.AllowTypeIn = false;
    instead of
    PeoplePicker.Enabled=false :
    It stopped user from entering values in people editor but it is not controlling "BackSpace" i.e user can delete existing entities from people editor.
    NOTE : I have to achieve it through server side code or javascript only without using JQuery

    Hi,
    According to your post, my understanding is that you want to read value(entities) from disabled people editor control.
    Every time fill resolve is called
    FillClaimsForEntity is also called, you can use server side codeto get the value.
    Here is a similar thread for your reference:
    http://blog.krichie.com/2012/03/14/peopleeditor-resolvedentities-always-zero-when-control-is-disabled/
    In addition,  as a workaround, you can read the People Picker control value and added the value in a span and appended the span HTML into the ParentNode container for People Picker control, and hid the People Picker textbox, picker
    image and address book image.
    The article below use the JQuery to achieve it, you can also use JavaScript. Please refer to:
    http://www.c-sharpcorner.com/UploadFile/Ravish001/disable-people-picker-in-list-form-editform-aspx-using-jqu/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How do I get values into a vi from a subvi while the subvi is still running within the vi?

    Hello
    This is my problem. I have a subvi that runs an experiment. At different point in the experiment different instruments are on or off and I have a boolean array display this info. It is updated at various points of the experiment via a local variable. That works fine. Here is the problem though. I run that subvi from a main vi program (that runs it several times for several experiment cycles). I would like to pass the status of that array onto the mainvi to display there too. The problem is that the array in the main vi is not updated until the subvi is done running and thus displays only the array status at end of experiment (instead of changing
    as the status changes within the subvi). I tried using a global variable to write to it in the subvi every time there is an update, and read from it in the mainvi, but that doesn't work, it still displays just the status at the end of the subvi execution. Does anyone know how to make this work, or if there is a workaround this? Thanks.

    If you have LabVIEW 6i, you can update indicators of a calling VI from
    a SubVI, while the subVI is running.
    In your case you need
    1) an indicator on the main VI panel to display the boolean array
    2) to pass a reference to that indicator to the subvi when you call it
    3) to use this reference in the subVI, connect a property node to it and
    write the values to be displayed to the 'value' property of this node
    If you don't have version 6, you can write the values to be displayed to
    a global and display this global in the main VI from within a while loop
    which must run in the main VI in parallel to the running subVI.
    It's more complicated, since you need a mechanism to gracefully shut
    down the while loop after subVI finishes. You could do this with
    another global control boolean which is not displayed but just connected
    to the repeat terminal of the while loop. Don't forget to put a 'Wait' of,
    say, 50...100 msec in that while loop.
    -Franz
    zkajan schrieb:
    > Hello
    > This is my problem. I have a subvi that runs an experiment. At
    > different point in the experiment different instruments are on or off
    > and I have a boolean array display this info. It is updated at
    > various points of the experiment via a local variable. That works
    > fine. Here is the problem though. I run that subvi from a main vi
    > program (that runs it several times for several experiment cycles). I
    > would like to pass the status of that array onto the mainvi to display
    > there too. The problem is that the array in the main vi is not
    > updated until the subvi is done running and thus displays only the
    > array status at end of experiment (instead of changing as the status
    > changes within the subvi). I tried using a global variable to write
    > to it in the subvi every time there is an update, and read from it in
    > the mainvi, but that doesn't work, it still displays just the status
    > at the end of the subvi execution. Does anyone know how to make this
    > work, or if there is a workaround this? Thanks.
    Franz Josef Ahlers
    Section Semiconductor Devices
    Physikalisch-Technische Bundesanstalt
    Bundesallee 100
    D-38116 Braunschweig
    phone: (+49) 531 592 2410
    fax: (+49) 531 592 2405

  • How to update value in internal table from cdpos taking fname n value_new?

    hello everyone,
              i want to insert  value in internal table from cdpos table taking field name  from fname and value from value_new.but the problem is i am not getting how to map the corresponding field of internal table with fname value  which is the field name.
    for example
    i
    fieldname
    value
    name1
    raj
    name2
    sharma
    i want to update field name1. this name1 is there in fname with updated value in value_new  how to make name1 with fname value
    thanks and regards
    laxmikant soni

    Hi Laxmikant,
    If I have understood your requirement correctly, you need to update an internal table with latest 'value_new' from cdpos table where  'fname' = 'fieldname' .
    Hope the below logic will help you:
    FIELD-SYMBOLS: <wa_intab> LIKE LINE OF lt_intab.  "the internal table you want to change
    LOOP AT lt_intab ASSIGNING <wa_intab> .
       READ TABLE lt_cdpos INTO wa_cdpos           "lt_cdpos contains latest data selected from CDPOS
        WITH KEY fname = <wa_intab>-fieldname.
       IF sy-subrc = 0.
         <wa_intab>-value = wa_cdpos-value_new.    
       ELSE.
         "//logic if the name is not there in CDPOS
       ENDIF.
       CLEAR  wa_cdpos.
    ENDLOOP.
    If you wish to improve performance, I suggest using
    1. "transporting value_new" addition in READ TABLE,
    2.  select only the data which you require from CDPOS,
    3.  create the internal tables with only fields which you require,
    4.  when you are using SELECT,LOOP AT statements, limit records by using WHERE condition
    Regards,
    Kavya

  • How to read each and every word from a string.

    Hi all,
       I have a string which is having many label numbers. if the string is lv_str, its value is like, 11111111111111##22222222222222##3333333333333.
    I need to move the values alone into internal table. each value should be updated as a single row into one internal table. How to read each and every word of the string and move to an internal table.
    the internal table should be like this.
    11111111111111
    22222222222222
    3333333333333
    Can any one give me a suggestion in this regard.
    POINTS PROMISED.
    Regards,
    Buvana

    Hi,
    If you know the format and length of the data
    Use split at '#' so that you will get the individual values.
    Thean append it to internal table.
    Reward iof helpful.

  • How to read value of OVS Input field on pressinf of F4

    In my case I have to read value from context node as I am skipping the phase 1 of  on OVS PHASE MODEL
    but not sure how to read the value from context element
    METHOD on_ovs .
      DATA: lo_nd TYPE REF TO if_wd_context_node,
            lo_el TYPE REF TO if_wd_context_element,
            lo_el_parent TYPE REF TO if_wd_context_element.
      lo_el = wdevent->get_context_element( name = 'OVS_CONTEXT_ELEMENT' ).
      lo_el_parent = lo_el->get_node( )->get_parent_element( ).
      DATA: criteria TYPE string.
      DATA text TYPE string.
      lo_el->get_attribute( EXPORTING name = 'ATTR_TEXT' IMPORTING value = text ).
      DATA: ls_search_input  TYPE cl_grac_feeder_role_search=>lty_stru_input,
            lt_select_list   TYPE STANDARD TABLE OF cl_grac_feeder_role_search=>lty_stru_list,
            ls_text          TYPE wdr_name_value,
            lt_label_texts   TYPE wdr_name_value_list,
            lt_column_texts  TYPE wdr_name_value_list,
            lv_window_title  TYPE string,
            lv_table_header  TYPE string.
      FIELD-SYMBOLS: <ls_query_params> TYPE cl_grac_feeder_role_search=>lty_stru_input,
                     <ls_selection>    TYPE cl_grac_feeder_role_search=>lty_stru_list.
      CASE ovs_callback_object->phase_indicator.
        WHEN if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
      in this phase you have the possibility to define the texts,
      if you do not want to use the defaults (DDIC-texts)
         lt_label_texts =  wd_this->get_ovs_label_texts( criteria ).
         lt_column_texts = wd_this->get_ovs_column_texts( criteria ).
         lv_window_title = wd_this->get_ovs_window_title( criteria ).
         lv_table_header = wd_this->get_ovs_table_header( criteria ).
         lv_window_title = wd_assist->get_text( `003` ).
         lv_table_header = wd_assist->get_text( `004` ).
          CASE text.
            WHEN 'SYSTEM'.
              ls_text-name = `CONNECTORID`.
              ls_text-value = `System`.
              INSERT ls_text INTO TABLE lt_label_texts.
              lv_window_title = ls_text-value.
              lv_table_header = ls_text-value.
              lt_column_texts = lt_label_texts.
            when 'PERMISSION' .
              return.
            when 'ACTION'.
              RETURN.
          ENDCASE.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    window_title = lv_window_title
                    table_header = lv_table_header ).
        WHEN if_wd_ovs=>co_phase_1.  "set search structure and defaults
      In this phase you can set the structure and default values
      of the search structure. If this phase is omitted, the search
      fields will not be displayed, but the selection table is
      displayed directly.
      Read values of the original context (not necessary, but you
      may set these as the defaults). A reference to the context
      element is available in the callback object.
         ovs_callback_object->context_element->get_static_attributes(
             IMPORTING static_attributes = ls_search_input ).
        pass the values to the OVS component
         ovs_callback_object->set_input_structure(
             input = ls_search_input ).
          CASE text.
            WHEN 'SYSTEM'.
          DATA: l_conn TYPE grac_s_grfncgrpconlk.
              ovs_callback_object->set_input_structure( EXPORTING input = l_conn ).
          ENDCASE.
        WHEN if_wd_ovs=>co_phase_2.
      If phase 1 is implemented, use the field input for the
      selection of the table.
      If phase 1 is omitted, use values from your own context.
         IF ovs_callback_object->query_parameters IS NOT BOUND.
    TODO exception handling
         ENDIF.
         ASSIGN ovs_callback_object->query_parameters->*
                                 TO <ls_query_params>.
         IF NOT <ls_query_params> IS ASSIGNED.
    TODO exception handling
         ENDIF.
        call business logic for a table of possible values
        lt_select_list = ???
         DATA: l_data TYPE grac_t_bproc.
         DATA: ls_data TYPE REF TO data.
         DATA: l_stru TYPE REF TO cl_abap_tabledescr.
         l_stru ?= cl_abap_tabledescr=>describe_by_name( 'GRAC_T_BPROC' ).
         CREATE DATA ls_data TYPE HANDLE l_stru.
         wd_this->get_ovs_selection_list( EXPORTING iv_criteria = criteria IMPORTING rt_list = l_data ).
         "ASSIGN l_data->* to <lt_list>.
         ovs_callback_object->set_output_table( output = l_data ).
          "ovs_callback_object->set_output_table( output = lt_select_list ).
          FIELD-SYMBOLS: <fs_query_params> TYPE cl_grac_feeder_role_search=>lty_stru_input1,
          <fs_selection>    TYPE cl_grac_feeder_role_search=>lty_stru_list.
          DATA lv_connector_grp TYPE grfn_connectorgrp.
          IF ovs_callback_object->query_parameters IS NOT BOUND.
    TODO exception handling
          ENDIF.
          ASSIGN ovs_callback_object->query_parameters->*
          TO <fs_query_params>.
          IF NOT <fs_query_params> IS ASSIGNED.
    TODO exception handling
          ELSE.
            lv_connector_grp =  <fs_query_params>-field1.
          ENDIF.
         IF lv_connector_grp IS INITIAL.
           lv_connector_grp = '*'.
         ENDIF.
          CASE text.
            WHEN 'SYSTEM'.
              DATA: lt_system_list TYPE grac_t_grfncgrpconlk.
              FIELD-SYMBOLS: <ls_system> LIKE LINE OF lt_system_list.
              cl_grfn_cci_ts_configuration=>get_group_connectors(
                EXPORTING
                  iv_connector_grp    = lv_connector_grp
                 iv_no_authority_chk = ABAP_FALSE
                IMPORTING
                  rt_connectors       = lt_system_list
              ovs_callback_object->set_output_table( output = lt_system_list ).
              WHEN 'ACTION'.
                data lt_action_output TYPE TABLE OF cl_grac_feeder_role_search=>t_action_list.
                ovs_callback_object->set_output_table( output = lt_action_output ).
              WHEN 'PERMISSION'.
                DATA: lt_perm TYPE TABLE OF cl_grac_feeder_role_search=>t_permission_list.
          ovs_callback_object->set_output_table( OUTPUT = lt_perm ).
          ENDCASE.
        WHEN if_wd_ovs=>co_phase_3.
          FIELD-SYMBOLS <system> TYPE grac_s_grfncgrpconlk.
          CASE text.
            WHEN 'SYSTEM'.
              ASSIGN ovs_callback_object->selection->* TO <system>.
              IF <system> IS ASSIGNED.
                ovs_callback_object->context_element->set_attribute(
                name  = 'INPUT1_SYSTEM'
                value = <system>-connector ).
                wd_this->mv_connectorid = <system>-connector.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDMETHOD.

    Hi,
    It depends how you are setting your parameter also as there are different types of parameters in portal. The best is to use the page level parameters..
    Please read the developers gide Section 8.3 for more details....
    The link is :-
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#CHDGAHCF
    Guneet

Maybe you are looking for