How to read 2 scales on 1 graph

Hi guys,
- I have a graph displaying 2 plots (amplitude and phase) at the same time.
- The amplitude scale on the left and phase scale on the right.
- I'm using a graph cursor in SINGLE-PLOT MODE.
I'm trying to switch between both scales using "Cursor.Yscale" and/or "Plot.YScaleIdx" properties to read the coordinates of the cursor according to each one of the scales.
While it works fine when the cursor is in FREE mode, I get the same reading before and after switching the scale in single-point mode. That is, Y1amp and Y1phase indicators display the same result.
The reading is done in a while loop as seen in the attached picture (example for 2 cursors).
Any idea what am I missing?
Attachments:
2 scales reading.png ‏77 KB

Hi Steve,
Thanks for the prompt reply.
Regarding your solution, I think it would give me the Y value of the second plot for the same Theta point. For example, applying solution#1 on the blue cursor in the picture would give me a result of about -115 deg. (the point the vertical line of the cursor crosses the red phase line. This is not what I wanted, I need the "vertical" value of the cursor on both scales (about -38dB on Amp. scale and about +78 deg. on the phase scale.
Or did I misunderstand?
Any way, you did give me a new thinking direction that seems to be working:
a) I read the Amp. scale position of the cursor and calculate the its relative part of the whole scale (for example, if the scale goes from 0 to -100db and the current position is -25dB, then I know the position is a quarter of the whole scale).
b) Now, I calculate a quarter of the phase scale and get the missing phase position.
It's a nice workaround.
Thanks for the idea!

