FFT and Overall Values Differ btwn VI and DIAdem

Hi all,
I have an application that displays live vibration readings including the spectrum and overall vibration level.  All my report generation is done in DIAdem scripts, so it's critical that any values calculated and displayed on the LabVIEW side match the values calculated and reported in DIAdem.  The attached VI and Script, when fed the input from the attached TDMS file, give me significantly different values for the magnitude of the FFT and overall RMS value.  Can anyone spot what I'm doing wrong?
Thanks,
Scott
CLAD
Solved!
Go to Solution.
Attachments:
FFT and RMS Script.VBS ‏5 KB
FFT and RMS VI.vi ‏39 KB
VibrationSample.tdms ‏103 KB

Hello,
Here is a great reponse from R&D. I felt it would be better to place this on the web then keep it limited to your service request.
The difference has to do with the Window-correction. The results are identical if you select rectangluar (or no) window.
Usually a Window is taking a part of the singnal away, so in the first place, the result has a different shape and is smaller compared to result with rectangular window. This can be corrected with a specific factor for each window.
There are two possible corrections. Random and periodic.
- Periodic is used if you have pure sine-wave like signals and you want to measure the peak value. A typical use case is the flattop-window which is designed for this type of calculations.   The periodic correction is too large if you want to add the values to calculate the total RMS of the signal or of a the summation of a certain frequency band.
- Random is correcting the signal back to the correct overall RMS value and should be used in all other cases.
The periodic correction for the Hanning window is a factor of two. The random correction is about 1.633. DIAdem will give the same result as LabVIEW if you use the following correction type:
FFTWndCorrectTyp = "periodic"
In the world of FFT-analysis, the different corrections are very often not obvious and hidden to the user. Unfortunately this is also the case in LabVIEW. You can find a good example of an explanation here:
http://blog.prosig.com/2009/09/01/amplitude-and-energy-correction-a-brief-summary/
There are different factors for the different window functions. If you go deeper into the FFT-VI you will find the "Scaled Window VI". This has an output "window constants". With this, it is possible to get the correction values for the window functions.
I also think, that periodic is wrong in most cases when Hanning is used, because Hanning is best for the summation of RMS values in frequency bands and the results are wrong without a random correction.
Hope that helps.
Jacob R. | Applications Engineer | National Instruments

