FRF not averaging TF correctly

I am trying to use LV's
built in FRF to perform transfer function averaging.  However it does not
appear to average multiple sets of data correctly.
In LV 7.0 I
wrote a transfer function sub VI, which calculates the TF for only 1 set of
data at a time and does not average.  I am trying to implement the FRF
function to do the required TF averaging. 
I can read in the first set of data to the TF sub VI that I wrote, as well as
the FRF. Both output the same TF magnitude value, 48.236 (which is expected
since its only 1 set of data).  When I read in the next set of data, the
TF magnitude for that set is 47.2095.  Thus, I am expecting a average TF
magnitude of (48.236+47.2095)/2=47.2228. However, the FRF tells me the average
TF magnitude is 26.7809.
My averaging parameters cluster is as follows:
Vector Averaging
Linear
10
One Shot
I have one theory, but I cannot test it.  My code was originally written
in LV 7.0. I
recently upgrade to LV
7.1.  However, so that I was able run the VIs I wrote in LV
7.0, I needed to copy parts of my old LV 7.0
fdirectory to my LV
7.1 directory; and for some reason I can not the run the FRF which comes with
LV 7.1 (I get "unable to execute"
errors), so therefore I am using the FRF function which I had bundled into
my library of VIs which I wrote in LV
7.0.  Could using the LV 7.0 FRF in LV
7.1 cause this averaging error?

Hello,
I don't think the problem is due to your VI version upgrade from 7.0 to 7.1.  I do not know what FRF refers to, but if you'd like to average sets of data, we can implement that very easily (use the sum array values function in the numeric palette to get the SUM; use the array size function from the array palette to get the SIZE, and SUM/SIZE will be the average).  If you think you have found a bug, however, with an existing function, please let me know which function, or better yet, attach a simple program which reproduces the problem.  In either case, please let me know what FRF stands for, and I'll try to help you with whatever is going on.
Thank you,
JLS
Best,
JLS
Sixclear

