Excel - frequency function

How can I calculate a frequency of train vibrations (expressed in Hz)? I used Human Vibration Analyzer to obtain RMS and Peek values of acceleration (a magnitude of vibration is expressed as acceleration - m/s2). I was trying to use Frequency function in
excel but not sure how to convert m/s2 into Hz. Thanks!

If your data is either amplitude vs time or acceleration vs time, then calculating frequency is easy.  if you calculate the time difference between two consecutive peaks or time time difference between three consecutive points of zero acceleration,
dividing this difference into one will yield the frequency.
gsnu201308

Similar Messages

  • Report generation Toolkit: Excel report functions error -2146827284

    Hi,
    I'm trying to create an automated report using excel functions from the report generation toolkit in labVIEW. When I run the program that generates the report first time round (the report consists of several worksheets, each worksheet is added onto the report at a diffferent state in a state machine) it always works fine and no error is generated. However, when I run the program again it will infrequently (sometimes it does, other times it will not) generate the undefined error -2146827284, this is coming from one of the excel report functions and it cannot find it on highlight execution mode.
    Does anyone know anything about this error, why it occurs, how to prevent it?
    I would appreciate any help.
    Thanks,
    Rowan

    mebels_cti wrote:
    Found something that helped; https://forums.ni.com/t5/LabVIEW/Error-code-quot-2146827284-quot-when-trying-to-open-an-Excel/m-p/20...
    Excel still open
    So I added this;
    You should use the Application Quit method instead of killing the task. I doubt this is the cause of your issue.
    Ben64

  • How to Simulate The Excel LINEST Function in LabVIEW

    This may be a dummy question but I’m pressed for time.  I have used the Linear Fit.vi function to duplicate the Excel LINEST function and it works great.  However, the engineers here want to set the LINEST const option to FALSE.  How can I duplicate this option using LabVIEW?  I’m using LV v.8.5.1.
    Solved!
    Go to Solution.

    Hi Darin,
      Your suggestion to use the General Polynomial Fit.vi lead me in the right direction.  I am able to duplicate the “const” option within the Excel LINEST function by using this vi.  Your response is much appreciated because it saved me considerable time.  Attached is a modified version of the Regressions Demo.vi that was available in LV help.  It shows how the “const” option makes a difference in the linear slope.
      Thanks again,
      Dave J.
    Attachments:
    Regressions Demo for TS1.vi ‏33 KB

  • Download to Excel 2000 Functionality

    Hi,
    I use the "Download to Excel 2000" functionality in OBIEE.
    When i see the output in Excel,columns B and C of excel get merged and display the second column in my report
    The point here is the first column in the report also has the same property and type as Column 1.but it is displayed properly in Cell A in the excel
    Is this an known OBIEE issue?
    Can anybody please help in this regard??
    Thanks in advance

    I think you got it correctly.
    I doubt this is Analytics problem - I think it's more of international codepages.
    Even if you open the same spreadsheet in a different localized Excel version, you'll see similar results. And then if you save it and open it in original version, it'll be messed up.
    Globalization :-)

  • How to implement Excel like functionality using Table?

    I have a requirement to implement excel like functionality in a table, i.e when I update the amount in the first row and tab out, the values in the rows below should get affected.
    Could any one suggest idea how to get this done?

    Hi Timo,
    Thanks for your Reply.
    Can you please provide the code for capturing the key stroke in java script and queue it in the server and calling only the adf data table values from it.
    Thanks And Regards,
    Lovenish Garg
    Edited by: lovenish on 21-Jan-2011 04:25

  • Can I  use excel type functions embedded into an online pdf form, ie Qty x Price= total $

    Can I use excel type functions embedded into an online pdf form, ie Qty x Price= total $

    Let me tell you what I am sure about and what I am not sure about:
    I am sure that I want to be able to sell my products online. The industrial market that I sell to usually do not allow the maintenance people that find me on the web, do not have the ability to use credit cards in a typical shopping cart format due to the higher prices that the equipment I sell costs and that most people call me up to 'request a formal quotation' to give to their purchasing depart. So, my bright idea is to create numerous pdf files with very specific url's to match the very specific items that I sell. (1) item per pdf. I am thinking that the advantage to skipping the shopping cart approach and allowing the customer to fill in the qty of items, which would be mulitpled by the price of the item (a constant #) and then hitting a apply button, that would calculate subtotal price. Discounts for the qty the customer inputs (qty of items inputted by customer would be discounted on a percentage x base price) and a refresh the screen. It would allow for SEO advantages from what I have seen in the past in my very vertical market. All forms would be setup using the same functionality, just images, alt text, urls, and readable text would change.
    What I don't know- which is alot, then how to calculate shipping costs. I have a weight per item, which can be added up. I saw an Adobe blog that allows UPS shipping cost to be programmed in. I don't know how dreamweaver works, which was what the blog mentioned would allow for this updated, instantanious interface with UPS and calculating real shipping costs to a specific zip code. Shipping cost would be fluff to this page. The main thing would be to do allow the customer to be able to fill in a qty of the specific item on the page, calculate a discount if / then type thing, be able to have customer email to purchasing dept or print. I would date stamp it with verbage that pricing is valid for XX days and if I could get a copy emailed to me that would be icing on the cake. I believe that this non static pdf would be something different then the current competion and that it would allow for 100's of quotes to be generated without customers having to wait 15 minutes to an hour for me to process the exact document that they are looking for.
    Hajeks

  • My excel stopped functioning

    I bought my Microsoft office last year and excel stopped functioning two weeks ago.

    there is a repeated beeping sound.
    LIke several beeps in a row?
    Power On Self-Test Beep Definition - Part 2
    And try Resetting the System Management Controller (SMC)

  • MySAP replacements for Excel upload function modules?

    I am doing some development in SRM 4.0 (WAS 640) and I notice that a few of my favorite function modules are no longer available.  Specifically, I'm missing these the most:
    KCD_EXCEL_OLE_TO_INT_CONVERT
    ALSM_EXCEL_TO_INTERNAL_TABLE
    Are there new equivalents?  I know how to access XLS files by writing my own OLE calls, but sometimes it's just easier to use the standard function modules instead.
    Yes, I've done a function module search, but I've found nothing that looks to the the same as my old friends.

    Hi Chris,
    I can't give you an alternative function module per say. Obviously, the downside of using SAP functions, that were probably never released for customer consumption anyway is that they can easily disappear. The suggestion I have is to use the features offered by DOI (desktop office integration). There in lies a set of classes and methods for generically accessing various documents (e.g. ms word, excel etc.) There is some examples in the re-use library (tcode se83). So here you don't need to be worried about the OLE either. Possibly in WAS there might also be some other classes that might access Excel sheets. Downside of finding a new function is that it might disappear in the next version you go to, whereas DOI is unlikey to disappear in a hurry. Best of luck.
    p.s. there are a few other postings in the forum, maybe one will give you an answer, if you haven't search already.
    Message was edited by: Michael Bennett

  • I need assistance with an Excel Lookup Function

    Just making sure I have it right. If all [SubPartNo] for a particular [PartNo] have a [Purchased] value of 1, you want the [Import] column to have a "Y" for all rows of that particular [PartNo].This is pretty straightforward. You're going to want to nest versions of the SUM and COUNT functions inside of an IF formula.If you have your table formatted as a table in Excel 2010 or higher:Text=IF ( SUMIFS ( [Purchased],[PartNo],[@PartNo] ) = COUNTIFS ( [PartNo],[@PartNo] ), "Y", "N" )If not, based on the visible rows in your attached image (you can adjust the 14 to be the actual last row of your data):
    Text=IF ( SUMIFS ( $C$2:$C$14, $A$2:$A$14, $A2 ) = COUNTIFS ( $A$2:$A$14, $A2 ), "Y", "N" )What these are doing is summing the [Purchased] column for all rows where the [PartNo] is the same as the current row. Then it is comparing that to the...

    I have the following table where I need to determine which parts I can import into our new
    database. The criteria is that all of the values in the purchased Column for each PartNo must = 1 in order to mark a Y in the Import field. Can anyone help me solve this? I've got several thousand to sort through.
    This topic first appeared in the Spiceworks Community

  • Use of Excel numerical functions

    Hello,
    Is it possible in a Excel rule file to use excel functions?
    For example, I would like to use the following function : Ceiling(<My attribute of type number>,1).
    I've seen that in a Word file, it is possible to use something like : <the result> = Round(<the value>,3)
    It seems that OPM does not detect excel functions. Can you help me?
    Thanks.
    Celine

    Brad is 100% right that the Excel functions can NOT be executed at runtime. Also, OPA does NOT pick up Excel functions at compile time at covert them into the OPA rule format. But there was a discussion and a prototype to do this years ago, but it was never developed. I like the idea that you could throw together an Excel sheet with some formulas for OPA to capture and include in your rulebase. Anyone else agree?

  • 11g equivalent of Excel LARGE() function? (nth largest in set)

    I've been spinning my wheels on this and figured I'd give the forums a try.
    I need to find the 13th largest value over the previous 52 weeks. I can set the window size correctly using ROWS 52 PRECEDING AND CURRENT ROW ORDER BY WEEK, but then I need another sort for the nTH largest within that partition. NTH_VALUE is close but what I really need is NTH_LARGEST_VALUE. Excel has a LARGE() function to do this.
    Any thoughts for achieving this? See the example below:
    Column desired_output is what I'm looking to achieve. It is the 2nd largest value over the current row and the previous 2 rows (ordered by week). Assume no relationship between week and val. These values just used for illustration purposes.
    with tab as
        select to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7 week,
               to_number(to_char(to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7,'dd')) val,
               case when level in (1,2) then null
                    when level = 3 then 11
                    when level = 4 then 18
                    when level = 5 then 18
                    when level = 6 then 8
                    when level = 7 then 8
                    when level = 8 then 15
                    when level = 9 then 22
                    when level = 10 then 22
               end desired_result
          from dual connect by level <= 10
    select week, val, desired_result
      from tab
    order by week; 
    WEEK             VAL DESIRED_RESULT
    04-JAN-12          4
    11-JAN-12         11
    18-JAN-12         18             11
    25-JAN-12         25             18
    01-FEB-12          1             18
    08-FEB-12          8              8
    15-FEB-12         15              8
    22-FEB-12         22             15
    29-FEB-12         29             22
    07-MAR-12          7             22
    10 rows selected.Any advice would be appreciated. Thanks!

    Ok,
    Maybe this one :SQL> !cat q.sql
    with tab as
        select to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7 week,
               to_number(to_char(to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7,'dd')) val,
               case when level in (1,2) then null
                    when level = 3 then 11
                    when level = 4 then 18
                    when level = 5 then 18
                    when level = 6 then 8
                    when level = 7 then 8
                    when level = 8 then 15
                    when level = 9 then 22
                    when level = 10 then 22
               end desired_result
          from dual connect by level <= 10
    ------ end of sample data ------
    select fweek,val,desired_result, lval as calculated_result
    from (
         select fweek,val,desired_result,src,lval, row_number() over (partition by fweek order by lval desc nulls last) r
         from (
              select fweek,val,desired_result,lval,src
              from (
                   select to_char(week,'yyyymmdd') fweek, val, desired_result
                   , lag(val,0) over (order by week asc) lag00
                   , lag(val,1) over (order by week asc) lag01
                   , lag(val,2) over (order by week asc) lag02
                   from tab t
              unpivot include nulls (
                   lval for (src) in
                        (lag00 as 0
                        ,lag01 as 1
                        ,lag02 as 2
    where r=2
    SQL> @q
    FWEEK           VAL DESIRED_RESULT CALCULATED_RESULT
    20120104          4
    20120111         11                                4
    20120118         18             11                11
    20120125         25             18                18
    20120201          1             18                18
    20120208          8              8                 8
    20120215         15              8                 8
    20120222         22             15                15
    20120229         29             22                22
    20120307          7             22                22
    10 rows selected.I have a difference from your desired_result for 20120111 : To me the 2nd greatest value for the 2 previous week is 4. I don't get why you want a NULL instead.
    In order to have a bigger range (6 in the following example, but can be completed up to 52 weeks), the code should look like that :SQL> !cat q2.sql
    with tab as
        select to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7 week,
               to_number(to_char(to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7,'dd')) val,
               case when level in (1,2) then null
                    when level = 3 then 11
                    when level = 4 then 18
                    when level = 5 then 18
                    when level = 6 then 8
                    when level = 7 then 8
                    when level = 8 then 15
                    when level = 9 then 22
                    when level = 10 then 22
               end desired_result
          from dual connect by level <= 10
    ------ end of sample data ------
    select fweek,val,desired_result, lval as calculated_result
    from (
         select fweek,val,desired_result,src,lval, row_number() over (partition by fweek order by lval desc nulls last) r
         from (
              select fweek,val,desired_result,lval,src
              from (
                   select to_char(week,'yyyymmdd') fweek, val, desired_result
                   , lag(val,0) over (order by week asc) lag00
                   , lag(val,1) over (order by week asc) lag01
                   , lag(val,2) over (order by week asc) lag02
                   , lag(val,3) over (order by week asc) lag03
                   , lag(val,4) over (order by week asc) lag04
                   , lag(val,5) over (order by week asc) lag05
                   , lag(val,6) over (order by week asc) lag06
                   -- this should continue up to "lag(val,52) over (order by week asc) lag52"
                   from tab t
              unpivot include nulls (
                   lval for (src) in
                        (lag00 as 0
                        ,lag01 as 1
                        ,lag02 as 2
                        ,lag03 as 3
                        ,lag04 as 4
                        ,lag05 as 5
                        ,lag06 as 6
                        -- this should continue up to "lag52 as 52"
    where r=3
    SQL> @q2
    FWEEK           VAL DESIRED_RESULT CALCULATED_RESULT
    20120104          4
    20120111         11
    20120118         18             11                 4
    20120125         25             18                11
    20120201          1             18                11
    20120208          8              8                11
    20120215         15              8                15
    20120222         22             15                18
    20120229         29             22                22
    20120307          7             22                22
    10 rows selected.This is the 3rd value over the 6 previous weeks.
    <b><u>Nota :</u></b>
    For some unknown reason, I had to convert week to char because of <i>"ORA-01801: date format is too long for internal buffer"</i>
    I didn't try to change my NLS_DATE_FORMAT to see if that would help.

  • Help Converting Excel Time( Function to DAX

    I have a column of data that has a text string that represents a time of day.  Example if 55553 which is 5:55:53 AM.
    I need to convert the time to Eastern, and display in a time format.  Here is the formula I am currently using in Excel:
    =(TEXT([Time of Day],"00\:00\:00")+0)+TIME(1,0,0)
    Can you help me convert to a DAX approach please?

    Hi Scott,
    you need the TIME-function in DAX: TIME(hours, minutes, seconds)
    https://msdn.microsoft.com/en-us/library/ee634564.aspx
    With some combinations of LEFT & RIGHT Text-Functions, you should be able to pick out the needed numbers from your string. Very much like Excel.
    Imke

  • Call Excel Macros function from Java

    Hi All,
    can u guide me How to call excel macros from java.
    The thing is first I have to enable macros and then call the macors function.
    Is this possible to call from Java. If yes guide me.
    Thanks in Advance

    Seems like something you'd have to do through COM.
    http://sourceforge.net/projects/jacob-project/
    HOW you do that is something you'll really have to figure out yourself, its not a Java question.

  • Errors in MS Office Excel save function

    When saving a file the save to function opens with a number of suggested locations. When one of those clicks the save box opens, however it doesn't open to the chosen location it opens to the last used location.
    When the file is saved the save box reopens (in the location the file was saved to) requiring you to close it down (or save again, then getting a question as to whether you want to overwrite the file you've just saved!)
    Sort it out Microsoft, I don't pay LOTS of money to get such a shoddy product and sort out the customer support function, I should get automatic error reporting options if I pay for a professional licence.
    Running:
    Window 8
    Microsoft Office Professional 2013

    Hi,
    Are we talking about the "Save" or "Save As" function?
    I wonder if it's caused by an add-in, you can verify by running Excel in Safe Mode to open and save the file:
    Press Win + R and type “excel /safe” in the blank box, then press Enter.
    If there’s no problem in Safe Mode, disable the suspicious add-ins to verify which add-ins caused this issue.
    If this doesn't fix the problem, is there any error message?
    You can also provide some images to OneDrive and share with me so that I can have a better understanding on the issue:
    https://onedrive.live.com/
    Feel free to post back.
    Regards,
    Melon Chen
    TechNet Community Support

  • Workaround for unsupported Excel Substitute() function?

    I have a cell being analyzed which stores user input and after a button is clicked i need to analyze the text in that cell and replace every carriage return "char(10)" with the string "%0D".  Excel's Substitute() function can do this in one shot for me, but it is not supported within Xcelsius.  I have tried the Replace() function but this only swaps the first occurance and does not fix all of them if multiples exist.
    I realize this can likely be done using an external script or .aspx but I was curious if it's possible to achieve this within the internal spreadsheet itself?  What I have done is copied the Replace() formula into 5 cells, each one referencing the cell before it in hopes that there are never more than 5 carriage returns that need to be replaced, but I was wondering if there's a more efficient/automatic way to do this.
    Considered posting this in an Excel forums but I have a feeling I would get a solution that involves another unsupported function.  Thanks for any help/answers.

    I don't know of any way to do this using only supported Excel formulas. The only ways I can think of would involve macros or an array formula.
    However if this is still relating to the email link you were enquiring about I have 2 possible solutions / workarounds.
    Solution 1:
    1. Inputbox for user suggestion with Destination cell set to A1
    2. A2 Contains the formula ="mailto:xATx.com?subject=Any Subject&body="&A1
    3. URL Button links to cell A2 as the URL ensuring that "Encode URL" is checked
    The above solution works correctly for me keeping all line breaks as they are typed. The "Encode URL" setting appears to be the key. This is using Xcelsius 2008 with Fix pack 3.3.
    Solution 2:
    A lot more complicated workaround more than a solution. This does effectively perform the same as the Substitute Function. I'll try to explain but without being able to attach an example my explanation may not make a great deal of sense.
    1. A1 is the Destination for the user input or cell containing text with line breaks
    2. Create an "input text area" object, check "enable HTML formatting" and set the default text as &lt;BR&gt;. Set the destination cell as A2 and check "insert data on load". Hide this item behind something so that it cannot be seen.
    3. Create a push button which copies the value from cell A1 to cell A3
    4. In cell A4 put the formula =NOT(ISERROR(FIND(A2,A3))) This returns TRUE if there are line breaks in the input text
    5. In cell A5 put the formula =IF(A4,REPLACE(A3,FIND(A2,A3),1,"%0D"),IF(A3="","",A3))  This replaces the first line break with %0D if appropriate
    6. Create a combo box component. Set the labels as cell A5, set the insertion type to label, set the destination to A3. Uncheck "Clear destination when no item is selected". Next on the behaviour tab set selected item type to Label and Item to Cell A5. This now copies the results of the formula back to Cell A3 if it changes.
    7. If you now input any text in the input box and click on the push button both cells A3 and A5 will replace all occurrences of CHAR(10) with "%0D"
    Personally I think this workaround may be a little tricky to get working exactly as you like... but it 'should' work.
    I should note that this can be used as a substitute replacement by ignoring step 2 and instead typing the text to be replaced in cell A2 and the formula in cell A5 should be =IF(A4,REPLACE(A3,FIND(A2,A3),len(A2),"%0D"),IF(A3="","",A3)) where %0D is the text to replace with.
    Hope this helps and makes sense,
    Paul

Maybe you are looking for

  • Can not view songs on my player via Itunes

    Installed Itunes 7.0 and hen I click on my Ipod Icon I can not see the contents of my Ipod anymore. I can see how many numbers, GB and days there are on my Nano, but cannot see the details. On earler Itunes versions, when you clicked on your Ipd icon

  • Mapping;suggestion

    Hi Gurus, Have a mapping scenerio in which 1)Source is an Idoc - > lot of nodes and subnodes 2)Target  is a ISO XML format ---> Lot of nodes and subnodes I tried the above mapping with Graphical,but facing too may issues with the context. Which type

  • Need Documents for BI HR functionality.

    Hi All,         I need some documents to understand BI-HR like data sources , cubes , start routines , bex query customization...etc. Thanks in Advance Regards, D.Joshi

  • Passing values to next page on Update image click?

    Hi Everyone, I have developed one OAF page which has onw table data to show. The last column is Update Image icon. Columns are like this: Eno, enmae, comm, address, salary, update. On clicking on update icon on any row the corresponding Eno and Ename

  • How to get an early upgrade on a phone?

    Hello Verizon community. I have an iPhone 4S right now and for some reason my upgrade is on 9/28/12. I really want the iPhone 5 (4SS, whatever it will be called haha) which should be announced and the preorders should go out on the 12/13th. I know ve