Similar Messages

  • In chart (graph), How to set scale value dynamically(user input scale val.)

    Hi ,
    I am using Crystal Reports XI R2.
    I have specified scale value but user is asking he can decide scale value while running the chart like Y-axis major interval (inclement by) 10, 7, 4, .5, .25 etc.
    How to achieve this please give me suggestions.
    Thanks and regards,
    Manjunath N. Jogin

    I do not think this can be done dynamically,   You could build several sections, each with it's own graph,
    set the scales in each graph, in its section, and then supress sections based on parameter.
    So, you could have one section that is  5,10,15,20  etc.
    and another that is 8, 12, 16, 20  
    depending on what they want.

  • How to read the statistics graph?

    Hi,
    I'm trying to troubleshoot some network issues. I have an AirPort Express connected to a DSL modem and acting as a wireless router. One computer connected is a Mac Pro with an AirPort Extreme card, and the other is a PC laptop with an Intel 2200BG wireless card. Both computers are connected, using the internet, sharing files, etc. I am using WPA2 encryption.
    The Mac has a good stable connection while the PC disconnects frequently. The thing is that the PC is just a few feet away from the router, while the Mac is in the other room. Moreover, both computers show an excellent connection in their status.
    I've opened Airport Utility in order to diagnose the problem. Looking at the statistics graph, I cannot seem to understand how to read it. I'm confused by the negative signals vs. noise signals, etc.
    Unfortunately, I cannot post a screenshot here, but here are the readings:
    PC: Signal: -24, Noise: -95, Rate: 54
    Mac: Signal: -73, Noise: -84, Rate: 78
    This is cryptic to me, so I'd appreciate any explanation of the data.
    Thanks!

    PC: Signal: -24, Noise: -95, Rate: 54
    Mac: Signal: -73, Noise: -84, Rate: 78
    In general, the greater the value, the better. Both Signal & Noise are measured in dBm. dBm is a measure of absolute power output. An increase in 10 dBm = 10x increase in output power.
    We would use these values to calculate the Signal-to-Noise Ratio (SNR). SNR = Signal - Noise.
    To use your measurements for examples, the SNR would be:
    o PC: -24 dBm -(-95 dBm) = 71 dB
    o Mac: -73 dBm -(-84 dBm) = 11 dB
    To put this into perspective, the SNR influences the instantaneous data rate (speed). The higher the SNR, the higher the data rate (up to the maximum bandwidth of the radio being used).
    For reference, use the following SNR Guideline:
    o 40dB+ SNR = Excellent signal
    o 25dB to 40dB SNR = Very good signal
    o 15dB to 25dB SNR = Low signal
    o 10dB to 15dB SNR = Very low signal
    o 5dB to 10dB SNR = No signal
    Again, going back to the SNRs we just calculated, the PC is getting an excellent connection to the AX, while the Mac is not.
    Finally, the 'Rate" value is a near instantaneous measure of the data rate or throughput. It is measured in Mega bits per second (Mbps). Its value should never exceed the maximum bandwidth appropriate for the radio mode. For 802.11g that bandwidth would be 54 Mbps; for 802.11n (2.4 GHz), 130 Mbps, and for 802.11n (5 GHz), 300+ Mbps.

  • How can I scale a graph for frequency instead of time or number of points?

    Hi All - I have an application where I am reading the trace of a carrier from a spectrum analyzer. I have graphed this in the past with reading points on the trace which give me frequency and power. However that is very slow compared to just reading the trace off the analyzer which is returned as an array of 1001 power points in dBm. Because it is returned in dBm the Y scale of the graph is fine. However the X scale reads from 0 to 1000 which are he numvber of points. Is there a way to change the X scale or reflect the frequency of the data? For example I have the center frequency and the span setting from the analyzer and from that I can determine the start and stop frequency. However when I apply the minimum and maximum ranges for the X scale the displayed result changes. I would just like a way to change the X scale to what I want w/o the display being affected. Is this possible? Is there another solution that does not use the standard graphs in Labview that makes this possible? Thanks in advance for any help.
    Troy

    If you just got an array of values, you can use the property nodes XScale.multipier and XScale.Offset to scale your graph.
    Your multiplier usually is the frequency bin distance (1/capture-length or here the span/1000) , and offset mostly zero (if your first bin represents the DC part of the DFT, here center -span/2)
    Have you searched the NI drivers if you get a ready made driver of your SA? Some already read the frequency domain plots as a waveform including all scaling ...
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How to read scaled data in Matlab?

    I'm using the board PCI-6115, Labview and Matlab.
    I have some questions related to that scaling of data. I'm using as base of my program the example:'Cont Acq to File(binary)', present in Ni Help. I acquire the data as i16(unscaled) and then read it in Matlab using the low level I/O functions:
    fin=fopen('data.bin','r','b')
    data=fread(fin,[5000,4],'int16')
    Everithing is ok, but the data is unscaled.How can I scale the data?
    I tried to modify the program to write to the file scaled data, but when I read it in Matlab, using the same procedure, I only get a matrix with 0. Does anyone know what is the problem?
    Thanks in advance

    Hello
    Wow, I didn't expect an answer for me so quick and from you.
    Actually, I did follow every your writing. I'm a kind of new labview user (only 2 month),
    so I don't know much about the labview, but I think you're great.
    I also read the writing about the bug in Cont Acq&Graph Voltage-To File(Binary).vi. in other thread. 
    I don't know much about that, but I think you're right for that.
    You're exactly right for my labview.  I modified two vis from example, "Cont Acq&Graph Voltage-To
    File(Binary).vi" and "Grah Acquired Binary Data.vi".  Actually I only changed one part, save I16 and read I16.
    I need a 5MHz sampling data and it's so big.  That's why try to use Matlab.
    I copied, pasted your matlab code and made LVReadBIN.m file.
    When I run it with my data file, I got this error.
    ===============
    >> LVReadBIN(1000);
    ??? Undefined function or variable 'then'.
    Error in ==> C:\Th\LabView\NI_6115\10192006\LVReadBIN.m (GetHeader)
    On line 103  ==>     then
    Error in ==> C:\Th\LabView\NI_6115\10192006\LVReadBIN.m
    On line 23  ==> headerInfo = GetHeader(fileName,pathName,dataBytes);
    >>
    ================
    I'm not an expert for the Matlab, but I don't think the "then" is not right commend,
    so I deleted and run again.  And I got another error.
    ===============
    >> clear
    >> LVReadBIN(1000);
    ??? Error using ==> fread
    Out of memory. Type HELP MEMORY for your options.
    Error in ==> C:\Th\LabView\NI_6115\10192006\LVReadBIN.m (GetHeader)
    On line 104  ==>     userHeader=fread(fid,userHeaderLength,'uchar');
    Error in ==> C:\Th\LabView\NI_6115\10192006\LVReadBIN.m
    On line 23  ==> headerInfo = GetHeader(fileName,pathName,dataBytes);
    >>
    ============
    I attached 5MHz sampling data file. I have to change the name. It's not a txt file.
    You just change the name (extension) from "test-5M.txt" to "test-5M.bin".
    If you don't mind, could tell me what my problem is? Am I miss something or did wrong?
    I really appreciate for that.
    Thank you very much.
    Have a great day.
    Best regard.
    Aggie.
    Attachments:
    test-5M.txt ‏977 KB

  • Scale of a graph

    I want to reduce the scale of a graph on the web template. Pls advice on how to do this.

    Hi,
    BW BW,
    Follow the steps given by Pradibha given above,scroll down and find the Chart item and right Click on it .
    Choose Edit,
    Click "yes" on the pop up.
    In the Step 5 of 6-->under 'Available axes'
    Click on the Value Axis.
    Below u will see 'Axis properties'
    here enter your requirement as 10 instead of 0 , for 'Minimum Value' which is ur requirement.
    Hope this solves your problem.
    Assigning points is a way of telling thanks in SDN..
    regards,
    Man.

  • Provide scal setting for Graphs in 9i Reports

    I have embedded a Graph in Reports 9i.
    Even afte i provided the Scale parameter as
    Minimum = 0.00
    Maximum = 50,0000
    Increament = 10,0000
    The Y-axis scale is diaplayed as 10k, 20k, 30k
    i want to disply the scale as 10000 ,20000, 30000 How it is pssible ?

    Hi,
    in the FQA-Document for Graphs on OTN (http://www.oracle.com/technology/products/reports/htdocs/faq/graph_faq_with_style.html) there's the same question (By default the Y-axis scale in my graph reads as 1K, 2K... Can I modify the scale to read 1000, 2000...? ) with the answer.
    regards
    Rainer

  • Create different y scale dynamicly on graph

    hello all
         I have a problem that, i need create many different y-scale in the graph, one method is right click the scale, select "Duplicate Scale" 
    then a new scale will be ok. however, this is just static method, before the VI running, the total of the y-scale is fix. Is there some dynamic method
    by call property node to create the new y-scale when the VI is running?  for example, if i do not know how many channel data to be acquired, then
    i can not determine the total quantity of the y-scale, so if dynamic is ok, then , it is very perfect.
         Every one suggetion is very  appreciated.

    We needed to do something similar becuase of a customer requirement. From what you said, if you know the maximum number of axis, create the maximum number of scales required by right clicking and duplicating scale. During runtime hide/unhide the scale as shown below.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How to read the error message like clipping positive or -ve in Tektronix oscillioscope 3012B

    During acquiring the Sine wave or triangular wave from TDS3012B, if the amplitude or Max or min is clipping, how do you read the error?  I used *ESR?, first time when I ran the error query program, it gave me Error message saying it is clipping, after that If I run again,the error query , It would not give me the error message, I couldn't reproduce it, eventhough but On the screen if I measure, Amp, min and Max it says that it is clipping positive or -ve. I was wondering how to read the error message while aquiring the data?  If any one could help me that would be of great help.. Thanks

    Usually, reading the error status register clears it. I'm not familiar with this particular model of scope but you may have to initiate a new acquisition in order for the scope to generate a new error. Another possiblity is that a new error will be generated when the vertical scale changes. Unless someone posts with an answer, I'd say that your best bet to get an answer is to contact Tektronix technical support.

  • Y scale in XY graph

    Quick question :
    how to scale Y-scale in XY Graph (height about 470 pix)
    so that I can see all integer numbers from 1 to say 32.
    See picture. I try to use property node, but it seems that height of this XY
    Graph doesnt allow me to see all numbers.
    cheers,
    jcz
    [Attachment graph_scale.gif, see below]
    [Attachment graph_scale_prop_node.gif, see below]
    Attachments:
    graph_scale.gif ‏4 KB
    graph_scale_prop_node.gif ‏5 KB

    Hi,
    Please see the attached Vi where I have used YScale.MarkerVals[] property node to write 1,2,...,32 values to the Y scale. Notice that the graph height is less than 470 pixels.
    Regards,
    Ankita A.
    Attachments:
    Y_scale.vi ‏17 KB

  • Send data from GPIB Read Function to XY Graph

    hello
    I'm really new to LabVIEW so this is probably an easy one, but I'm having a serious issue trying to figure this one out. how do I send data from GPIB Read Function to a graph, let's say XY Graph. my data consists of a string of numbers, separated by commas, alternating between X and Y values. for instance:
    0, 0, 0.1, 0.2, 0.2, 0.4, 0.3, 0.9, 0.4, 1.6, 0.5, 2.5, 0.6, 3.6, 0.7, 4.9
    which would graph a parabola. I tried to connect the output (data) of BPIB Read Function to XY Graph, but I get an error. do I have to do something else before I send that data to the XY Graph? thanks for any suggestions.
    r. 
    Solved!
    Go to Solution.

    first of all, thanks a bunch for replying
    I added "spreadsheet string to array function" and it looked OK (I didn't connect anything to 'array type' because I couldn't figure out what those blocks were - I'm really new to LabVIEW"
    I couldn't find "decimate array" so I added "decimate 1D array," which is what my labVIEW listed (I have 8.6). I fed that directly into "express XY Graph," which lets me feed separate X and Y values (or so I assume). but, even though the input to "decimate 1D array" and output of "spreadsheet string to array function" say 'array' - the program is not happy. when I move my mouse over the 'x', the following is the message that I get:
    "you have connected two arrays of different dimensions.
    The dimension of  is 2. 
    The dimension of  is 1." 
    I'm not quite sure what that means. any suggestions what I can do with it?
    Attachments:
    Picture 1.png ‏11 KB

  • How Adobe viewer scales images?

    Hi,
    I am putting a JPEG file of lesser resolution than the PDF and is scaling it inside PDF. I have a doubt how the viewer scales the image while rendering? Is it just pixel replication or can we specify inside PDF to use some filters for scaling to get better quality? Can someone please help me regarding this doubt?
    Thanks,
    Sham

    I found the answer myself from the PDF standard. Image interpolation is done if the /Interpolate field in the image XObject is set true. I am quoting from the PDF standard below.
    "When the resolution of a source image is significantly lower than that of the output device, each source sample covers many device pixels. As a result, images can appear jaggy or blocky. These visual artifacts can be reduced by applying an image interpolation algorithm during rendering. Instead of painting all pixels covered by a source sample with the same color, image interpolation attempts to produce a smooth transition between adjacent sample values. Image interpolation is enabled by setting the Interpolate entry in the image dictionary to true. It is disabled by default because it may increase the time required to render the image."

  • How can i get the average graph?(DIAdem)

    hi,
    How can i get the average graph(2D-graph) of 10 measures?
    Can someone please help me?
    THX!!!

    Hello Charleen!
    If you want to do it programmatically have a look at the ChnAverage command in the help (see also StatBlockCalc for advanced calculations). Interactive you can use the statistic functions in the ANALYSIS device.
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • How to read SYstemstate level 266 dump trace file?

    Hi I have simple question regarding documentation availability.
    How to read SYstemstate level 266 dump trace file?
    I tried googling it but didnt find any good article?

    Hi,
    It is supposed to graph frequency content vs time, and the display I get comes all black. Look at the attachments for the load state, the first one is the legacy SW and the second one is the modified one.
     I put probes on them, and the legacy one gets the 250,000 from the Value embedded. The modified one it is supposed to get it from the sample rate path, please let me know if this is enough info, thanks. 
    LabVIEW Intermediate I level!
    Attachments:
    sample rate-load state legacy.JPG ‏174 KB
    sample rate-load state modified.JPG ‏198 KB

  • How can I make a waveform graph store the entire wave, not just the current time period and how can I save the actual graph?

    I am taking temp readings with a 4 channel DAQ, sending them to a waveform graph and exporting the data to excel, how do I manipulate the graph to take a continuous reading as opposed to losing the previous GUI and how can I save the entire graph?
    Using LabVIEW 2011 operating on Windows 7 professional. 

    That is the nature of the chart -- everything not in the history is lost (it is a FIFO buffer of length=1024 samples by default).
    The scroll bar is probably grayed out because you're show all of the data.
    Attached is a program that will add 5 random points to a graph and prompt you for a file location where to save a JPG snapshot of the graph.  It's not particularly good programming style, but it has all of the elements/concepts you're after. 
    Attachments:
    graph.vi ‏14 KB

  • How to include scales for delivery schedule.

    Hello,
    How to include scales for delivery schedule.
    a.       Example u2013 I have a total SA for 10000 EA for Rs 10 EA
                                                                   i.      When SA line And GR  is for 0-100 system should take  Rs 10 EA
                                                                 ii.      When SA line and GR is for 101-1000 System should Rs 9.50 EA
                                                                iii.      When SA line and GR is for 1001-5000 system should take Rs 9.00 EA.
    Normaly SA will calculate Scales based on target qty, not delivery schedule qty?
    Regards
    sapman man

    Hello SAPman man ,
    Please read SAP Note 401941. This could be helpful depending on what Release you are running.
    SAP Note 401941 -  Incorrect price at time of GR
    I hope this information has been helpful for you.
    Best Regards,
    Frank

Maybe you are looking for

  • How can i refresh an SSL certificate for a specific page?

    i am trying to access my electronic training jacket on Navy Knowledge Online to check the status of my security clearance. the ETJ page requires an SSL certificate. when i initially loaded the page the message window popped up prompting me to add the

  • My ipod was stolen, but I got it back. There is now a password on the reset option, is there a way to get around this?

    My iPod touch 3rd generation was stolen a couple of months ago, and I recently got it back. I was able to take all of the other person's music off, and put mine back on. But when I went to sync the apps, i couldn't. Everything is up to date, except f

  • Moving music from my ipod to my itunes, how is this done?

    hey, how do i sync my itunes with my ipod and not the other way around? my ipod is composed of two slightly overlapping itunes, one from my computer at work the other at home... how do I set my itunes at home to my ipod?

  • Exception Messages Report / List

    I have been unable to locate an exception messages report, either for production orders, requisitions, or purchase orders. I am looking for a report that will contain all of the exception mesages. Ideally, the output would be something like: 1.   WBS

  • Mass deletion of PIR conditions

    Hi all, when we delete a PIR using ME15, the condition records dont get deleted ..right? I mean the deletion indicator in the condition record does not get ticked...right? How can execute a mass deletion of PIR conditions?