Multi-plot cursor in xy graph

I am using an XY graph with 5 curves which belong to one of two y axes each. All curves share the same array of x values. I do not like the cursor legend so I want to read out the values of the one cursor programmatically. I can create a multi-plot cursor which watches all the 5 curves but I cannot find how I can read out the 5 corresponding y values of my cursor. Any help?
Thanks,
   LX (using LV2014)

Use the cursor index property value and wire that to an index array function for each y array.

Similar Messages

  • Multi plot cursor in Mixed Graph

    If Digital waveform and normal waveform graph is plotted in a mixed graph, and if I choose watch all plots(multi plot) in cursor, LabVIEW closes immediately with an error popup dialog
    I have attached the print screen image of that error popup
    Attachments:
    error.JPG ‏188 KB

    Hi Stephen,
               I found a considerable solution to overcome that error.
               Build all the array data at first and then generate digtal
    waveform in single instance.
               ie., With number of numerical array data, build a 2D array of
    numerical data and make a transpose and then generate a waveform.
               It generates number of digital waveform equal to that of the
    column size of 2D Array.
               Do not build generated digital waveforms. This creates an error
    while using multi plot cursor--> watch--> All plots.
               I have attached the modified, bug removed Vi with this message for
    your reference.
    Regards,
    Raja
    Project Engineer
    Soliton Technologies
    www.solitontech.com
    Attachments:
    Mixed Graph Modified without Error.vi ‏25 KB

  • LabVIEW crashes when you run a VI that contains a mixed signal graph with a multi-plot cursor.

    Hello, LV 8.2.1 notes indicates the following bug fix:
    43SAIR2A  Fixed an issue where LabVIEW crashes when you run a VI that contains a mixed signal graph with a multi-plot cursor.
    I am running this version, and still have this behavior.  Is there anything I may be missing, and/or certain circumstances that may still be causing this?
    thanks in advance,
    Darren

    Darren:
    I looked at the CAR ID that you mentioned and the issue has been resolved in LabVIEW 8.2.1. To verify something similar, I ran the attached VI and things worked just fine. Please feel free to send me the steps to follow to reproduce the issue you are running into in 8.2.1.
    Regards,
    Rudi N.
    Attachments:
    MixedGraphs.vi ‏15 KB

  • Mixed Graph - Multi Plot Cursor Problem

    If I plot both Analog Waveform and Digital Waveform in a single Mixed Graph, and when I choose watch all plots in cursor legend, LabVIEW crashes with an error message.....
    I have also attached  the Print screen image of that Error
    Attachments:
    error.JPG ‏188 KB

    Jared Boothe,
               I found a solution to overcome that error.
               Build all the array data at first and then generate digtal waveform in single instance.
               ie., With number of numerical array data, build a 2D array of numerical data and make a transpose and then generate a waveform.
               It generates number of digital waveform equal to that of the column size of 2D Array.
               Do not build generated digital waveforms. This creates an error while using multi plot cursor--> watch--> All plots.
               I have attached the modified, error free Vi with this message for your reference.
    Regards,
    Raja
    Project Engineer
    Soliton Technologies
    www.solitontech.com 
    Attachments:
    Mixed Graph Modified without Error.vi ‏25 KB

  • Errors with multi-plot cursors on Mixed Signal graphs

    Using a Mixed Signal graph, it seems that a multi-plot cursor does not snap correctly if XScale.Multiplier is not set to 1 - it seems to ignore it altogether.  A single-plot cursor on the same graph does not have this problem.  Am I missing something?
    In the attached VI, XScale.Multipler = 0.1, and Cursor 1 (Single-Plot) shows the correct value, but Cursor 2 (Multi-plot) does not.
    Attachments:
    MixedSignalCursor.vi ‏14 KB

    Hello,
    The behavior I see is that the multi-plot cursor which is snapped to plot 0 seems to generally follow an "imaginary plot" which corresponds to a scaled version of plot 0, where the scale factor is the value wired to the XScale.Multiplier property.  I don't think this is desired behavior so I have filed a corrective action request to R&D to have this addressed.  I am sorry for the inconvenience - hopefully you can live with an X-scale multiplier of 1, or the single plot cursors for the time being.  It also takes the offset property similarly, offsetting the "imaginary plot" by whatever value is set there.
    In any event, if this poses a significant problem with additional contingencies, please let me know and I'll be sure to include any updated information in the corrective action request!
    Thank you,
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Multi plot cursor

    Dear All,
    I am working on Mixed Signal Graph with Multi plot cursor.
    My target is to move the cursor on X axis time scale and get the y axis values of all the plots.
    i got some ex. on forum but i am facing a typical problem explained as follows:
    By chaning the cursor plot i am getting the y axis values for each plot.
    The problem is that the values are continuously changing of the plot y axis value automatically, ans also the values of the respective plot does'nt match all the time, it changes.
    I have attached a example, in that the values of the respective plot changes every time.
    Am i missing anything, please guide.
    Regards,
    Shrek
    Attachments:
    Mixed Signal Cursor.vi ‏34 KB

    Here is a quick mod .. don't know if it solve your problem, but I get constant values
    Will work only if all plots have the same lenght ...
    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 ǝɥʇ'
    Attachments:
    Mixed Signal Cursor.vi ‏27 KB

  • Express XY Graph Multi-plot Cursor point

    Hi,
           In mixed signal graph >> Property >> Cursors Tab >> Enable Allow dragging here if we select Multi-plot, it will show X scale and all Y-scale value in Cursor legend.
    How can I get these same options in Express XY Graph?
    Sivaraj M.S
    CLD

    You need to use a property node and find the curser position and then plot those points in a seperate xy plot (only it will be one point instead of an array). You will still have to plot it as an array of one point.
    Tim
    Johnson Controls
    Holland Michigan

  • Mixed Signal Graph: Cursor Position Property for Multi-Plot Cursor

    I'm working 6 waveforms on 3 different plot areas in a mixed signal graph in LV2009.  When I try to pull the Cursor.PosY property from my cursor (in which Watch All Plots is True, and is set to Multi-Plot in the graph properties), it returns the value of only the first plot in the cluster of waveforms fed into the graph.  I've tried changing the active plot, active plot area, nothing changes.  I am able to retrieve each value via the cursor legend, but I cannot pull each of those values into another portion of my program.  Also, I noticed that when setting events in an event structure, any events relating to a cursor drag aren't present as they are in a waveform graph.  My workaround is to create an indicator for the Cursor.PosX property and monitor when that value changes, but I feel there should be an easier way.  Any help is appreciated.
    Thank you in advance!

    Jeanius,
       I am not quite sure why the cursor pos in the Wavegraph reference does not change when you change the active plot, but if you grab a reference to the specific cursor and then change the active plot things you receive the expected behavior.
    Ben J.
    National Instruments
    Applications Engineer
    Attachments:
    MODDEDmixed graph cursor ex.vi ‏41 KB

  • Multi Plot Interpolation Property

    Hi
    I'm showing multi plots in a XY Graph and want to set the interpolation of all plots to "Stepwise horizontal" but I only can change the interpolation of first plot. Any suggestion on how I can do this?

    Hi Maryam,
    All you have to do is set the active plot to the next plot, and then set the interpolation property for that plot.  You can do it all using a single expanded property node, as I've shown in my attached VI.
    Let me know if you have any questions or need anymore help.
    Regards
    Way S.
    NI UK Applications Engineer
    Attachments:
    XY Graph Multiplot.vi ‏21 KB

  • Center multi-point cursor in a XY graph

    Hi all,
    i need to programmatically bring to center the only cursor of a XY graph (a multi-point cursor made of 4 plots).
    I realized an algorithm to calculate the x value to send to the "Cursor.Cursor position:Cursor X" property of the graph.
    The cursor seems to be correctly set, but i resets instantly. Seems like i need to set the property for every 4 plots, but i don't know how.
    Any clue?
    Thanks
    Marco

    Se the "cursor index" property and set it to half the number of X points. (or use more complicated math if the graph is zoomed, not shown)
    (All your booleans should be latch action, eliminating all local variables. You also don't need the reference. There probably also should be a small wait.)
    (All that said, I never use multiplot cursors, but maybe there is a bug somewhere if they are used. Your code works fine if the cursor is locked to a single plot)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    TestCenterCursorInGraphMOD.vi ‏14 KB

  • How can I update single plot in multi plot xy graph?

    Hi all,
    I'm working on an HMI "front" for a larger acquisition/analysis system, that includes continuous performance monitoring of a turbine. The results of the measurements are stored arrays of contour lines, that represents turbine efficiency and guide vane openings. This analysis is all performed in the background. In the HMI, the performance data is loaded from file when the specific "report" is requested, and is plotted in an XY graph. I would like to indicate the current operation point of the machine by using a plot that is a single point. Thus, that point's position among the contour lines indicates the current performance of the turbine. This point is updated once every second, while the performance data remains the same for considerable amounts of time between recalculations (days to weeks). 
    Is there any way of updating the value of a single plot in a multiple plot XY Graph without having to redraw all the plots?
    I've tried using the "Active Plot" property, which doesn't work. 
    My current solution is to keep all the data as input to the executing while loop and replace a subset of the plot array, but that of course requires the entire rewrite every time the operation point plot is updated.
    Best regards,
    Jarle Ekanger, MSc, CLD
    Flow Design Bureau AS
    Solved!
    Go to Solution.

    You cannot redraw a single plot. If you want to update a single plot, you need to retain all plots in a shift regsiter and replace the data of the desired plot. However, your problem seems much simpler than that. To show a single point on a nearly static plot you have several options.
    You can use a cursor that is controlled programmatically (the style can be a point, don't allow drag).
    You can use annotations.
    You can use the "plot images" feature that allows you to use image commands to draw anything on top of a graph.
    None of these ideas require a redraw of any data.
    I think the cursor idea is probably the easiest and most appropriate. Just use a property node with the following properties:
    active cursor
    cursor position x
    cursor position y
    LabVIEW Champion . Do more with less code and in less time .

  • Multi plot graph - auxiliary curves

    I am in trouble with a multi plot graph. There is a wave chart that I have to plot an auxiliary line when the user clicks on the graphic. I know how to get the initial point and the final point of the auxiliar line. But I don´t know how can I plot this line in the same graph.
    Any ideas, sugestions or examples?
    Thank you in advance

    Speaking only for myself, I am not sure about the nature of your request.
    Could you please post some code showing an example of what you can do now and a jpg of what you desire.
    This may help us help you.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Xy graph multi plots

    Hello,
    I have a need to plot a curve on an X-Y graph which is Voltage (Vsd) vs Current (Isd). After the first plot, I need to set another voltage (Vg) to a new level and repeat the plot. I would like to do this without erasing the original plot so I can generate a family of curves. Currently, I am using one trace on the graph which traces to zero at the beginning of the next plot. I need to create an entirely new plot on the graph instead of the original going to zero at the beginning of each plot. I cannot plot all curves at the same time because the voltage (Vg) level will change with each curve. Any suggestions will be appreciated.
    Thanks,
    Mark

    Maybe I misunderstand the question...
    Multiple plots on the XY-graph, means you need to put them in an array.  If you don't have all the graphs at once, then you could simply build the array dynamically.   I.e. you put the array in a shift register, and add elements (measurements) to it as you go.
    See the attached vi for an example.
    Attachments:
    multi-XYgraph.vi ‏11 KB

  • XY graph - multi-plot problem

    Hi,
    I'm experiencing a problem using a multi-plot xy graph. I have to display 2 plots together, and make them appear and disappear many times during the program running.
    But when I close LV and restart it, the second plot (plot1) doesn't appear, and also I lose all the properties I've set for it (name, color,...). If I don't shut down LV everything works well.
    What can I do?

    Stefano Moret wrote:
    When you write about use property nodes, I'm using the "visible" one.
    Your suggestion is to try also to set all the properties from there? Maybe it's a good idea, I'll try.
    Here are some code snippets I used once to initialize the graph and later on change legend entries depending on user selection.
    You can also change the way plots are represented during run time. You always have to start with ActPlot do selct one of the plots.
    Good luck

  • Select plot by mouse in a multi-plot graph

    Hello
    I'm using LV 8.5 and have a question using a waveform graph. I have multiple plots (up to about 300) in this graph and most of them will have approximately the same waveform but some will have a totally different -> the user needs to identify these plots (get the name of it when moving the mouse over it for example).
    Is there a possibility to identify a specific plot in a multiplot graph?
    Thanks a lot for your answer!
    Rico

    Hello and thanks for your answer!
    Unfortunately this solution does not work, I add a picture to show the problem. If the user has to click through all plots (1500...) to get ther right one, he needs really a lot of time!
    Message Edited by Osiris81 on 04-17-2008 09:45 AM
    Attachments:
    plotExample1.jpg ‏263 KB

Maybe you are looking for

  • White MacBook: Why aren't my ports working?

    Hey y'all, I'm using a 2006 White MacBook running on Mac OS X 10.7.5, and the USB ports aren't working. If I restart the laptop, the ports will work for a little little bit and then as soon as it finishes the reboot, they won't work. It's weird. It w

  • Get the duration of all mp3 files inside a directory

    Hello everyone, I am working on a little project done with swing. Since I need an mp3 player inside my swing application, I found a really good solution with JavaFX 2. I have never worked with JavaFX before, therefor it seems to me a little bit stran

  • Using folders in Mail app on iPhone - Synching iPhone and Mac Mail app

    I have a hotmail account and my iMac is set up to recieve that mail to the Mail app. In the Mail app I have organized all the emails I have recieved into different folders but I would like those same folders to show up on my iPhone so that when an em

  • Adding  some more  line  items  in  the  unconfirmed  Transfer Order

    Hi  All,      We do kitting activity at our warehouse i.e. several components make up an assembly of a particular final product. The WH creates a production order(BOM) based on which the system creates TO wherever stock of individual components are a

  • Cost Centre Repostiongs

    Can we make repostings in CO with FI periods being closed. Actually we are reveiwing our Cost Centre postings of the previous six months and in this process we need to make some repostings. We are currently using T code KB11n and KB61 for the same, h