How to stop the counter after getting maximum amplitude from a waveform graph?

I am using accelerometer, optical encoder and daq card (PCI MIO 16XE10) for my tyre balancing project. Basically i am trying to stop my edges count from the optical encoder to get the position for putting the mass for correcting the balancing. Could anyone please help me by telling me how i can achieve it or is there any other ways to get the position using the daq card? One more thing, could anyone tell me how to change the waveform graph to frequency domain instead of time domain?

Time to Freq is easy. 1/time = freq. example. 1 msec period = 1000 hertz (1kHz).
I guessing you are attempting to design a new spin balancer for tires. I would record the entire "spin cycle with index count" then search the resulting waveform for the max amplitutes. Correlate the indexes and that should give you the high point and location. You might want to count the number of revolutions, then grab that 60% of that number of peaks.

Similar Messages

  • How to fin the Workcenter after getting Task list type

    Hi all ,
           I got the fields PLNTY(Task List Type ) , PLNNR(Key for Task List Group) , ZAEHL(Internal counter ) and VORNR (Operation/Activity Number)   from PLPO table .
    I need to get the work centers names . I saw the work centers are in CRHD table .
    May i know how to get the name of the work centers after getting the task list type details .
    I  found the routing details of a give finished/semi finished material .
    my next step is to find the work centers.
    Any suggetions from you are appreciated .
    Regards
    Raj

    Hi Jan,
    Yes, sa38 makes it possible indeed to execute in background into immediate mode a job but
    the user have to know the name of the program to be carried out ...
    The user knows only the name of these transactions trade. For example, IW38.
    In the menu of this transaction, SAP gives the possibility to execute in background :
    Program --> Execute in Background --> display of Start Time screen for the type of start condition :
    Immediate, Date/Time, After job, After event, or At operation mode).
    It is at this time there that we want that the user can only choose the "immediate" mode.
    We must thus prohibit the other choices (Date/Time, After job, After event, or At operation mode) ... and
    and we don't know how to restrict these other options in this screen "Start Time screen for the type of start condition".
    Thank you.
    By.

  • How can I programmatically remove a selection of plots from a waveform graph?

    I have a waveform graph to display a number of plots, which I need to programmatically add and delete to as selections of data are chosen by the user for display.
    I've looked under the VI Server Property node and cannot see anything suitable for adding extra plots, or removing existing plots. I expected to see a Plot Data array variable, with each element containing the data for each of the plots on the graph. There is such an array for the annotations, which I can easily edit by Removing Subset for Array, or Insert into Array, but nothing for the plot data. The Value property is a Variant, which I'm unsure how to handle. Should I be working with this perhaps? Can this be done by creating a Local Variable read node? Or am I missing something simple here??
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

    Hi Mike,
    I was trying to use the Property Node (Value) to read the waveform graph, but I was getting a Variant type back, not a 2D array of DBLs as I expected. Turns out I was passing the graph control reference to a subvi whose control refnum had the Include Type flag unchecked. As a result of this explicit definition, Value was of an uncertain (undefined) type and couldn't be natively provided. It would have had to have been cast into a more specific type to work. Have solved the problem by ensuring all my references are of a strict type, and now (as you recommend) the Property Node (Value) is useful
    Many thanks for the response!
    And many thanks for the demo too! You put that together remarkably quickly!
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • How to continue the loop after getting the exception NO_DATA_FOUND

    I am inserting 2000 employees attendance data into table through procedure by validating the shifts assigned some times if employee doesn't have shift it raising NO_DATA_FOUND exception, so now I am inserting the details of the employee into one table as a log.
    my question is if 2000 transactions are inserting if exception raised at 1000 record as "NO_DATA_FOUND" is it remaining records will insert into the table? or it will exit from the procedure and stops remaining 1000 transactions?, please advice if any other way to continue the remaining transactions
    oracle version: 11 G R2, OS: Windows 2008 R2

    Do your select statement in a seperate begin...end block, you can cath the excption in the block and do your logging there.
    Something like this
    --just an example from scott/tiger
    Declare
    CNT number := 7851 ;
    vname varchar2(25);
    ins_flag boolean ;
    BEGIN
    while cnt  <= 7935 and cnt >=7850
    LOOP
    Begin
    select ename into vname from emp where empno=cnt ;
    ins_flag := true;
    exception
      when no_data_found then
    -- dbms_output.put_line('no data');
    ins_flag := false;
    end;
      if ins_flag then
      --do insert here
      dbms_output.put_line('do your insert here');
    else
      dbms_output.put_line('no insert');
    end if;
      cnt := cnt+1 ;
    END LOOP;
    end;

  • How to make the Commit after calling a BAPI from SE37 ?

    Hi
    When i use a BAPI for update some SAP table i always call the BAPI inside a program and then i call the BAPI_TRANSACTION_COMMIT for made the changes and validate them
    Bot now i need to test the BAPI directly in SE37 , and the BAPI returns the sucess message but i can not see the changes in the SAP tables , i guess i need to make the Commit but how can i do this ? 
    by calling the BAPI_TRANSACTION_COMMIT directly in SE37 after the call to the other BAPI  ?
    Thanks
    Frank

    se37 > clear the field of the function module name
    menu path: Function module > test > test sequence and give you FM's sequence you want to test

  • How can stop the bdump and udump trace files from accumulating?

    The files are growing so until it is filling up the user's c: drive. It's hundreds of files over 20 megs.

    Angela,
    The management of those files is a reposnsibilty of the DBA. ie The files dumped there are from background processes, session traces and your alert log.
    The alert log in bdump should be checked daily and errors investigated. Some errors will result in trace files being dumped. The alert log will always grow during normal operation and you can simply delete it or better yet zip it up and store it somewhere for a period of time.
    You can clean up the udump user traces files by simply deleting them periodically. For other traces you should have a look to see what they are for. Any ORA 600 traces should be investigated.
    If you are not a DBA and this seems to much trouble then you can just delete the files to reclaim the space.

  • How to stop the message "press 1 for ..."

    Hello, while I'm at it...does anyone know how to stop the instructions that get attached to my outgoing voicemail message?  You know, the one that says, press 1 for __, press 2 for __, press * to send a fax.....in my old phone (also with Verizon) it didn't have that message. 
    Thanks all!

    I took this problem to a genius.  He removed the SIM card and added a new "blank" card from AT&T.  Using this SIM we went to setting an turned cellular data off.  Then we put the Apple SIM back in the machine.  Now you can turn off the cellular so you will no longer get the messages.  To end this practice, sign up with a carrier.  Just click the button in the Settings... menu.

  • How to enable the screen after triggering the error message

    Hi All,
    we have a tcode IW31, in that one field(WBS element -PROID) is not mandatory. so we have written the following code to make it mandatory in a user exit EXIT_SAPLCOIH_010.It's triggering the error message, but it is going into disable mode. Please sugget me how to enable the screen after getting the error message triggering.
    if not caufvd_imp-proid is initial.
      select single * from t350 into wa_t350
              where  auart    = caufvd_imp-auart
                and  imord    = 'X'.
      if sy-subrc is initial.
        pspel = caufvd_imp-proid.
      else.
        call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
             exporting
                  input  = caufvd_imp-proid
             importing
                  output = l_posid.
        concatenate text-t10 l_posid text-t11
                    into l_textline1 separated by space.
        message i208(00) with l_textline1.
      endif.
    else.
      message e208(00) with 'Please maintain WBS element in Location Tab'.
    endif.
    Thanks

    Hi,
    Instead of error message use status message like
    message s208(00) with 'Please maintain WBS element in Location Tab'.
    Leave to screen sy-synnr.
    This will allow to move to the screen and have in enable mode.
    WIth Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Feb 13, 2009 7:46 AM

  • After getting an update from 10.6.8 many of my programs were no longer able to open. How can I undo the update or solve this problem another way?

    After getting an update from 10.6.8 many of my programs were no longer able to open. How can I undo the update or solve this problem another way?

    Do you have a bootable clone from prior to the update? If so, roll back with that.
    Are your apps that won't open PPC and do they need Rosetta? Do you need to activate Rosetta?
    Have you considered reinstalling 10.6 from your install disc and then coming forward with the 10.6.8 Combo Updater, then doing software update and not including whatever it was you installed that caused this propblem?
    By the way - what update was it that caused this problem?

  • How to stop the auto-start of log reader agent (replication) right after my database is restored?

    I have the scenario where the SQL server is restored (after migration).
    This database has transactional replication set-up on one of the databases. When I do a manual delete and restore of the database, I see that the replication starts right after the publisher and subscriber are restored.
    Replication agents should not start and run before the integrity checks are completed. How to stop the replication from auto starting right after the migration?
    Thanks in advance - Jebah

    Thanks Pradyothana, I have disabled the logreader, distribution agents through sp_update_job in Tsql script. I have also verified that there are no pending transactions to be replicated to the subscriber, I see that the job is still being executed. Is there
    any other way to disable the jobs?
    Steps I followed
    Started with a Working publication and subscription
    Disabled the jobs (log reader and distribution agents)
    Backed up publisher, subscriber, distribution and msdb
    Deleted the publication, subscription, publisher and subscriber
    Restored the publisher, subscriber, distribution and msdb
    Enabled the jobs and executed sp_replrestart
    Observations/Issues
    Replication does not work
    Replication monitor does not show any error
    Jobs are shows as enabled but not started in job monitor
    Not able to start/stop the log reader and synchronization manually.
    I am not sure if I have missed something while restoring the db.
    Thanks in advance

  • How to stop the new health application from Count the steps/ woking background?

    how to stop the new health application from Count the steps/ woking background?
    I really need your help

    I agree with Mr. Hall that using mx.controls.Alert in Flex may be a better route.
    Show the Alert like this:
    // show an alert with a question and yes and no choices
    Alert.show( "Would you like to go to the Adobe Forums?", "Question",
         Alert.YES | Alert.NO, this, closeHandler, null, Alert.YES );
    Then handle the response in the closeHandler() function:
    protected function closeHandler( closeEvent:CloseEvent ):void
    if( event.detail == Alert.YES )
         navigateToURL( new URLRequest('http://forums.adobe.com'), '_self' );
    else if( event.detail == Alert.NO )
         // they chose no
    The following documentation on Alerts may be helpful:
    http://www.flexafterdark.com/docs/ActionScript-Alert
    Let me know if that helps...
    Ben Edwards

  • How to stop the gray wheel from spinning after logging out

    how to stop the gray wheel from spinning after logging out?

    Frank ...
    Make sure to quit all open applications before logging out.
    Your proflie indicates your Mac has v10.7.1 installed.
    If that is the case, updating your system software will help as far as functionaly as well as security.
    Install the OS X Lion Update 10.7.5 (Client Combo)
    Then restart your Mac.
    message edited by:  cs

  • How to stop the spinning  ball after trying to install 10.7.3?How

    How to stop the spinning ball after trying to install V10.7.3?

    Boot from your recovery partition by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    When the Recovery desktop appears, reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • How do you stop the welcome to firefox 4 screen from coming up every time I open firefox? I get two tabs, one the welcome window, then my home page. How do you stop the bloody welcome screen?

    How do you stop the welcome to firefox 4 screen from coming up every time I open firefox? I get two tabs, one the welcome window, then my home page. How do you stop the bloody welcome screen?

    Its not my home page, Like I said, I hae my home page also come up in a different tab (google) I also get the welcome to FF4 on a seperate tab. My home page is set to google. But I dont want the welcome screen to pop up

  • Question:  How do I stop the syncing of/get rid of MobileMe?

    Question:  How do I stop the syncing of/get rid of MobileMe?

    If you haven't yet signed out in System Preferences>MobileMe go there: go to the iDisk pane and if you have iDisk Syncing running, stop it. Go to the Sync pane and turn off all syncing. Then go to the Account pane and sign out.
    Also go to iPhoto and/or Aperture if applicable and if they have an accounts section in Preferences remove MobileMe from it (not all versions do).
    If you have already signed out you won't be able to sign back in to do this. In that event, or if the above doesn't work, go to (user)/Library/Preferences/ByHost and remove all .plist files beginning with com.apple.DotMac and com.apple.idisk.