Similar Messages

  • Update Row into Run Table Task is not executing in correct sequence in DAC

    Update Row into Run Table Task is not executing in correct sequence in DAC.
    The task phase for this task is "Post Lost" . The depth in the execution plan is 19 but this task is running some times in Depth 12, some times in 14 and some time in Depth 16. Would like to know is this sequence of execution is correct order or not? In the out of the Box this task is executed at the end of the entire load. No Errors were reported in DAC log.
    Please let me know if any documents that would highlight this issue
    rm

    Update into Run table is a task thats required to update a table called W_ETL_RUN_S. The whole intention of this table is to keep the poor mans run history on the warehouse itself. The actual run history is stored in the DAC runtime tables, however the DAC repository could be on some other database/schema other than warehouse. Its mostly a legacy table, thats being carried around. If one were to pay close attention to this task, it has phase dependencies defined that dictate when this task should run.
    Apologies in advance for a lengthy post.... But sure might help understanding how DAC behaves! And is going to be essential for you to find issues at hand.
    The dependency generation in DAC follows the following rules of thumb!
    - Considers the Source table target table definitions of the tasks. With this information the tasks that write to a table take precedence over the tasks that reads from a table.
    - Considers the phase information. With this information, it will be able to resolve some of the conflicts. Should multiple tasks write to the same table, the phase is used to appropriately stagger them.
    - Considers the truncate table option. Should there be multiple tasks that write to the same table with the same phase information, the task that truncates the table takes precedence.
    - When more than one task that needs to write to the table that have similar properties, DAC would stagger them. However if one feels that either they can all go in parallel, or a common truncate is desired prior to any of the tasks execution, one could use a task group.
    - Task group is also handy when you suspect the application logic dictates cyclical reads and writes. For example, Task 1 reads from A and writes to B. Task 2 reads from B and writes back to A. If these two tasks were to have different phases, DAC would be able to figure that out and order them accordingly. If not, for example those tasks need to be of the same phase for some reason, one could create a task group as well.
    Now that I described the behavior of how the dependency generation works, there may be some tasks that have no relevance to other tasks either as source tables or target tables. The update into run history is a classic example. The purpose of this task is to update the run information in the W_ETL_RUN_S with status 'Completed' with an end time stamp. Because this needs to run at the end, it has phase dependency defined on it. With this information DAC will be able to stagger the position of execution either before (Block) or after (Wait) all the tasks belonging to a particular phase is completed.
    Now a description about depth. While Depth gives an indication to the order of execution, its only an indication of how the tasks may be executed. Its a reflection of how the dependencies have been discovered. Let me explain with an example. The tasks that have no dependency will have a depth of 0. The tasks that depend on one or more or all of depth 0 get a depth of 1. The tasks that depend on one or more or all of depth 1 get a depth of 2. It also means implicitly a task of depth 2 will indirectly depend on a task of depth 0 through other tasks in depth 1. In essence the dependencies translate to an execution graph, and is different from the batch structures one usually thinks of when it comes to ETL execution.
    Because DAC does runtime optimization in the order in which tasks are executed, it may pick a task thats of order 1 over something else with an order of 0. The factors considered for picking the next best task to run depend on
    - The number of dependent tasks. For example, a task which has 10 dependents gets more priorty than the one whose dependents is 1.
    - If all else equal, it considers the number of source tables. For example a task having 10 source tables gets more priority than the one that has only two source tables.
    - If all else equal, it considers the average time taken by each of the tasks. The longer running ones will get more preference than the quick running ones
    - and many other factors!
    And of course the dependencies are honored through the execution. Unless all the predecessors of a task are in completed state a task does not get picked for execution.
    Another way to think of this depth concept : If one were to execute one task at a time, probably this is the order in which the tasks will be executed.
    The depth can change depending on the number of tasks identified for the execution plan.
    The immediate predecessors and successor can be a very valuable information to look at and should be used to validate the design. All predecessors and successors provide information to corroborate it even further. This can be accessed through clicking on any task and choosing the detail button. You will see all these information over there. As an alternate method, you could also use the 'All/immediate Predecessors' and 'All/immediate Successor' tabs that provide a flat view of the dependencies. Note that these tabs may have to retrieve a large amount of data, and hence will open in a query mode.
    SUMMARY: Irrespective of the depth, validate
    - if this task has 'Phase dependencies' that span all the ETL phases and has a 'Wait' option.
    - click on the particular task and verify if the task does not have any successors. And the predecessors include all the tasks from all the phases its supposed to wait for!
    Once you have inspected the above two you should be good to go, no matter what the depth says!
    Hope this helps!

  • Can not dislplay Chinese correctly for sybase db, but correct display Chinese for Oracle db.

    i using sqldeveloper to connect sybase ase 12.5 server and stored Chinese. but when i query out the data , it can not dislplay Chinese correctly, even i using sybase jdbc driver or jtds jdbc driver both error.
    so how to setup sqldeveloper to support Chines for sybase database server.

    Hi Aman,
    I am using Windows 2003 Server on Microsoft Virtual Server.
    I am trying to take RMAN backup from EM. I changed 'system' and 'sys' user passwords in EM after login in as system as normal user. But even then can not connect.
    Also changed 'sys' user password in command ..now aI could login to EM as sys - SYSDBA but while scheduling back up it says
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - Connection to host as user dmadmin failed: ERROR: Wrong password for user
    Regards,
    Ranjith John

  • My 3GS will not accept my correct password and user name to start using the Cloud.  It just spins while "verifying."

    My 3GS will not accept my correct password and user name to start using the Cloud.  It just spins while "verifying." How can I make it stop so I can activate iCloud ?

    try using @me.com instead of your service address, i mean hotmail or yahoo or else, thanks.

  • I can not view emojis correctly on my brand new iPhone 6 and happens no matter what generation phone and my txt are freen when I send them to someone instead of the normal color. Plz helpu

    I can not view emojis correctly on my brand new iPhone 6 and happens no matter what generation phone and my txt are freen when I send them to someone instead of the normal color. Plz helpu

    Hey John,
    If you are having an issue with emojis on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    iOS: Troubleshooting emoji issues - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • Processing this item failed because of a PDF parser error. Input string was not in a correct format.

    Good Morning,
    We're having issues parsing several hundred PDF files located in two separate Record Center sites. All other PDF documents in the environment are being crawled and parsed without issue. I've verified the permissions for the Search service account, but that
    doesn't seem to be the issue. Searching for this particular error hasn't returned much, but I have ensured that the Search service account has been added to the necessary Local Security Policy objects and cleared the configuration cache. Any help would be
    greatly appreciated.
    Processing this item failed because of a PDF parser error. ( Error parsing document 'https://asdf.com/sites/HRRecords/asdf.pdf'. Input string was not in a correct format.; ; SearchID = 6642FEEF-6921-434E-B084-02809173D8A7 )

    This issue came back up for me as my results aren't displaying since this data is not part of the search index.
    Curious if anyone knows of a way to increase the parser server memory in SharePoint 2013 search?
    http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip'. Document failed to be processed. It probably crashed the
    server.; ; SearchID = 097AE4B0-9EB0-4AEC-AECE-AEFA631D4AA6 )
    http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The
    function encountered an unknown error.; ; SearchID = 4A0C99B1-CF44-4C8B-A6FF-E42309F97B72 )

  • After installation of latest Bridge and Photoshop version (2014.2.2) *.CR2 files will not be displayed correctly, neither in preview nor in Camera Raw dialog.

    After installation of latest Bridge and Photoshop version (2014.2.2) *.CR2 files will not be displayed correctly anymore, neither in preview nor in Camera Raw dialogue.
    Some pictures have white squares with blue and red diagonal stripes that cover almost the complete picture.
    When opening those files I have the same problem in Camera Raw dailogue and even in Photoshop eventually.
    I tried to open the same same pictures on another computer with the same version of Bridge and Photoshop but the problem remains the same.
    It seems like the files itselves are still ok, because if you open an explorer window the previews of the pictures are all ok. And the pictures' sizes remain the same.
    I tried to clear the cache in both programs but it didn't help.
    Has anyone an idea????

    First see if a reboot of your PC helps.  If not,
    Resets may be in order:
    Photoshop: Press and hold Control - Shift - Alt immediately upon cold-starting Photoshop.  If you get the keys down quickly enough - and you have to be VERY quick - it will prompt you to confirm deletion of your established preferences, which will lead to them all being set to defaults.
    Bridge:  Start Adobe Bridge and immediately press Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS) until the Reset Settings dialog box appears. Select all three options--Reset Preferences, Reset Standard Workspaces, and Purge Entire Thumbnail Cache--and then click OK.
    Outdated graphics drivers can also cause display problems. Go to your GPU maker's website and be sure you have the latest drivers for your card model.

  • Why is my billing information not being review correctly...like it sayes my apple id has not yet been used in the itune store and it tells me to review my account info but for some reason it doesnt work

    why is my billing information not being review correctly...like it sayes my apple id has not yet been used in the itune store and it tells me to review my account info but for some reason it doesnt work

    Hi there ethangabe,
    You may find the information in the article below helpful.
    Using an existing Apple ID with the iTunes Store, Mac App Store, and iBooks Store
    http://support.apple.com/kb/ht2589
    -Griff W. 

  • MIR6 not matching to correct PO number

    Hi,
    We have an issue (occasionally), when attempting to process parked documents.  I am informed that this does not happen all the time, but is getting more and more frequent.  We are using MIR6 to match deliveries to parked documents.  I run my listing based on Vendor code and select the relevant parked document from the list.  I enter the delivery note number in the correct field on the PO reference tab and hit enter.  I get a list of 4 PO's (all different vendors), where the 2nd one in the list is the PO that I want.  I highlight that line and enter.  I then get an error message that states "currency entered differs from currency XXX in PO XXXXXXXXX", where the PO number given is the 1st one in the original list., not the 2nd that it should be.
    I have searched to see if anyone else has encountered this and whether there is a SAP note that can correct this, but I cannot find anything.  Can anyone help?
    Kind regards
    Jackie

    When you need only PO numbers, link only the 3 tables to make your query simpler.
    ap_invoice_distributions_all aida,
    po_distributions_all pda,
    po_headers_all poh
    Only po based invoices will be selected for these tables

  • I have a jetpack, and when I try to "connect" to my ipad or phone, it keeps telling me I am not using the correct password.  I have tried everything.  I even changed the password, nothing is working.  Both are 4G, my ipad is an Air and my phone is a Iphon

    I have a jetpack, and when I try to "connect" to my ipad or phone, it keeps telling me I am not using the correct password.  I have tried everything.  I even changed the password, nothing is working.  Both are 4G, my ipad is an Air and my phone is a Iphone 5.  I can get connected to other wifi on these features but not with my jetpack.  Please help, I need to use this feature soon.  Thank you so much

    Chances are you mis-typed a character in the Wifi password and the devices saved that information.  Now whenever you try to connect the device refers to the wrong password and the Jetpack does not accept your connection.  Tell your devices to forget the wireless connection and start over.
    Once you enter the proper WiFi credentials the Jetpack will allow you to connect.

  • I seem to not enter the correct answers to my security questions for itunes to buy an in-app purchase and also cannot answer the questions exactly like i answered them when creating the account for my ipod, how do i find out what answers i put

    I seem to not enter the correct answers to my security questions for itunes to buy an in-app purchase and also cannot answer the questions exactly like i answered them when creating the account for my ipod, how do i find out what answers i put for my ipod touch and itunes?

    Try these previous discusssions:
    recover answers to security questions: Apple Support Communities
    how do i change apple ID security...: Apple Support Communities

  • HT204053 How can I delete my iCloud account which I do not remember anything about the information that I entered about 4 years ago. It always asks my birth date but it seems I did not enter my correct date how can I bypass this question???

    How can I delete my iCloud account which I do not remember anything about the information that I entered about 4 years ago. It always asks my birth date but it seems I did not enter my correct date how can I bypass this question???

    You cannot delete the account from the server (partly to prevent the username from becoming available again and some-one else using it to pretend to be you).. Having disengaged your devices from it, go to http://icloud.com and delete any data in there such as contacts and calendars. Then just ignore it.

  • The world clock on my IPOD touch is not telling the correct time

    My IPOD touch world clock is not displaying the correct time and the edit feature is not working to change the time

    See:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • My ipod is not playing the correct order of my songs in playlists

    my ipod is not playing the correct order of my song order in my playlists.  it plays random order of playlist songs

    You may have tapped the Shuffle button (looks like two arrows crossing path) in Blue.  Tap it once again to turn it off.

  • TS1702 The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar.  Actually, they post exactly 4 hours earlier than the correct time on my Yahoo Calendar.  Does anyone have a "fix" to correct the "time

    The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar. Actually, items post exactly 4 hours earlier than the correct time on my Yahoo Calendar.   My i4S is in the correct New York time zone.  Help?

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

Maybe you are looking for