Similar Messages

  • Diff btwn Grid and cluster

    Hi,
    what is the exact difference btwn Grid and cluster?

    Read the following:
    Diff btwn Grid and cluster
    Simon

  • Diff Btwn 0CPQUABU  and 0QUANT_B on Inventory

    Hi Gurus,
    what is the Diff Btwn 0CPQUABU  and 0QUANT_B fields on Inventory Cubes.
    I see 0CPQUABU assigned to 0RECTOTSTCK on the update rules of 2LIS_03_BX .
    Any explaination on how the key figures , I mean stocks are calculated will be useful.
    Sree
    Message was edited by:
            SreeRama
    Message was edited by:
            SreeRama

    Vikash,
    In case of ATP you are including the order line quantity that is being entered into consideration for calculating ATP (on the fly) where as the item supply demand will consider only scheduled order lines.
    Also ATP check does the check for all the lines if the item has configuration (I believe). THis is not the case in the item supply demand. It is just doing the check only for that item.
    Also ATP can be global. If you want to check the availablity of the item across your supply and demand network, you can do that (Global Order Promising). Supply Demand is purely inventory function. ATP is planning function.
    These are few differences. There can be or are much more.
    Take a look at the ASO_ATP_INT to get an idea how to do this. This is used in quote and iStore where customers can check themselves when the product is available using the date.
    I suggest you use ATP functionality and not Supply demand logic.
    Thanks
    Nagamohan

  • PO and iV value diff

    Dear friends,
    I need to know
    where we are defining the tol between gr value and IV value.
    Assume PO value is 1000 and IV is 1050
    how the system will accept this?
    Is it possible to make this for all vendor or individually ?
    pl reply
    guru

    Hi,
    If The Material is maintained with MAV then Material Account will Trigger..
    and if the Material is having Standarad price then Price diff Account will trigger (PRD)
    If it is Standard price..
    Account
    K
    Vendor --- -
    1050 INR
    S -
    Goods Rcvd/Invoice Rcvd -
    1000 INR
    S -
    Income from price differences of own goods ---50 INR
    If The Price is MAV
    Account
    K
    Vendor --- -
    1050 INR
    S -
    Goods Rcvd/Invoice Rcvd -
    1000 INR
    M -
    Material Deasription ---50 INR
    Thx
    Raju

  • Global color values differ between palettes and when converted (Adobe Illustrator)

    I have a swatch file with a bunch of global colors inside. When converting the global color to editable RBG in the Color palette, the values are correct. However, if I use the Eyedropper and sample the color, then double-click the boxes in the Tool Palette or Color Palette, the values are completely different. When the colors don't have the 'global' setting checked this doesn't happen. Does anyone know why?
    A lot of people are going to use this swatch file, and likely will use Eyedropper to select like colors, and with some peoples' workflow it's likely these incorrect values will creep in.

    philwiles wrote:
     ... my eps logo ..
    Why are you using EPS? It is kind of outdated format these days.
    EPS  does not support color profiles. The default Save as EPS options in Illustrator include CMYK conversion which changes the values. To avoid this uncheck "Include CMYK Post Script" in the save options. Then when you open the file in Photoshop the RGB  values will be the same and if you want it displayed the same, in Photoshop choose Edit > Assign Profile and choose the same profile - Adobe RGB in your case. The color settings in Photoshop will have no effect and can remain unchanged.
    If you do that using the same computer the colors will be identical in values and appearance. If you do it on different computers the values will be the same and the color appearance will depend on if both computers have been calibrated to display colors accurately.

  • Diff btwn STANDARD and SORTED tbls??

    Hi Experts,
    Just curious to know that, In Wht scenarios/requiremets, we need to create a internal table, like fillowing(or How they differ from TYPE STANDARD TABLE OF)??
    <i><b>it_a504 TYPE SORTED TABLE OF a504 WITH UNIQUE KEY kunnr prodh.
          wa_a504 TYPE a504,</b></i>.
    thanq
    Message was edited by:
            Srikhar

    mainly performance reason ,if you use sorted internal table then it will have good performance than standard intentable
    The internal tables could be catogrised into two.
      indexed   : standard and sorted tables.
      nonindexed: hash tables.
    standard table: it is the one we use generally.In this the data is not sorted and the only thing we can do is just process the data with out any restriction on it.
    sorted tables: it works in two different manner.
                           Frist one: is similar to standard table but the only difference is the data will be filled in a particular manner either ascending or descending.
                          Second one: u can also fill the table keeping any field as primary key.now the data will be filled based on that particular key.
    Hash tables:   u can use this when u want  to fill your  internal table avoiding the duplication of data.it never permits the duplicate record to be stored in a internal table
    Thanks
    seshu

  • Diff btwn contracts and scheduling agreements????

    hi buddies.....
    i have facing this question in lot of interviews but cant able to answer properly....
    plz gimme some interview point of view answers...
    thanks in advance...
    venkatesh.v

    Outline agreements in procurement can be 2 types:
    Contracts or Scheduling agreements.
    Contract is where you have a contract with the vendor,may be a for a predetermined quantity or predefined value. So everytime you need the matl, you need to make PO ref the contract asking for the delivery of the matl. In such instance when PO is ref with contract its called contract release orders or call off orders.
    Scheduling agreement is a long term purchase agreement, where you will keep issuing the delivery schedules whenever there is a change in requirement or at predetermined time intervals. The delivery schedule can be on hour/daily/weekly/monthly basis. But it will contain different zones viz. firm/tradeoff/Forecast. Firm zone schedules are confirmed requirement and need to be taken by ordered party. Tradeoff zone requirement is to purchase the raw materails and ordering party is liable to pay raw material cost, in case of requirement cancellation. Forecast zone requirement is to help the vendor to plan his requirements.
    SA is also an agreement with the vendor for the supply of matl, may be a quanity or value. The delivery dates will be maintained in ME38 ref the SA which are called delivery schedules.So you can maintain the delivery schedule and communicate the vendor on Forecase basis or JIT basis. And when you need some more matl then will only create SA deliveries using ME38. SA could be of 2 types:- without release documentation-system will transmit the delivery info to the vendor once you save the document.
    With release documentation- after creating the delivery schedules you need to create SA release using ME84.
    The main difference between contract and SA is volume of docs generated would be higher in contract since everytime you need to make a PO ref the contract and its time consuming, whereas SA can be integrated with MRP such that it automatically creates delivery schedules during MRP run provided if there is a requirement to the matl.
    Visit : http://help.sap.com/saphelp_srm30/helpdata/en/7d/0a093f7c392e5ae10000000a114084/content.htm

  • I'm trying to decide whether to buy ipad or cheaper tablet.  What is retina display and what is diff betw ipad and mini with only wifi? What is mini missing?

    I'm trying to decide on tablet to buy -- what is the difference between mini and ipad?  What is retinal display?  Why do some have wifi only and some have wifi cellular?  Why would I need cellular?
    I keep hearing that apple computers don't pick up viruses like pc (of which I have had my fair share) so that is why I am considering -- but there are some really attractive deals for cheaper tablets.

    A simple answer to a loaded question?  Not here!
    1.     For starters, I can't recommend the newest iPad AIr or iPad Mini.  The previous versions worked perfectly though if you want to go the Apple route.  That alone will save you a few bucks.  Best Buy undercuts Apple prices by a few $$ and has bonus sales around this time of year.
    2.   You get what you pay for.  I like the Samsung Galaxy Tabs a lot.  Good hardware and software.  App store has plenty to offer.  You also have size options like you do with Apple.   Since I have the Galaxy S3 phone, the Galaxy tabs are very familiar.  The Surface (smaller one) is big for a tablet, it works great, but is subject to the frailties that plague PCs to some degree.   I don't like the keyboard, but do like the kickstand.   I don't know about the availability of Apps for the Surface, I think it may be a major downside to the device.  The Surface is not cheaper than iPad either.  As for the cheaper Tablets, they will be in the landfill before Apple introduces a new gadget (that's pretty often....)   The Kindle is still primarily, an eReader.
    3.   Wifi or wifi and cellular - If you have a smart phone and can tether a tablet, you don't need cellular on the tablet.  With more places offering free hot spots, wifi is more than adequate. ( I use very little cellular on my mini)
    4.    iTunes and the App store;  I will start by saying I am cheap.  If the App isn't free, it has to be really valuable to me or I won't buy it.  I paid for Pages on my iPad 2 years ago and I bought a password wallet that syncs on all my devices on all platforms.  Aside from that I buy music to add to the CDs I imported to iTunes.  If you don't like iTunes and don't want to use it, keep looking at android tablets.
    5.    ios 7 - Never has Apple made such a big deal and been so poorly prepared to introduce a new ios.  It has devoted Apple heads steamed.  I count myself one and have had no problems with my devices, educated user I hope, or just really lucky.
    6.    I really USE my tablet.  I use it for work, for financial management and communications.  I rarely have to resort to the desktop as almost everything is possible on the iPad.  I love it's portability!  Documents and data flow back and forth with the cloud I never worry about losing anything or finding anything.  Photos download automatically from my Android smart phone with Dropbox App and are instantly available to load on all devices.
    7.    If you are a big PC hacker type, the switch to ios is culture shock.  The first time on the new iMac I was at my wits end trying to navigate.  I only had to stop working so hard and it all fell into place.
    My personal experience:
        I have the iPad 2, (wifi only) and the first mini (with 4G LTE) and I had a 4th generation iPod touch and now have a 5th Gen iPod touch (which I really like a lot).  My son has an iPhone 4S and the iPad with retina display.  Both my sons have had iPods through the years.
       My 50 year old eyes prefer the bigger screen of iPad 2 and typing is much easier.  But I love the portability of the smaller tablet, so one for home, one for the road.  Thanks to iCloud what ever is on one is also on the other, documents, data, contacts, etc.   Retina display, my son has it, I don't, I can't say I miss it.  It does make pictures look better, if you are a photo person, the retina display is worth it.
    I also have transitioned from PC to Apple completely, I bought an iMac 4 years ago and it is as fast as it was on day one, no crashes, repairs, viruses.  I just bought a Mac Mini and I also use Apple Airport extreme for router and I have an Apple TV (the only disappointment, I prefer the Roku 2)
    I'm sure that was more than you asked for.....

  • Value contract with overall value and material list

    Hi
    I want to use value contract in CRM.
    Is there is any option except using product range/assortment to maintain list of materials and overall value for the contract?

    Hi,
    follow this link
    http://help.sap.com/saphelp_46c/helpdata/en/75/ee0f4055c811d189900000e8322d00/content.htm
    You will get the idea about item category W in value contract (WK )
    and also about the price conditions in item and header level.
    Edited by: redriver on Nov 28, 2011 6:31 AM

  • Where do we pass tax condation type and condation value in this bapi: SD_SALESDOCUMENT_CHANGE

    Hi Experts,
    I am using this to change sales order. SD_SALESDOCUMENT_CHANGE
    I am passing condation type and condation values for each line item under table parameter CONDATION_IN.  Here in which fields do i need pass tax condation type and condation value.
    please give me suggestion it is really help ful.
    Thanks
    laxmi

    Hi ,
    Pass condition type and condition value in fields COND_TYPE and COND_VALUE under table parameter CONDATION_IN. Also pass 'X' to above fields in table parameter of CONDITIONS_INX.

  • How to model query for -- existing and unchanged values

    Hello BW Experts,
    I have material and material group as navigational time-dependent attributes. I have a requirement to show the existing and unchanged values for the material and material group in the time frame 2003 to 2006 . how to create a query for this.
    Suggestions appreciated.
    Thanks,
    BWer

    HI ,
    I think u need to add two more date fields as the attributes  to the master data and then use them and give restriction in the query with the Keydate to see data which has unchanged from One range to another . As key Date applies to only the system defined to and from dates present in the Master Data .
    In query give Keydate as 31.dec.2006 and then give restriction for user defined dates sa follows :
    User From : 01.01.1000 - 31.12.2002.
    User To : 01.01.2007 -- 31.12.9999 .
    Regards,
    Vijay.
    Message was edited by: vijay Kumar
    Message was edited by: vijay Kumar
    Message was edited by: vijay Kumar

  • Purchase Order and Contract - controlling overall value

    Our process has the following steps - The total amount in the order to the vendor is fixed. Indivdual services have rates fixed, but quantities are not fixed ie, the quantity can vary from 0 to any upper number subject to the overall value of the order. I tried the following:
    Created a contract (ME31K) with the services and rates entered (quantity kept as 1). Overall value entered as the contract limit. PO created (ME21N) and Contract details and overall limits entered. Service items adopted from the contract and the 'No Limit' box checked for individual services. All service quantities maintained as 1 no, rates copied from contract.
    With this my expectation was that the system will allow multuiple service entry sheets for each of the services upto the limit specified by the contract. However the system allowed Service Entry for value exceeding the overall limit of the contract.
    What other configuration needs to be done to make sure that beyond the overall value limit, system does not allow service entry.
    Thanks in advance for your help
    Deepak

    You say that
    1. you have created the contract with overall service limits.
    2. you now referred this contract and created the PO
    PO created (ME21N) and Contract details and overall limits entered. Service items adopted from the contract and the 'No Limit' box checked for individual services. All service quantities maintained as 1 no, rates copied from contract.
    Please remove the No limit check and keep only the value in contract limits. The system would then force you to enter the additional value in unplanned services during SES creation. The same applies when you are using Other Limits (Mentioned limit in other Limits tab in PO creation)
    If it does not work, check message settings for message # SE 347, 364, 365 & 366.
    If it still does not work, please open an OSS message to SAP.
    Thanks & regards
    AHP

  • Expected Value and Overall limit value usage.

    Hi Sap Gurus,
    if the frame work order we have these 2 field Expected value and overall limit field value to be filled,
    and the system allows Invoice (or GR) up to the maximum of the overall limit value. and only if the value entered crosses the overall limit value the system issues a Error Message ( which is agreeable)
    but the logical requirement is that, if the value crosses the Expected value limit the system should display a warning message, indicating that the value has crossed the expected value.
    is there any config or note to be applied to get this funtionality.
    Thanks and regards
    Priya S

    Hi,
    Please refer to the Online documentation:                                      
             Material Management                                                   
             -> External Services Management                                       
                -> Procurement of Services: Processes                              
                   -> Accelerated and Simplified Processes                         
                      -> Use of Value Limits (for Unplanned Services)                                                                               
    Inside this documentation, it is stated that there is a variety of             
    limits (combinations) to be used:-                                                                               
    - Overall limit only                                                         
      - Overall limit and limit on services covered by contract item(s)            
      - Overall limit, limit on services covered by contract item(s),              
      - and other limit                                                            
      - Overall limit and other limit                                              
      - Overall limit on services from model specifications or standard            
        service catalog                                                            
      - Expected value                                                             
    The expected value is used in the update of the               
    PO item value and this is the value used in the release strategy.                   
    Here is the f1 help:                                                                               
    Expected value - ESUH-COMMITMENT                                                    
    Value that the unplanned services (or the materials) covered by this                
    item are not expected to exceed.                                                                               
    Use                                                                               
    If you are working with the release (approval) procedure for purchasing             
    documents, this value serves as the basis for a release strategy applied            
    to this document.                                                                               
    If you tick 'No limit',you don't need to enter 'Overall limit',but must             
    enter 'Expected value'.Because 'Expected value' will affect the release             
    strategy. Please read the note 440601 connected to this.     
    Concerning the variability of actual cost of a purchase order,                   
    expected value means that the unplanned services (or materials)                  
    covered by this item are not EXPECTED to exceed.                                 
    It is not mandatory that it has the same value like total limit value.           
    Expected value can exceed, it is used for comparison with total limit            
    value in cost control.                                                           
    Expected value can also be combined with unlimited total limit in a              
    purchasing document.                                                                               
    Regards,
    Edit

  • Value Diff in MIGO 101 and 122

    Hi,
    Can anybody tell me what reason will be value diff in accounting doc. in Mvt 101 and 122 ?
    Anil

    Hi,
    for 101, it is reference to PO
    GR/IR Clearing Accout          Cr
    Stock Acct                             Dr
    For 122, return to vender..it is ref to material Doc created for GR w r t PO
    GR/IR Accout                     Dr
    Stock Acct                          Cr
    Regards,
    Pardeep malik

  • Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API. This is a serious error and contributes to an overall degradation of system stability and reliability. This notice is a courtesy

    Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API. This is a serious error and contributes to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

    This console log is a note to the developers of whatever application you are using. You can safely ignore it.

Maybe you are looking for

  • Help me to write a program?

    hi i want to write a program which shows me the latest posts of a special site or shows  posts of specific date,  but i don't know how to start it.  can you help me,please? thanks 

  • ALTER DATABASE  RECOVER MANAGE STANDBY DATABASE

    During the creation of Logical Standby database (NOAA2), after issuing the statement: "ALTER DATABASE RECOVER MANAGE STANDBY DATABASE" the following error appears: FAL[server, ARC1]: Complete FAL noexpedite archive (thread 1 sequence 46 destination N

  • My iPod nano 5G won't charge.

    My iPod nano won't charge in itunes, will not reset and won't charge. What can I do?

  • Opening Jpegs for editing same as Raw

    Can anyone please help me? I use Photoshop Elements 6 and when I want to open a RAW image, I get a set of sliders on the right hand side that allows me to do basic editing there before actually opening the image.  I like to use this method of editing

  • Wanted to know the steps

    What we can do in below mentioned senario? 1. unable to get a stable set of rows in the source tables? 2. failed at the Info package level due to lack of batch processes(BTC)? 3. failed due to ABAP/4 processor: DBIF_DSQL2_SQL_ERROR for  Change run fo