Maybe you are looking for

  • Thunderbolt and DVI splitter

    I have two DVI/VGA monitors I use for work and looking to see if there is a splitter from a thunderbolt port that would let me use these with my Macbook Air.  My Air does support thunderbolt displays just been trying to google such an item and not su

  • Contribute CS4 - Can you schedule Publishing?

    Dear Community, Is it possible to schedule publishing on Contribute CS4? I'd like to apply some changes to my website and have Contribute CS4 publish them automatically at the end of the day, 5pm for example, rather than having to publish manually. I

  • ECCS - Integration of an operative FS version  with a FS Item Hierarchy

    Dear collegues, I'm trying to create a FS Item Hierarchy on ECCS as a copy from the FS Version (T011) but I'm not able to get the GL accounts as a position, but only the previous node of the tree, I mean, no gl account is populated as a position. I h

  • Maintain sales text View through BAPI_MATERIAL_SAVEDATA

    Hi, in BAPI_MATERIAL_SAVEDATA, can we maintain the Sales Text view in mm02 through this BAPI. Regards, Masoom Ali

  • Java webdynpro date format

    Hi , I am using some standard java webdynpro from ess/mss package the date format is in US format i.e mm/dd/yyyy in the iviews. How to change this to dd/mm/yyyy.My browser I.E is already set to ENGLISH UK. Can anyone suggest me how to change the date