Problem in updating value at different time interval

Hello,
Can anyonce suggest me how to update different value at different time interval.
I want to use only one while loop but I should be able to send data at different rate.
Eg:- I have 3 input ,10,20,30
I need to give output 10 at every 5 ms
20 at every 10th sec
30th at every 13th sec.
so my output should be
10 at 5th sec
10 at 10 sec
20 at 10th sec
30th at 13th sec.
Please let me know if anyone has solution for it.

Is this under windows on in a realtime system?
In the varous posts, you are sometimes talking about milliseconds, sometimes about seconds
You could run a timed loop at 5ms time and use quotient and remainder for each multiple with three parallel case structures.
Here's a possible solution for the case:
output 10 at every 5 ms
20 at every 10th sec
30th at every 13th sec.
as in the original post...
LabVIEW Champion . Do more with less code and in less time .
Attachments:
VariousTimes.png ‏8 KB

Similar Messages

  • Problem in updating the GR processing time using BAPI 'BAPI_SAG_CHANGE'

    Hi,
    I am using the BAPI 'BAPI_SAG_CHANGE' for uopdating the GR processing time(BAPIMEOUTITEM-GR_PR_TIME) of the scheduling agreements.
    Issue: when there is no value maintained for GR processing time for a particular scheduling agreemnet the BAPI updates the GR processing time successfully but when there is some value already existing for a particular scheculing agreement then the BAPI does not update this field eventhough the return parameter shows the message 'successfully updated'.   
    Can somebody suggest what could be the reason.
    OR
    Is there any other way/FM to update the scheduling agreements.  
    Thanks,
    Ravindra

    This appears to be old-style BAPI, with ....X tables.  Did you populate the field in the X version of the outitem for the column(s) to be changed?  Did you call the COMMIT bapi after the update?

  • How to get updated value at run time in oracle forms

    How to get updated value form oracle database on a field in oracle forms 6.0 at run time if the same form is opened by multiple users and both have get the same maximum value if one commit the record then how other would get that maximum value with out exiting that form...

    This issue is fairly common and Forms handles the situation by displaying the error, "Record has been updated by another user. Requery to see changes." if a user tries to update a record that was updated by another user.
    If your data is in a base table block, you can check before you save by checking the value in the form against the database using the Get_Item_Property('<BLOCK.ITEM>',DATABASE_VALUE). You can compare the value returned by the built-in against the value in the field to see if they have changed. This could be a lot of work and a lot of network traffic if you are checking numerous items in your data block. Forms has a standard locking mechanism that will lock the queried record as soon as a user makes any changes. If another user queries and attempts to change the record locked by another user - they will receive a "Record Locked" message.
    Francois brings up a valid point. Perhaps you should review the link Francios provided as well as this one: How to ask questions the smart way
    It is always a good idea to review your thread before you post it and ask yourself, "Could I answer this question given the information I've provided and the way I've asked the question?"
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Problem getting updated values from DCIteratorBinding

    Hello,
    I have one af:table which is binded using DataControl based on ViewObject.
    I typed some values in each column and now I want to access those values from the iterator but its giving me initial value at the time page loaded.
    //getting the iterator
    DCIteratorBinding itr = ADFUtils.findIterator("ViewObject1Iterator");
    Row row[] = itr.getAllRowsInRange();
    String deptName = (String) row[1].getAttribute("deptName");
    The strange thing is, I have another ViewObject binded to af:table and it works fine I do not know whats wrong here
    any ideas?
    many thanks

    Hi,
    the code seems okay and if it works with another VO but not this particular, then the issue obviously is not in teh Java code but the page code. Since you have a working and a not working solution, i don't think its an issue with the product.
    Frank

  • I want to find different time interval btw two times

    hi every body,
    my question : i ll give start time and end time as input.
    i want output ,time interval btw start time and end time
    for exp:  i ll give 7 to 11 as input.
        tables have data like   7   to  7.29.59  --->  1 prog
                                           8.00.00 to 9.29.59-----> 2 prog
                                           10.00.00 to 10.29.59--->3 prog
    i want to find time gap btw the progs  and want display output as  like  7.30.00 - 7.59.59  --->1 interval
                                                                                    9.30.00-9.59.59   ---> 2 interval
                                                                                    10.29.59-11.00.00---->3 interval

    Hi,
    declare some tmp WA as wa_tmp
    loop the data.
    adding from date.
    wa_tmp = data-from + 1 .
    read the next line
    read table data index sy-tabix + 1
    wa_tmp = to date of next line - 1.
    then append wa_tmp to final it.
    endloop.
    Hope it helps.

  • Problems in updating values

    Hi,
    I have an ADF input form where results are displayed after a named query.
    I make some changes to the values of some fields and push a save button.
    It doesn't work. I'm using toplink 9.0.4 and I think I should find a way to detach the results of the query in order to get them updated.
    I'd need a workaround for the following instruction:
    result = (ServiceRequests)getSessionFactory().detach(result);
    Can anyone help me?
    Thanks in advance
    Pino

    thanks for answering!
    so far, so good
    I tried in sql-plus the following:
    SQL> select bestellnr from
    2 K_falschgeladen_vw
    3 where
    4 LIEFERDATUM=02-OKT-09;
    LIEFERDATUM=02-OKT-09
    ERROR in Zeile 4:
    ORA-00904: Ungültiger Spaltenname
    Problem seems to be the kind of the date value. the format wich is used ist DD.MM.RR, so the right value should be 02.10.09. if I amend v_bestellnr as follows
    v_bestellnr := to_char(:k_falschgeladen_vw.Lieferdatum,'DD.MM.RR');
    test := 'LIEFERDATUM='||v_bestellnr;
    then I get no result and after pressing shift F1 the message ORA 00933 ... could not finish correctly

  • Problem in updating values in hashmap

    I have a hashmap(key,value), where key is a String and value is an ArrayList. It has following values:
    {500, [GRES]}
    {600, [GRES]}
    Now i check for the key 500 in the hashmap and want to update the value ArrayList for it with [GRES,TOEC].
    For doing this i have written code as follows:
    if(hashmap.containsKey("500")) {
        ArrayList hashDoc = (ArrayList) hashmap.get(500);
        hashDoc.add("TOEC");
        hashmap.put(500,hashDoc);
    }The problem i am facing with this code is that the value for key 600 is also changing to [GRES,TOEC], which i don't want.
    I just want to update the value for key 500.
    What should i do?

    Though there does not seem any problem with your code, I tried to simulate the same.
      public class HashMapDemo {
         public static void main(String[] args) {
              ArrayList l1 = new ArrayList();
              l1.add("1");
              ArrayList l2 = new ArrayList();
              l2.add("2");
              HashMap x = new HashMap();
              x.put("500", l1);
              x.put("600", l2);
              if(x.containsKey("500")) {
                   ArrayList tem = (ArrayList)x.get("500");
                   tem.add("1.2");     
                   //x.put("500", tem);
              System.out.println(l1);
              System.out.println(l2);
    }OutPut:
    [1, 1.2]
    [2]

  • Problem with updating values...

    Hi,
    I am facing a problem, I want to update tables that is in my local host server which is now I m using Access , and i want to update my values in server database which is MySQL, is dere any option to do dat...please help me out of dis problem...thanks

    So change your DB from Access to MySQL. What's the problem?

  • SBO 2005 combo box does not update value at first time

    Hi!I developed an addon for sbo 2004 with a combo box populated with the months of the year, and it works. The same code run on SBO 2005 works only after the second selection. Has anyone found the same problem?

    definition of the item:
    item = form.Items.Add("oMese", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
                    item.Left = 245
                    item.Top = 5
                    item.Width = 80
                    item.DisplayDesc = True
                    combo = item.Specific
                    combo.DataBind.SetBound(True, "", "uMese")
                    combo.ValidValues.Add(1, "Gennaio")
                    combo.ValidValues.Add(2, "Febbraio")
    event handling:
    inside ItemEvent in case the item is selected
    Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
                        Select Case pVal.FormUID
                            Case "PRG_UFM_0002_RegIVAAcq"
                                retCode = oTy_RACQ.FormComboSelect(pVal, BubbleEvent)
      Public Shared Function FormComboSelect(ByVal pVal As SAPbouiCOM.ItemEvent, _
                                               ByRef BubbleEvent As Boolean, _
                                               ByRef funCaller As Object, _
                                               ByVal funCallerID As Integer, _
                                               ByRef aForm As SAPbouiCOM.Form) _
                                               As Integer
            Dim msg As String
            Dim edt As SAPbouiCOM.EditText
            Dim cmb As SAPbouiCOM.ComboBox
            Dim obt As SAPbouiCOM.OptionBtn
            Dim cbx As SAPbouiCOM.CheckBox
            Dim mtx As SAPbouiCOM.Matrix
            Try
                If pVal.Before_Action = True Then
                    Select Case pVal.ItemUID
                        Case "oMese"
                            Dim stre As New strEstremi
                            cmb = aForm.Items.Item("oMese").Specific
                            edt = aForm.Items.Item("anno").Specific
                            If Not cmb.Selected Is Nothing Then
                                GetEstremiPeriod(edt.Value, cmb.Selected.Value, "M", stre)
                                edt = aForm.Items.Item("dtFrom").Specific
                                edt.String = stre.dtFrom
                                edt = aForm.Items.Item("dtTo").Specific
                                edt.String = stre.dtTo
                            End If
    end function
    thank you I hope is enough otherwise please tell me

  • Small problem  in updating values

    Structure of a table :
    Column Type
    name name Length Scale Nulls
    EMPNO INTEGER 4 0 Yes
    ENAME CHARACTER 20 0 Yes
    CNTY_VISITED CHARACTER 100 0 Yes
    I want to insert a row in the table such that the data in the table shud look as :
    EMPNO ENAME CNTY_VISITED
    1001 JACK 'IND','JPN'
    I guess you understood the req. It should not be IND,JPN.. It should be ' IND ' , ' JPN '
    in the table.

    > but its not the same with other special operators like * and ,
    any special conditions to be followed for these operators to get
    the output in the format IND,*JAP*.
    The asterisk (*) and comma (,) are just regular characters. Only because a quote (') is also used to mark the beginning and the end of a string, we have to do something different to say "this is a quote and not the end of the string". This is done by using two subsequent quotes. So:
    '''IND'',''JPN''')should be read as "beginning of the string" followed by a quote, the text IND, a quote, a comma, a quote, the text JPN, a quote and a marker for the end of the string. Where each "a quote" is written by two quotes inside the string.
    Hope this helps.
    Regards,
    Rob.

  • Update values on an Adobe Interactive Form

    My question refers to the thread posted back in 2004 which remains unanswered...
    Thread: http'How to update values in Adobe form?
    With ECC 6.00 (SP10) , assuming that the Webdynpro and Adobe Interactive Forms has been correctly setup, can values on an Adobe Form be updated after retrieval from the back-end database?
    Updating of UI elements NOT on the Adobe Form has always worked; but, there it is unclear if the problem to update values inside the Adobe Form has been resolved.
    Can anyone address this issue with a detailed explanation or example code?
    Best regards,
    john

    Can you please, open a customer message in the BC-SRV-FP queue and please, provide your landscape component info, i.e., ECC 6.00(SPS10), AS Java SPS?.  Please also, provide a WTS connection and information on how to replicate the problem.  If it is possible also, upload the webdynpro project in question.
    Thanks... George

  • Updating Values from Portal to R/3

    Hi ,
      Iam facing a problem in updating values while calling RFCs from portal.This is the scenario of calling RFCs :
    1. Submitting new data by changing some values from the existing record.
                                   - They are calling a RFC to save those values in R/3.
                I have used Commit work and wait and also   
                BAPI_TRANSACTION_COMMIT to update the values in database in this 
                RFC.
    2. Now Immediately after submission they are searching the records by giving  
        changed values as search criteria by calling another RFC(RFC for search).
                                  - The record is coming but the values are not updating and showing previous values.
    Same scenario is working fine from R/3 when executing the Function modules with out calling from portal.
    What are the changes that need to do at R/3 side?
    Thanks & Regards,
    Swarna Munukoti.
    Message was edited by:
            Swarna Munukoti

    In addition and from a maintenance perspective you could do a: Portal Group to R/3 UserMapping.
    This will then automatically map all Portal Users in the Portal Group to the one R/3 user in the back-end. This saves effort when new users are created on the portal you don't have to map them all.
    This method is also proposed by SAP for mapping to MDM for example.
    NOTE: When you choose this you cannot trace the user in the back-end because
    this back-end user is shared. If this is not a problem for your scenarion then I would say go for it.
    Cheers,
    Benjamin Houttuin

  • New Cost center Time-interval getting deleted automatically in Asset master

    Hi Friends,
    While changing the cost center in the asset master data with a new time interval, the check-box 'Deletable' gets automatically ticked and the new interval gets deleted and the new cost center is updated in the old time interval. The check-box is greyed out and cannot be edited.
    The right-most check-box in the 'More Intervals' button in the second tab of the asset master is the 'Deletable' check-box (Field Name: RA02S-XDEL).
    Please help me to make the check-box editable or help me to remove the default tick in the check-box.
    Regards,
    Shilpi

    Hi Murlidhar,
    Thanks a lot for the response.
    If the check-box gets deselected when we press the 'Save' button, still the new interval is getting automatically deleted.
    Earlier this was not happening, the new and the old interval was getting displayed separately. There are instances in the system, where both old and new interval is displayed.
    Of late, we notice that the new interval is getting deleted as soon as we save it.
    Please help to retain both the intervals.
    Regards,
    Shilpi

  • Restrict the report to a time interval containing current date

    hi all,
    we have a time dependent master data object, for which there are two records in the master data for two different time interval for example
    comp valid_to valid_from amount
    ab00  10/12/2006  01/01/100 100
    ab00  31/12/9999  11/12/2006 200
    now we want to show only those record for which the current date lies in the time interval (valid_to and valid_from) i.e only the second record should be present in the report.
    how can we achieve this at the query level.
    any help will be appreciated.
    thanks,
    Rk

    Hi RK,
    Use Query Key Date(give current date) then it will only pics data which falling into that perticulr interval(Valid from & Valid to).
    You can add Key Date, at Query Properties--> show variable.
    Please check : [Query Properties|http://help.sap.com/saphelp_nw04/Helpdata/EN/07/0ab63c71f41d5ce10000000a114084/content.htm]
    Hope it Helps
    Srini

  • LOV Problem with multiple values

    HI All,
    I have a problem with LOV .When ever i click LOV after search button all values are displaying fine.
    But when i get so many values i want to select only one vlaue that is not cmng to the main page ....Cursor is in running state always after that time out error is coming in my application .
    This problem is coming with with only single value selection in lOV only problem with Multiple values retrival that time only...
    (Iam using 11.1.1.3 Jdeveloper.)
    Thanx in advance...

    duplicate of {thread:id=2286814}

Maybe you are looking for

  • How to change apple ID on original ipad

    Hi, I have a version one ipad, and have not used the itunes store for several years (after a flurry of initial app purchasing), and in the meantime my hotmail account was spammed and closed, sooo I cannot sign it, to to sign out so I can change to my

  • Can I change the Power button to turn on the screen

    Is there anyway you can re-assign the power button to something else like touching the screen to turn it on when the screen is off.  I have mu Z2 in a leather case and I have to use my fingernail to push the button as the case makes it very hard to p

  • Direct mail campaign based on partner function

    I'm trying to create a direct mail campaign to all persons who have a certain partner function. I have succeeded in getting all the persons out by exporting them from the target group in the Segment Builder, but I would also like to have the Company

  • Imac 8,1 does not boot stuck on blue screen

    imac8,1 mid (2008) 20" stuck on blue screen after boot ,It starts in safemode, below is a list of thing i have check so far 1 Apple hardware test (says every thing is ok) 2 Disk utility repair (was successfull) 3 reset PRAM ,SMC 3 Boot for OSX dvd an

  • How do I save my profile of ASPHALT6?

    I had my pod replced couple of times and I had to reset all apps and I am expecting another replacement now I would like to know if I can save my ASPHALT 6 profile somehow? I don't wish to race whole series every time I replace my pod. any suggestion