Display Phase value from graph

Hi,
I'm pretty new to Labview and I had a question about reading phase from a graph. Attached is the phase vs frequency but it's a bit difficult to pick out what exactly the phase is at a value. Is there a way to specify the frequency and have Labview display a numerical answer at that point? For instance could I input 50 hz into a box and have labview display 30 degrees? Attached is my phase shift plot.
Attachments:
phaseangle.jpg ‏99 KB

Here's another simpler example. 
The input wave is  50 and 120 hz cos wave which shows up great on the magnitude but the phase is all wonky. I've applied windowing functions and unwrapping the phase neither of these seem to help out much. 
==edit==
An an even simpler example is this 100 hz sine wave. The phase is also unreadable for this one.
Attachments:
phase2.jpg ‏311 KB
phase3.jpg ‏340 KB

Similar Messages

  • Display a value from PLSQL code to screen

    How to display a value from PLSQL code to screen without loading or refreshing the page?
    im using ajax to call the javascript to run the PLSQL code. i desire to view some value in the screen when i run the PLSQL code
    skud.

    anything that you print from the PLSQL code(using htp.p, htp.prn etc) with will available in Javascript as the server response. You can parse that string it in javascript and display it on screen or modify page items or create dynamic items/elements using those values.
    A minimal example
    Ondemand PLSQL process : TEST_PROCESS
    begin
      htp.prn('hello world');
    end;Javascript Code
    var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=TEST_PROCESS',0);
    ajaxResult = ajaxRequest.get();
    alert(ajaxResult);Will display an alert message "hello world"
    You can construct the string in JSON/XML format in PLSQL to pass complex data structures(or multiple values) or even HTML code, then do the required processing in Javascript, for example extract out item values from it and set items, convert the JSON array to a select list item in the page or put the HTML code with a div element in the page.

  • How to display the values from the table in the screen

    Hi,
    I have created a screen where i will enter the values for the field treshold amount and desc and if i press update button  .it will update the new values by overriting the existing values .
    Now i have got requirement i need to create a button show which will display the existing value from the table. always there will be only one entry...in this table
    Please can one give me idea...to do this
    or sample code...thanks in advance
    regards
    paveeeeee

    Define a function code 'SHOW' for your button. In your PAI module, when you check for various sy-ucomms, check for 'SHOW' also.
    Your code will be like this:
    Case sy-ucomm.
      when 'SHOW'.
         perform show_details.
    endcase.
    In the perform, you can fetch the data from the table and put it in global variables. In the PBO, move the data from the global variables to the screen fields so that they get displayed on the screen.
    Hope this helps. Reward points for useful answers.
    Regards
    Nithya

  • Display last value from a row or column?

    I'm using Numbers 09 and want to display the last value entered in a column in another table.
    For example in Table A I have columns set up by date with simple sums at the bottom of each column. I add new sums every day depending on the values from that day. What I'd like to do is get the last daily total and enter that value into another table called Table B. Is there a formula that will do that?
    If I'm not being clear enough please let me know what additional information you need and I will be happy to provide it.
    Thanks,
    rkaufmann87

    rkaufmann87 wrote:
    Hi Barry,
    Thanks for posting the example, not quite though. In your sample Table A is transferring all the totals to Table B. What I'd like is as I enter the data in the columns in Table A Table B then picks up the latest update in a single cell. For example lets say Table A's Column A is May 1 and the total is 45, let's say that sum is placed in A15. Table B automatically picks up A15 from Table A and makes a duplicate in Table B cell A1, then the next day Table A's Column B is May 2 and the total is 90 (cell B15), then Table B senses the latest total is 90 and enters that in cell A1 again. Is this possible?
    Here's another go.
    Table 1 has a second Header row added (row 2) Cells in this row contain the formula
    =IF(A1=MAX($1:1),COLUMN(),"")
    Which returns the column number of the cell in row 1 containing the latest date. (4) This number is used by Table 2 to determine the column from which to return the total in the bottom (footer) row. (see below)
    A1 in Table 2 and Table 3 contain the same formula:
    =MAX(Table 1 :: $1:1)
    This returns the latest date from row 1 of Table 1.
    A2 in Table 2 and Table 3 contain formulas that return the value in the bottom cell of the column containing the latest date in row 1.
    Table 2:   =OFFSET(Table 1 :: $A$1,ROWS('May 1, 2010')-1,MAX(Table 1 :: $2:2)-1)
    Table 3:   =OFFSET(Table 1 :: $A$1,ROWS('May 1, 2010')-1,COUNT(Table 1 :: $1:1)-1)
    Both use the same base ($A$1) and the same row offset (ROWS('May 1, 2010')-1) to reach the bottom row of Table 1.
    Table 2 uses the maximum (and only) numerical value in row 2 of Table 1 ( MAX(Table 1 :: $2:2) ), then subtracts 1 to reach the fourth column of table 1.
    Table 3 uses the same means to determine the row offset, but counts the number of dates entered into row 1 of Table 1 ( COUNT(Table 1 :: $1:1) ), then subtracts 1 to reach the same cell.
    I prefer the method in Table 3 because it avoids the need for the second Header row and the possibility of overwriting the formulas in that row. (Row 2 of Table 1 may be deleted without affecting Table 3.) It does require that there be no empty cells in Row 1 from Column A to the column containing the latest date.
    Regards,
    Barry

  • Poplist and displaying corresponding values from the database table

    Hi
    I have a poplist in a control block, the values of which are populated using a procedure. This is called in when-new-form-instance.
    This part works fine and values are filled in the poplist when form is opened..
    The datablock is based on a view. 3 columns from the view are selected to be displayed.
    Also the databock is filled with all values (for selected columns)
    Now when the poplist value is changed, I need the values in the datablock to be changed as well, but this is not happening.
    In my when-list-changed trigger, I have:
    go_block('datablock');
    execute_query;Please tell , where and what should I add to display the datablock values as per the poplist value.
    i.e, something like,
    select col1,col2,col3 from <view> where col4 =:control.col4
    Note:I tried in the where clause property of the block, but then nothing is displayed in the datablock
    Thanks

    This does not work , either..
    Before, when I changed the values from the list, it was still displaying same data on datablock always(all records)
    Now when I give this code,data is displayed in datablock only once(first time when the form opens)
    I have defined the Query data source type property on data block as "Table" but infact this datablock is based on a view..is this correct?
    Anything else I could try?

  • Extract y value from graph at any given time

    I have a graph with a pre-plotted curve generated from a standard set of results. I need to extract the y value of the curve at any given point. My y value is pressure and my x value is stroke(hydraulic cylinder movement in mm). So for example at 10mm(x value) I need to extract the pressure(y value). Is there a property node I could use for this? any help would be much appreciated.

    Hi Alan,
    instead of reading values from the graph you may use the interpolation functions from the array palette to do interpolation on the plotted values directly...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Displaying All Values from a Multiple Value Parameter

    Hi,
    Using XI, I have a parameter field that allows the user to enter multiple values Eg. 01, 02, 13, 14.  I want to create a formula to display all the values the user has selected. 
    Is there a way to do this? 
    Thanks,
    Brian

    join({?Parameter},",")
    creates a string with the items in your parameter separated by commas

  • Display specific value from List of Values(LOV)

    Hi All,
    Is this possible in BOXI R2 that i created a List of Values like below:
    1. P1AF
    2. P1XA
    3. P2AF
    4. P2XA
    5. P2XD
    6. P3AF
    7. P3XA
    8. P3XD
    and i would like to show only 1 & 2 values for specific users. Or switch on /off some values without accessing the database.

    Can you confirm that this question is posted to the correct forum, or if it should go into another? 
    If this is Universe Designer related, you can review your LOV's by:
    1. right-click on the object in the universe designer, and select Properties dialog
    2. Select Properties tab,
    3. Select 'Display'
    4. then shift or control select the LOV's that you want to be viewable,
    5. enable the checkmark next to 'Show Selected Only'
    6. Click OK, and then save and re-export the universe.

  • Displaying the values from a single column into two columns???

    hi buddies.....I've a table "Stock" and its fields are:
    Date, Invoice#, prod_id, sal_qty, pur_qty, rate, status
    The "rate" column stores the rate value on which a product was sold or purchased and "status" column values are like "S" for Sale,"OP" for opening and "P" for purchase.
    The problem here to me is that I'm unable to pick the purchase & sale rate of a product based on the status either "S" or "P". Is it possible to pick the purchase rate of a product sold between a specified limit of dates??? and show both sale & purchase rates in two separate columns in the result sets for a given product in a specified duration. The resulte set format should be like this:
    Prod_id Sale_Rate Pur_Rate

    Dear Dmitri,
    Let me tell u my case more elaborately so that u can have a better insight on my problem. I've a Stock table to which I'm trying to use to calculate current stock quantity, its value and profit per sale transaction. It has following simple description.
    Stock_Table:
    Invoice#     Date     Product     Batch# Sale_QTY     Pur_QTY     Rate Status
    Pur-001     01/01/05     Asprin          AB123      0     100           10 OP --(Opening)
    Pur-002 02/01/05     Paracetamol CD456          0     150          15 OP
    Pur-002 03/01/05     Menthol XY333           0     80          7     OP
    Pur-003     01/01/05     Asprin          ZZ990           0     50          8     P ..(Purchase)
    Sale001 02/01/05     Asprin          AB123           10     0          2     S
    Sale001 02/01/05     Paracetamol      CD456           5     0          16     S ..(Sale)
    Sale002 04/01/05     Asprin          ZZ990           6     0          10     S
    Sale002 04/01/05     Paracetamol      CD456           7     0          20     S
    Sale002 04/01/05     Menthol      XY333          4     0          10     S
    From this design can u calulate the difference of sale & purchase rate of a product during a range of dates(which is the Profit)? i.e firstly pick a sale transaction and then minus the purchase rate of the product from the sale rate in that sale transaction by looking at the product name and its batch number.
    While solving this case, please keep in mind that I'm using Oracle 8.0 which doesn't support inlined Sub-Query(a query within FROM clause). So giving u a hint(although I'm not genious enough;), I tried the Self Join at Stock Table by picking the sale rows at first and then purchase rows afterwords by giving this table two different names. I also tried the following query by joining the Sale Table with Stock Table. Is it the right way I'm heading towards???
    SELECT S.Sale_Date, SD.Invoice#, SD.Product, SD.QTY, SD.Rate Sale_Rate,
    ST.Rate Pur_Rate, ST.Product
    FROM Invoice_Master S, Invoice_Detail SD, Stock ST
    WHERE S.Invoice# = SD.Invoice#
    AND ST.Status IN('OP','P')
    AND ST.Product = SD.Product
    AND S.Sale_Date BETWEEN :From_Date AND :To_Date
    AND SD.Product = P.Product
    ORDER BY S.Sale_Date

  • How to display a value from Select List by default

    I have a Select List on a form and I need to on page load show an entry from the SL depending on the user Id of the user logged on.  For example, if the SL had 3 entries: 'Div1', 'Div2', and 'Div3', depending on the division the user belongs to (I can determine that from his user Id using a SQL), say, I need to display 'Div2' to the user in the SL instead of the usual NULL or '---- Select Div ----'.  'Div1' and 'Div 3' entries will still be part of the SL, but for user's convenience I need to display their division.
    Any ideas?
    Thanks,

    Hi Ajay,
    you need to specify your apex version, database version and so on to make our help specific.
    Anyhow you can create a page process- for example one at On Load before header.
    For example;
    [code]
    declare
      v_division varchar2(32);
    begin
      --select default division
       select my_division
       into v_division
      from my_division
      where my_division=:APP_USER;
    :P_DIVISION:=v_division;
    end;
    [/code]
    Then in the default of your select list, specify P_DIVISION as the default. Using one of several methods
    Understanding Page-Level Items
    Kofi

  • How to retreive and display return value from BAPI

    Hello,
    I am using SUP to create a sales order application. In my MBO I have a create operation which calls a BAPI to create a sales order. How can I retrieve the return value (saled doc number) and display it on a screen and display it as an Alert of BB application.
    Regards
    Nidhideep Bhandari

    Hi David Brandow,
    I have tried your solution where I just created a MBO for my 'operation' and I'm using sync parameters to execute the RFC.
    The problem I'm facing is, for example, if I create a record it gets saved in the MBO table and the record successfully gets created in SAP as well after a sync. But when I create another record and sync, the previously saved record in MBO table also gets executed so I'm getting duplicate entries in SAP.
    Have you or anyone faced this problem?
    Any response is appreciated. Please let me know if I'm not clear, I realized its a complicated scenario.
    Thanks,
    Sandeep

  • ORA-01403: no data found   when displaying a value from an   array

    I have a very simple pl/sql procedure like below which gives an error
    SQL> exec p_ks2;
    BEGIN p_ks2; END;
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "KINASE.P_KS2", line 21
    ORA-06512: at line 1
    if i uncomment the for loop the procedure works ... the loop has nothing to do with my array or what i am doing after it..
    could anyone help me to understand why i need a loop like that or what i am doing wrong when i am not having the loop there.
    ---- procedure
    CREATE OR REPLACE
    PROCEDURE p_ks2 as
    TYPE mdata IS TABLE OF number INDEX BY BINARY_INTEGER;
    data1 mdata;
    k integer;
    m number;
    begin
    data1(1) := 10;
    data1(2) := 20;
    data1(3) := 30;
    data1(4) := 40;
    data1(5) := 50;
    k :=3;
    --for mm in 10..11
    --loop
    -- m := mm;
    --end loop;
    dbms_output.put_line('value of data(' || k || '): ' || data1(k));
    end;
    /

    here is what i am trying.. when i do not have the for loop it fails. when I have the for loop it works eventhough for loop is really not doing anything related to my array.
    and in 10.x both works without error.
    I noticed you have the for loop uncommented when you posted the screen. Did it work when you have commented those lines out?
    SQL> select * from v$version
    2 ;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL> CREATE OR REPLACE
    2 PROCEDURE p_ks2 as
    3
    4 TYPE mdata IS TABLE OF number INDEX BY BINARY_INTEGER;
    5 data1 mdata;
    6 k integer;
    7 m number;
    8
    9 begin
    10 data1(1) := 10;
    11 data1(2) := 20;
    12 data1(3) := 30;
    13 data1(4) := 40;
    14 data1(5) := 50;
    15
    16 k :=3;
    17 --for mm in 10..11
    18 --loop
    19 -- m := mm;
    20 --end loop;
    21
    22 dbms_output.put_line('value of data(' || k || '): ' || data1(k));
    23
    24
    25 end;
    26 /
    Procedure created.
    SQL>
    SQL> exec p_ks2;
    BEGIN p_ks2; END;
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "KINASE.P_KS2", line 21
    ORA-06512: at line 1
    SQL>
    SQL> CREATE OR REPLACE
    2 PROCEDURE p_ks2 as
    3
    4 TYPE mdata IS TABLE OF number INDEX BY BINARY_INTEGER;
    5 data1 mdata;
    6 k integer;
    7 m number;
    8
    9 begin
    10 data1(1) := 10;
    11 data1(2) := 20;
    12 data1(3) := 30;
    13 data1(4) := 40;
    14 data1(5) := 50;
    15
    16 k :=3;
    17 for mm in 10..11
    18 loop
    19 m := mm;
    20 end loop;
    21
    22 dbms_output.put_line('value of data(' || k || '): ' || data1(k));
    23
    24
    25 end;
    26 /
    Procedure created.
    SQL> exec p_ks2;
    value of data(3): 30
    PL/SQL procedure successfully completed.
    SQL>

  • Merge dimensions from universe and Excel file to display a value from Excel

    I have a report with two sections similar to the following: customer, and a concatenation of customer-equipment. The customer and equipment are displayed as a header on each page, not as part of a table. Each page of the report has data for a single customer-equipment combination, but each customer can have several pages if that customer has several equipments. The data for customers and equipments comes from a universe, but certain combinations of customer-equipment need to display a label that is found in an Excel spreadsheet that also contains customer and equipment information. The label will be displayed in a free-standing cell, not in a table.
    I created a concatenation of customer-equipment in the universe and in the spreadsheet to merge those dimensions. How can I retrieve the appropriate label from the spreadsheet? I want to have a free-standing cell that displays something to this effect: SELECT label FROM spreadsheet WHERE customer_equipment_combination_on_this_page = customer_equipment_combination_in_the_spreadsheet.
    Thanks.
    Pedro

    Hi Simone,
    Thanks for the tip. I'm using BOXI 3.1. The spreadsheet looks like this:
    Where the Concat column contains the formula "=UPPER(TRIM(A3)&TRIM(B3)&TRIM(C3))". The report looks like this:
    The vertical table contains data from the universe. The universe also contains Customer, Equipment1, and Equipment2. And the report is sectioned, so each Customer/Equipment1/Equipment2 combination should be on its own page.
    I imported the Excel data into Access and created a new universe to connect to that Access database, and then the labels display correctly. But for some reason it won't work if it is merging with an Excel document instead of a universe. The "Cust1 (Equip1/Equip5)" line used to be a free-standing cell on which the report was sectioned, but I replaced it with moved it a three row table for the customer, L1, and L2.
    Any suggestions? Thanks.

  • Unlink x-axis marker values from graph scale

    Say there are three points to plot: y-values 2.1, 2.2 and 2.3. The x-values are 0, 1 and 2, respectively. How can the x-value marker values be changed to 22, 50 and 100 without rescaling the plot's x-axis?

    > I've tried this with all graph types. I want the points to be evenly
    > spaced on the x-axis. I want the marker labels on the x-axis to be
    > arbitrary. e.g.: plotting gain error (y-axis: generally {-1%..1%})
    > versus gain setting (x-axis: generally {48, 24, 8, 4, 2, 1, 0.5,
    > 0.025...}).
    >
    The LV graphs support linear and log scaling, and they support a linear
    transform between the plotted value and the labeled value, but you are
    correct, they do not allow arbitrary labeling of the points on the scale.
    To work around this, you might look at placing cursors/markers on the
    graph. Show the text labels, hide the lines and points, and set the
    color however you like for the text. The marker location can be at the
    bottom or top of the g
    raph, and the text can be your arbitrary values.
    Then hide the X Scale.
    Another approach is to hide the scale and have an array of strings or
    numerics that you overlay. The problem with this approach is that as
    fonts change when you change platforms, or MS changes the default font,
    your array and graph won't line up. The markers on the graph always will.
    Greg McKaskle

  • How to use time values from graph or chart for other calculations

    iam generating an ultrasonic signal of frequency 500k. In the equation i need the values of time axis of the graph or chart for calculationg the envelope of the graph. please help me how to use the x-axis time values.I have tried by writing in spread sheeet or by using arrays. here iam not able to get only 1 dim time values.
    AshwiniP

    Use a property node

Maybe you are looking for

  • Iweb keywords vs. old metatags

    I just got my personal domain working. In the process I lost my place in google search. Since iweb doesn't use tags, how can I get my web site to show up again? I did put in a lot of key words in my copy, but my .com doesn't even show up in a google

  • Will iMessage say delivered when the message is being sent to a dead device

    My iPad was dead and someone messaged me and it said delivered, is it normal to say delivered even when the device it's sent to is dead?

  • Further updates for Nokia XL after 1.2.3.1

    I want to know whether Nokia XL will get further updates after 1.2.3.1 ,or will it remain the same ???

  • Labor COsts

    Hi all, In a make to stock  product costing scenario : 1) How does the labor costs and material overhead costs reflected in FI side.? 2) Do we need to run any specific steps for these secondary costs to reflect in FI ? We collect these costs using Ac

  • Apple Mobile Device will not install after latest itunes update!!

    Having a lot issues with trying to get AMDS to install after installing the iItune update, as such unless this can be installed itunes will not recognise my iphone. This problem all started when I installed the latest update, everthing installed exce