How to add cursors on polar plot

I want to add cursors on polar plot just like the XY graph has. I am new to LabVIEW and want to be able to move those cursors by mouse movements and get the respective Angle and Magnetude values. Since the polar plot is a picture I am unable to do the same. So my questions is;
Can I add cursors on Polar plot? If not, then, is there any other way to do so?

Hi!
I've found an old post about you issue: http://forums.ni.com/t5/LabVIEW/the-best-way-to-make-a-nice-POLAR-plot-in-LV/td-p/115478 (but no easy solution is provided ).
You can use an XY plot, of course, but it's up to you to convert your polar plot to the cartesian coordinate system of the XY plot and the way back for the cursor coordinates.

Similar Messages

  • How do you get the polar plot VI's to work correctly?

    I have the data in a file and can see the correct data when placed on a smith chart, but not on the polar plot. It looks like it is mirrored on the Polar plot.

    There are a couple of examples hat come with LabVIEW that might help you. They can be found under Help >> Examples >> Advanced >> Picture Control >> "Polar Plot" and "Simple Smith Plot". As a way of comparing the two different plots, I had them plot the same data points. It looks like if you have a lot of data points with a lot variability then you want to use the Polar Plot. The following webpage may provide some infor regarding smith plots:
    http://zone.ni.com/devzone/nidzgloss.nsf/webmain/8​0EC3CE5F229DB818625686A0078B8D9?OpenDocument
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • How to add cursor and for loop

    PROCEDURE "TEST" is
    bala number;
    ins1 number;
    ins2 number;
    BEGIN
    select sum(bal) into bala from (select sum(acp.acp_totbal) bal,acp_instruid from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and c_srm_prncplinsid=acp_instruid
    and acp_acntnum!='SG030001'
    group by acp_instruid
    union
    select sum(acp.acp_totbal) bal,acp_instruid from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and acp_acntnum!='SG030001'
    and acp_instruid=c_srm_prntinsid
    group by acp_instruid)view1;
    dbms_output.put_line(bala);
    select acp_instruid into ins1 from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and c_srm_prncplinsid=acp_instruid
    and acp_acntnum='SG030001';
    dbms_output.put_line('principal'||ins1);
    select acp_instruid into ins2 from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and acp_acntnum='SG030001'
    and acp_instruid=c_srm_prntinsid;
    dbms_output.put_line('parent'||ins2);
    update cs_acpos_bkp
    set acp_totbal=-bala
    where acp_instruid=ins2
    and acp_acntnum='SG030001';
    END;
    i have written this code,i need to use cursor and for loops to get more than one rows and update also.
    if there are more than 1 rows in cs_strmap_t,then the procedure throws an error stating that it cannot take 2 rows.
    Edited by: 850836 on Apr 7, 2011 11:43 PM

    PROCEDURE "TEST" is
    bala number;
    ins1 number;
    ins2 number;
    CURSOR cur_1 IS
    select sum(bal) bala from (select sum(acp.acp_totbal) bal,acp_instruid from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and c_srm_prncplinsid=acp_instruid
    and acp_acntnum='SG030001'
    group by acp_instruid
    union
    select sum(acp.acp_totbal) bal,acp_instruid from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and acp_acntnum='SG030001'
    and acp_instruid=c_srm_prntinsid
    group by acp_instruid)view1;
    BEGIN
    select acp_instruid into ins1 from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and c_srm_prncplinsid=acp_instruid
    and acp_acntnum='SG030001';
    dbms_output.put_line('principal'||ins1);
    select acp_instruid into ins2 from cs_strmap_t map,cs_instru_strips strip,cs_acpos_bkp acp
    where c_int_instruid=c_srm_prncplinsid
    and acp_acntnum='SG030001'
    and acp_instruid=c_srm_prntinsid;
    dbms_output.put_line('parent'||ins2);
    for var_for in cur_1
    loop
    update cs_acpos_bkp
    set acp_totbal=var_for.bala
    where acp_instruid=ins2
    and acp_acntnum='SG030001'
    and abs(acp_totbal)>abs(bala);
    dbms_output.put_line(bala);
    end loop;
    END;
    i wrote the following procedure,but the balance is not getting updated.
    Getting this errors when there are more than 1 row in cs_strmap_t table
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: line 22
    ORA-06512: at line 2

  • Polar plot scale labels and background colour

    Dear Labview Forum,
    I am trying to create a polar plot.  However when I put the polar
    plot indicator on my front panel and wire up some data and parameter
    control boxes, the scale labels are missing.  See polar plot
    basic.VI.  Are the scale labels there or are they the same colour
    (black) as the background and hence not visible?
    When you compare this to the polar plot demo, the background is white and the scale labels are present.
    How can I control the polar plot background colour parameter?
    How can I control the scale label colour and visibility?
    Regards,
    Jamie
    Message Edited by Jamieg on 01-17-2007 02:18 AM
    Using Labview version 8.0
    Attachments:
    polar plot basic.vi ‏31 KB
    Polar Plot Demo.vi ‏33 KB
    polar plot basic.vi ‏31 KB
    Polar Plot Demo.vi ‏33 KB

    I'm so sorry  ... i am also unable to find the Propety Node... i think i mistook changing the Label/Caption bg colour as changing the whole bg colour... i'm so sorry...
    i've tried searching but to no avail... my apologies...
    all the best to your application...
    Best Regards,
    JQ
    LV 8.0 user...

  • How can I change the Y-axis (circular) grid spacing, in Polar Plot VI?

    When using Polar Plot VI, I need more control over the plotting parameters. This means tweaking the sub-VIs in various ways. What I need to do most is make the polar magnitude axis less busy, i.e. only draw circles every 10 instead of every 5 divisions, when using a range of 0 (outermost) to -80 (innermost).
    The magic 'magnitude axis subdivisions' variable seems to be generated in Calc Scale Specs sub-VI, and output as an array of clusters, but I can't quite see how it's created and from what.
    Please can anyone help me gain control over the number of magnitude division circles generated?
    Many thanks!

    I think if you go inside the Calc Increment.vi and modify the Increment output terminal it might change what you want to see. Try putting a multiply by 5 or ten into the case structure for when the log is false.
    Attachments:
    polar plot calc increment.jpg ‏90 KB
    modify calc increment.jpg ‏104 KB

  • How to add (multiple) cursors programmatically in an XY graph?

     how to add (multiple) cursors programmatically in an XY graph?
    I am building an XY graph. then I would like to add cursors at certain locations (positioned on x axis) I determine through a program.
    How can I add cursors programatically?
    Thank you.

    Initialize a cluster array (CrsrList type) with as many cursors as you think you would ever need.   Setup your cursors dynamically, then delete the unused cursors (array elements) and then update your CursorList property.
    Message Edited by vt92 on 03-20-2009 04:04 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    cursors.PNG ‏5 KB

  • How to add results of Loop into a Cursor

    Hi,
    I am opening a cursor and looping through each row (it has a select query that queries based on the value of a column obtained from another cursor).
    How can I add all the rows to a new cursor (along with the column value I am getting from the first cursor), as I want to return that to a java program.
    Can I create a new cursor and add the final data to it (that contains all rows), if yes How do I do that?
    Thanks,
    Rommel.
    Message was edited by:
    rommelsharma

    Trying to add data from one cursor to another cursor shows a basic misconception on your part of what a cursor is.
    First, what a cursor is not - it is not a result set. An in-memory set of rowids or results for a SQL. With 1000's of cursors on a database, how would this scale when every cursor needs space for storing its results?
    A cursor is a SQL program - a set of instructions (as per the SQL's execution plan) of how to get the results for that SQL. When a cursor fetch is performed, this program returns the next set of rows from the actual database tables.
    So you cannot take data from one or more cursors and then wrap that into a 3rd cursor.. or more accurately, you should not. The fact that it can be hacked in PL/SQL simply says a lot of the flexibility of PL/SQL.. and not about good sensible use.
    So how then do you "add cursors" together? You do it at SQL level. A cursor is a program. So instead of creating multiple programs, each returning its own results, you make it a single program.
    You combine the SQLs. This means using UNION, JOIN, INTERSECT, etc.
    Solve the problem in SQL first and foremost. That is the most powerful language to use to crunch database data. Do not make the major and fatal performance mistake of treating SQL as a simplistic I/O library for merely reading and writing records.

  • How to interpolate impedance measurements in a polar plot

    Hello,
    I do impedance measurements and plot them afterwards in a polar plot (see attached VI). Because of a sharp resonance it is hard to get a high resolution there.
    - Is it possible to do an interpolation between the the measured points?
    Thanks a lot.
    Best regards,
    Michael
    Solved!
    Go to Solution.
    Attachments:
    Interpolation.vi ‏47 KB

    Take a look at the attached.  I created an array to resample the data based on the data itself and then used the Resample (constant to variable) to generate interpolated data.  This  way the resonance is interpolated with more resolution than other locations.  Does this do what you want?
     There is a constant on the block diagram that controls how much more the resonance will be interpolated.
    Message Edited by rpursley8 on 03-22-2010 12:02 PM
    Randall Pursley
    Attachments:
    Interpolation-1.vi ‏76 KB

  • How to draw polar plot?

    Hi all,
    I want to draw a polar plot in LV. I  am having different values of frequencies & voltage/current values at respective freuencies. Can anybody guide me?
    Vaibhav Gandhi
    B.E. Instrumentation & Control,
    INDIA

    Hi Vaibhav,
    LV already has a polar plot indicator and comes with an example of how to use it...
    Btw. usually you plot a signal vs. phase on a polar plot. How would you plot vs. a frequency?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to add multiple plots programtic​ally to XY graph.

    Hello,
         I am new to Labview.My code is reading Voltage value from no. of Power supply & storing in 1D-array of string. No. of power supply will depend upon user selection. Now I want to plot all these Voltage's value to XY graph,in which X is time stamp at which  value is read & Y  is Voltage value.
            Please suggest me a solution to add multiple plots programtically according to the no of power supply, so user can have a one XY Graph with multiple plots of  Voltage's value of each Power supply.

    Better hide from the front panel. In my projects user used to had 6 plot at the maximum. Before plotting I used to ask how many parameter you want to plot. All the time I used to plot 6 plots only but visible according to parameter selection done by user.
    Here is what I used to do
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    Plot.jpg ‏215 KB

  • How to clear polar plot Programmatically

    How to clear polar plot Programmatically, thanks!

    This doesn't technically clear the plot, it's writing an array of zeroes to it. But if all you want is to make the plot appear to dissapear that's ok.
    I've taken a closer look and found that you have to use the Erase First property node to set which pictures can be erased. The default is never erase any, which is why the plot doesn't clear.
    Then, you can get an empty picture constant from the pictures sub-pallet and wire that into the Value (Signalling) property node and it will work.
    I have attached one VI with and one without the event structure to tidy things up, but you may not have the event structure available to you. I wrote these in LV2012.
    Attachments:
    PolarPlotV1.vi ‏16 KB
    PolarPlotV2.vi ‏22 KB

  • How can I increase line width on polar plot?

    The lines plotted on a LabVIEW 6 polar plot (picture control) are very thin and do not show up well when printed. I would like to increase the line thickness (as can be done easily on the graph controls), but looking through the polar plot VIs, I cannot find any obvious way of doing this.

    The polar plots basically use the picture control to draw the lines on a plot. To increase the thickness of the lines you would have to draw another line right next to the line. I'm sure this could be done, but would require alot of messing about with the drawing subVI's to draw all lines in duplicate.
    Alternatively you could plot the graph twice, but the second plot has an origin 1 pixel out. This will double the thickness on the screen, but i dont know what it will print out like. See attached example in LV 6.0.
    Another thing to try is change the plot colours. You can make the gridlines black (instead of grey), and paint the background white. This makes the lines show up much better. I will also include this in the same example.
    I hop
    e this helps you..
    Kim
    Attachments:
    Polar_plot_lines.vi ‏37 KB

  • How do u modify polar plots

    I would like to modify/control as many features on a polar plot as possible. I am aware of the property node feature, but those seem to be limited in what can be modified. I would like to have control over plot line thickness, fill-in solid color under data, and text size. I have seen these things modified before but I can't figure it out myself. Has anyone had this same issue?
    Thanks!
    Solved!
    Go to Solution.

    robin533,
    It sounds like with as much customization as you want, you might have to dig deep in the code. I would suggest trying to get into the low level code of the Polar Plot VI and seeing if you can modify what it is you're looking for. You can access some pen controls and color options this way.
    Cheers!
    KyleP
    Applications Engineer
    National Instruments

  • Multiple polar plots into a 3d plot

    my test measures a light source, for each iteration (of the test) the detector moves up in elevation 5 deg (starts at 0 deg) and takes a data point every 2.5 degrees in azimuth (for a full 360 deg). My data array is a 3d array where on each page I have 3 columns azimuth, elevation (the elevation is constant for each iteration) and measured data. The question is: I cannot seem to plot it into a 3D graph...polar plot no problem...does any one have any insight?

    “Create color map.JPG” illustrates one way to create the map for the forth dimension.
    “Set Axis Range.JPG” how I manipulated the axis range and properties. Note: It appears all CW 3-d graph items start counting at “1” not “0”.
    “Add Cursors.JPG” shows the cursor work.
    I hope this helps,
    Ben
    Message Edited by Ben on 09-24-2005 03:48 PM
    Message Edited by Ben on 09-24-2005 03:49 PM
    Message Edited by Ben on 09-24-2005 03:49 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Create color map.JPG ‏37 KB
    Set Axis Range.JPG ‏71 KB
    Add Cursors.JPG ‏62 KB

  • ? how to add page numbers in pages 5.2, starting with 2.  Pages '09 had an option to not show folio on page one.  Also any how to do left and right folios for a Tabloid?  Many trhanks

    ? how to add page numbers in pages 5.2, starting with page 2.  Pages '09 had an option to not show folio on page one.  Also any idea how to do left and right folios for a Tabloid?  Many thanks  . . .

    Hello jacquemac,
    Your first question:
    There might be a better way of achieving what you wish to do, but following these steps could help you out.
    You might want to blend in Thumbnails and Invisibles either with (cmd+shift+i and cmd+alt+p) or over the View section in the Menubar.
    1. go for Documents (right end of the Toolbar) -> Section
    2. place your cursor at the very top of your second page and click "Create new Section->Starting with this page" in the side bar on your right.
    (what you are actually doing next is setting the pagenumbers for each section you created. You can see your sections in the Thumbnail view.)
    3. click on your first page (the first and only page of your first section) and mark the checkbox "Hide on first page of section"
    4. click on your second page (the first page of your second section) and  "Insert page number" -> start at 1
    Your second question:
    Im not quite sure i understand what exactly you want to do here. One page, two columns, each column with another page number? As far as i know this is not possible.
    greetings jl

Maybe you are looking for

  • What does it take to drag and drop a jTable row to a jTextField?

    What kind of Listeners do I need? I have implemented transferListener and overrode createTransferable. But there was nothing responding when I tried to drag a row away. Any other Listener do I need to implement?

  • Error with crystal report using SAP GUI

    Hi, While using crystal report in sap gui i get the following error. I already googled and only found one thing on this forum that talks about this and it was never solve. Can you please help me? Thank you Errors in Crystal Reports Installation(Suppo

  • Radio buttons with dropdowns?

    I'm creating a form for my company's HR department, and I need some radio buttons with dependent dropdowns. In other words, I'd like (for example) three radio buttons. No dropdowns appear until one of the buttons is selected, and then the appropriate

  • Connot log in

    Hey there. i have an account registered with email: [email protected]  i have received welcome email as well as credit delivery confirmation through this email. but when i tried "forget password" and follow the steps, it says no such emal address!! a

  • Why datafile size not reduced ?

    Hi, I do not see the datafile size reduced after I drop tables in the tablespace of that datafile although the free table space reduced. Question: How to reduce the datafile without using alter datafile resize? James.