How to calcualte Cross power spectral denstiy in Labveiw??

Hi all,
I unable to figure out how to calculate the cross power spectral density(cpsd) in labview ??? I'm able to calculate crosspower by using
Cross Spectrum (Real-Im).VI but i need cpsd using labveiw functions.
i know that, we can get that through script node function cpsd(x,y) but i shouldn't use that it is my functional requirement.
And one more, Is this right??  psd=power spectrum/ df.  where df is frequency resolution.
could any one please help me...
Thanks and regards
Giridhar

Hi girikavali,
does this help you? cross power spectral density and Analyzing Two Input Signals Using the Cross Power Spectrum VI.
Note: The "cross power spectral density" should mean the same as "cross power spectrum", says Wikipedia - CPS/CPSD.
The term "density" seems correct to me, because it is devided by the number of the points, see Cross Power Spectrum. If this is not the case, then please supply a mathematical definition, so one could know.
Cheers,

Similar Messages

  • Cross power spectral density

    Hello
    I can not figure out how to use "Cross Power Spectral Density" (CPSD)
    in Labview. I know that Labview has something about
    "Cross Power Spectrum" but I need Cross Power Spectral
    Density, because I am going to measure the coherence which
    needs CPSD as far as I know.
    Thaks for your help.

    The following example code should be helpful.  Please take a look, thanks!
     Analyzing Two Input Signals Using the Cross Power Spectrum VI

  • Power spectral density

    Hello,
    I cannot seem to change the "desired units" of the SVT Power Spectral Density.vi in the sound and vibration toolkit. It is still possible to switch between EU^2/Hz and EU/sqrt(Hz) on the Power Spectral Density function?
    Regards,
    Raoul Enning

    Hello Beat,
    thanks for your help in this matter, I really do appreciate it. First and foremost let me mention that I am working with SVT version 3.1- maybe quite antiquated; i un- and reinstalled it just to make sure that no one here in my lab had fooled with it. On that note, my spectrum units.vi looks somewhat different to yours (see attachment). The relevant portion of the naming of the y-axis variables comes in the "svl_Modify Unit Label for Spectrum Type and Spectral Density.vi". If we look in this VI (also attached) we see that the larger outer conditional, which defines if the units are X^2 / Hz or X / sqrt(Hz), has itself a condition that only allows free movement when the input is linear. When the input is in dB, the conditional is always false, which amounts to forced labeling the Y-axis with X / sqrt(Hz). I actually see the same conditional in the VI you posted.
    In addition to this, the data doesnt change either.  This is because of the sv_Linear to dB.vi (also in attachment). when switching between EU^2/Hz and EU/sqrt(Hz), the "input signal" data switches between either 1 set of data, or that same set of data squared. so far so good. However, the calculation that is done here when EU/sqrt(Hz) is selected (i.e. magnitude) is 20log(Vin/Vref) which is equivalen to 10log(Vin^2/Vref^2). So, this returns us to power and not magnitude, converting the data right back to how it is when EU^2/Hz. Now I can imagine that programmers have done this to maintain the definition of the dB in electrical engineering, but I will argue that when I select EU/sqrt(Hz) (this cannot be called power spectral density anymore) I want the units in Volts, and not in Volts squared.
    Regardless of the semantics of the data computation, the units reported on the y-axis are always wrong when dB is active. Following the computation of the data in sv_Linear to dB.vi, they should always be EU^2/Hz, and not the other way around.
    In order to fix this, I am compelled to convert the 20log(Vin/Vref) computation to 10log(Vin/Vref) and to remove the "linear" condition in the svl_Modify Unit Label for Spectrum Type and Spectral Density.vi.
    What do you think of this idea? Am I completely wrong in my thoughts? 
    Regards,
    Raoul Enning
    Attachments:
    spectrum units.JPG ‏67 KB
    unit label.JPG ‏77 KB
    Linear to dB.JPG ‏120 KB

  • How to create cross-client variant?

    Hi Experters:
    Can someone tell me how create cross-client variant in ECC6.0?
    in 4.6, we can define the client or define cross-client transaction variant,
    how to create cross-client variant in ECC6.0?
    Regareds,

    Hi,
    In se93 there is a check box cross-client .
    The Cross-client switch identifies which transaction variants are cross-client and which are client-specific. If the switch is set, the transaction variant is cross-client. If the switch is not set, the transaction variant is client-specific.
    A client-specific transaction variant can only exist in the client where it was created. The field contents of the transaction variant only have to be available in the particular client. A cross-client transaction variant is available in the system regardless of which client is currently active. The field contents of the transaction variant have to be available in all clients.
    http://****************/Tutorials/ABAP/TransactionVariant/Create.htm

  • How to create a Power View bringing barchart and line chart together in same graph

    We are planning to create power view report that has bar and line charts on same graph. Could you please let us know whether it is feasible in Power View & how to add trend line in power view .
    Thanks,
    Sandeep.

    This is not possible with Power View. It is possible with Power BI (Online at PowerBI.com) See image below.
    Please vote or mark as answer if you found the response helpful.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

  • How to use Cross Company Code document  number as Reffrence.

    Hi
    Actually user wants to post the same debit credit line items with Editing the amounts which he has posted last month
    So i suggested him to use post refference of the previous month document number.
    Since that is Cross company document number. There is no source to give  in T.Code FBR2. There is a fecility to give only document number of a company code not cross company code.
    Assume that there are 3 company's involved in that document.
    company  X --- 25 line items
    company  Y -- 75 line items
    Company  Z -- 100 line items
    Since he given in header data X Co code it has generated the Cross company code document number 1000X 08 ( which means 1000 is doc.number X is company code 08 is year. This is sap standard cross company code doc number format)
    and individual document number is
    X - 1000
    Y-  2000
    Y-  3000
    If he post with the reffrence of X company only 25 lines will come remaining 175 line he as to post manually.
    If he take Y Doc number  only 75 lines will come
    If he take Z Doc number  only 100 lines will come
    To bring all lines there is no provision to give Cross company Doc number.
    Please advice how to use cross company doc number as refference.
    Tks
    Shivaji

    Hi guru
    This is answered
    Thanks
    shivaji

  • How to clear the power up reset states

    my pci 7344 is  in the power up reset state. How to clear the power up reset state of an 7344 programmatically. Using clear power up reset state in block diagram doesnt seem to work. Give a possible solution

    This is the VI I use to initialize a motion controller. It clears the power up reset if needed and then initialize the controller with the specified configuration (previously created with MAX).
    Sorry for the french comments.
    Attachments:
    Initialiser interface avec gestion power up reset (LV8).vi ‏26 KB

  • How to download a power point program unto ipad2

    how to download a power point program unto ipad2

    PowerPoint is not available for iOS.
    There are apps in the store that will handle PowerPoint, such as Apple's Keynote.
    Go in the app store and do a search for PowerPoint.

  • How to create cross tab reports using RAS SDK api with Crystal Reports XI

    Hi Everybody,
    Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
    Thanks in advance.

    Hi,
    The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
    In the duplication wizard I just need to define the axis (using drag and drop).
    if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
    The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
    for example: to find the amount of receipt by months:
    On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
    What you'll get is something like:
    months: jan feb mar apr ......
    buyer_name
    jhon_smith 100 50 30 250 ......
    jhon_doe 80 45 90 453 ........
    and so on.....

  • How to create cross tab reports in SAP-MII

    how to create cross tab reports in SAP-MII

    Hi,
    What do you mean by cross-tab reports? Pls elaborate.
    MII Transaction has an action block named 'crosstab' that is used to calculate subtotals of data columns.
    http://wbhelp.sap.com/manufacturing/xmii_120/en/44/749ea81627053ce10000000a1553f6/content.htm
    Is this what, you are looking for?
    Best Regards,
    Kedar
    Edited by: Kedar Shewalkar on Jan 11, 2011 10:40 AM

  • How do I launch Power Teacher Gradebook?

    How do I launch Power Teacher Gradebook?

    As far as I have found on Pearson's site and through these forums, there is no way to use Power Teacher from a Mac. The program will only work on an iPad. I have an iPhone and it too will not work.
    This is something that Pearson should fix as I knew I was not the only one. They may be inhibiting the productivity of teachers in counties that are parying for their services.
    iPads are generally provided to administrators and other staff in some cases in our county school system.
    I have a Macbook Pro running Mavericks. Other forums show this problem has existed for quite some time.

  • HT3546 So i recently bought an Apple AirPort Extreme BaseStation (the mushroom shaped one) and was wondering if someone could tell me where and how to find a power cord and how to set it up with my Macintosh (2011 edition with 1.7.5) Thankyou! :)

    So i recently bought an Apple AirPort Extreme BaseStation (the mushroom shaped one) and was wondering if someone could tell me where and how to find a power cord and how to set it up with my Macintosh (2011 edition with 1.7.5) Thankyou!

    Welcome!
    Last question first, as we need to know what operating system that the Mac is using.
    If you are not sure, click the Apple icon in the upper left corner of the screen, then click About This Mac, and post back with the OS X Version number that you see there.
    Two possible solutions on the power cord
    ORIGINAL OEM APPLE AIRPORT EXTREME BASE STATION POWER SUPPLY AC ADAPTER A1202 if you want a white power supply and white power cord to match up with the Apple device
    AC adapter for Apple AirPort A1034 Extreme B... if you don't care what color the supply and cord might be
    If you don't already have a Setup Guide.....look here:
    AirPort Extreme Base Station Setup Guide v4.2 (Manual)

  • Apple Keybord ADB (Anyone knows how to use the power button?)

    Hi, I just found my uncle's old Mac SE and I was wondering if anyone knows how to set the power button on the keyboard (Apple Keyboard) model number M0116C? I want this key to work, because it is actualy not working.
    Tanks!

    Hi, I just found my uncle's old Mac SE and I was
    wondering if anyone knows how to set the power button
    on the keyboard (Apple Keyboard) model number M0116C?
    I want this key to work, because it is actualy not
    working.
    You don't make any settings for the power switch; either the Mac can use it or it can't. The Mac SE has a rocker power switch on the back of the CPU. The keyboard can't change the state of the power supply. Later Macs could, but not the SE.

  • How to Be a Power BI Administrator

    Hi,
    Does anyone know a link or book that tells how to be a Power BI Administrator? 
    I see tons of stuff aimed at decision makers and business analysts but what I am looking for is a guide for how to make it work.
    Thanks,
    Croix
    g

    Hi,
    According to your description, my understanding is that you want to learn about how to be a Power BI Administrator.
    Here is a detailed articles about Power BI technology, I suggest you can refer:
    https://support.office.com/en-us/article/Power-BI---Overview-and-Learning-02730e00-5c8c-4fe4-9d77-46b955b71467?CorrelationId=d8adfcd4-e295-4726-b985-8a05f835e6ea&ui=en-US&rs=en-US&ad=US
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • How can i migrate Power Builder 8.0 Function into oracle PL/SQL

    Hi Oracle Experts...
    How can i migrate Power Builder 8.0 Function into oracle PL/SQL.. I had migrate some of the coding from PB to PL/SQL. But i don't know how can i convert PB structure(here structure is a data type) into oracle PL/SQL.
    Instead of structure what is the equivalent in oracle plsql
    Below i pasted my POWER BUILDER FUNCTION:
    Long ll_perd,ll_lnperd,ll_mon,ll_effmon,ll_instno,ll_odno
    Decimal{5} ldl_actual,ldl_diff,ldl_inst
    Datetime ldt_first,ldt_exp,ldt_oddt, ldt_lastprod
    String ls_instmode,ls_inst
    str_batch lstr_od //Structure to store odamt and oddate
    Select pay_c_final,lon_d_expiry, lon_d_lastprod
    Into     :ls_inst,:ldt_exp, :ldt_lastprod
    From      loan_mast
    Where branch_c_code = :gs_branch and
              act_c_type      = :as_actype and
              act_c_no           = :as_acno;
    If Sqlca.Sqlcode = -1 Then
         f_message('FT-0189',Sqlca.Sqlerrtext)
         lstr_od.batchslno = -1
         Return lstr_od
    End If
    If adt_prodt > ldt_exp Then
         Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
         lstr_od.cheqdt = ldt_exp
         lstr_od.batchslno = DaysAfter(Date(ldt_lastprod), Date(adt_prodt))
    Else
         If ls_inst = 'N' Then
              If adt_prodt > ldt_exp Then
                   Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
                   lstr_od.cheqdt = ldt_exp
              Else
                   lstr_od.batchslno = 1
              End If
         ElseIf ls_inst = 'Y' Then
              Select first_d_due,lon_c_instperd,lon_n_perd
              Into     :ldt_first,:ls_instmode,:ll_lnperd
              From     loan_mast
              Where branch_c_code = :gs_branch and
                        act_c_type      = :as_actype and
                        act_c_no          = :as_acno;
              If Sqlca.Sqlcode = -1 Then
                   f_message('FT-0189',Sqlca.Sqlerrtext)
                   lstr_od.batchslno = -1
                   Return lstr_od // Return Structure
              End If
              Select Ceil(months_between(:adt_prodt,:ldt_first)) Into :ll_mon from dual;
              If ll_mon > 0 Then
                   Select Nvl(ln_n_balance,0),Nvl(ln_n_instlamt,0),Nvl(ln_n_instlno,0)
                   Into     :ldl_actual,:ldl_inst,:ll_instno
                   From     loan_inst_sch
                   Where act_c_type = :as_actype and
                             act_c_no     = :as_acno and
                             ln_d_effdate = (Select Max(ln_d_effdate)
                                                           From     loan_inst_sch
                                                           Where act_c_type = :as_actype and
                                                                     act_c_no     = :as_acno and
                                                                     ln_d_effdate < :adt_prodt);
                   If Sqlca.Sqlcode = -1 Then
                        f_message('FT-0224', Sqlca.Sqlerrtext)
                        lstr_od.batchslno = -1
                        Return lstr_od
                   ElseIf Sqlca.Sqlcode = 100 Then
                        lstr_od.batchslno = 1
    *                    Return lstr_od*
                   End If
                   If adl_bal > ldl_actual Then
                        If ldl_inst > 0 Then
                             lstr_od.batchslno = (adl_bal - ldl_actual) / ldl_inst
                        End If
                   Else
                        lstr_od.batchslno = 1
                   End If     
                   If lstr_od.batchslno = 0 Then lstr_od.batchslno = 1
                   //For full OD
                   If ll_mon > ll_lnperd Then
                        lstr_od.batchslno = (ll_mon - ll_lnperd) + lstr_od.batchslno
                   End If
                   If ls_instmode = 'Q' Then
                        lstr_od.batchslno = lstr_od.batchslno * 3
                   ElseIf ls_instmode = 'H' Then
                        lstr_od.batchslno = lstr_od.batchslno * 6
                   ElseIf ls_instmode = 'Y' Then
                        lstr_od.batchslno = lstr_od.batchslno * 12
                   End If
                   Select :adt_prodt - :lstr_od.batchslno Into :lstr_od.cheqdt From dual;
                   If ls_instmode = 'M' Then
                        ll_odno = ll_instno - lstr_od.batchslno // To get OD Date
                        Select ln_d_effdate
                        Into     :lstr_od.cheqdt
                        From     loan_inst_sch
                        Where act_c_type = :as_actype and
                                  act_c_no     = :as_acno and
                                  ln_n_instlno = :ll_odno;
                        If Sqlca.Sqlcode = -1 Then
                             f_message('FT-0224', + Sqlca.Sqlerrtext)
                             lstr_od.batchslno = -1
                             Return lstr_od
                        End If
                   End If
              Else
                   lstr_od.batchslno = 1
              End If
         End If
    End if
    Return lstr_od
    Thanks in adance
    Arun M M

    What are you going to return the structure to? What I would normally use here if the code was going to be used by other PL/SQL would be a PL/SQL object type.
    However, if PowerBuilder is still in the equation (you're moving the logic to PL/SQL but keeping PowerBuilder for the GUI ), then you'll have to return something else, because PowerBuilder doesn't understand PL/SQL object types. Perhaps passing a REF CURSOR as a OUT argument and populating it from the procedure. PowerBuilder could then retrieve the result of the procedure using a stored procedure based DataWindow.

Maybe you are looking for

  • DVD drive does not play some DVDs properly

    Hi, My Macbook was purchased in 2007; So it is a bit old. I haven't used the DVD drive very often. I bought two new DVDs from Amazon recently. However, when I played them in my Macbook using DVD Player, the disk pauses and skips very often, making it

  • Error 1311 Need Help ASAP

    Hello all, I am completely new to Java and only moderately capable on my PC. While trying to get my text-to-speech program on my word processor working it informed me that I needed Java Access Bridge 1.4.etc or higher to use it. I downloaded this pro

  • Video does not play when imported from FCP

    When I import a clip from FCP into motion the clip opens up however only one frame shows up in the motion viewer. When I press play, there is no video..only that particular frame that was showing. The media tab shows the .mov file, and plays it in se

  • Alternative to OR?

    Hi all - I've a slight problem with a package that accepts a parameter that is used in the where clause of a sql statement to return a ref cursor. The trouble is, I don't know what the parameter is. To explain, sql joins on 6 tables. My driving table

  • HOW TO TRANSFER MESSAGES IN A SUBFOLDER 'X' FROM COMPUTER 'A' (WIN XP / TB VER. 2.0.0.24) TO COMPUTER 'B' (WIN 7 / TB VER. 24.0)?

    HAVE A SUB-FOLDER 'X' IN A COMPUTER 'A' (WIN XP / TB VER. 2.0.0.24) AND NEED TO TRANSFER IT (WITH MESSAGES!) TO COMPUTER 'B' (WIN 7 / TB VER. 24.0). SIMILAR SOLUTION ALREADY OFFERED DOES NOT SEEM TO APPLY?... (THE SCREENS MENTIONED CAN NOT FOUND ON T