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

Similar Messages

  • 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

  • In a mixed signal graph, how do I read the interpolated Y-Positions for a multiplot Cursor?

    Hi.
    I have a mixed signal graph with a multiplot cursor, I need to read the Y values from all the plots, but the property node Cursor.Pos.Y only returns one value, the non interpolated, how do I get the rest of them? 

    Ok, about the interpolation. I think it does not interpolate anything.
    Plus: the jumping of the cursor seems to be related to the different starting times of the signals.
    I've changed your VI a little, please tell me what you think. I'm very interested.
    Attachments:
    MixedSignal9sp1.vi ‏19 KB
    MixedSignal8.6.vi ‏14 KB

  • Mixed Signal Graph, Selected Cursors, and Cursor Position Problems

    I'm trying to work around an issue with a single multiplot cursor on a mixed-signal graph (doesn't work right, R&D bug report #100830) by grabbing the selected cursor x-position and updating that position across all four cursors, as seen below:
    However, I'm having two problems. 
    One, the selected cursor is not always the actual selected cursor.  Quite often, especially when selecting and dragging cursors 3 & 4 (indexed 2 & 3), the selected cursor shows up as 0 or 1.
    Two, and the one I'm more concerned about, is the fact that the four cursors X-positions never completely line up.  In every case, whichever cursor is deemed to be "selected", the other three will align to some point (the same for all three) that is offset from the actual value.  Please note that the X-values in my demonstration are identical (1000 points from 0.001 to 1) so I don't see this as being some snap issue where the value is offsetting to the closest available on the other arrays.
    I've attached my scratchpad demo.vi as an illustration. 
    Any help or insight is appreciated.
    Thanks,
    Mike Webster
    Attachments:
    demo.vi ‏47 KB

    I believe I found where the issue resides at least and a workaround.  This is a problem with XY graphs in general when trying to programmatically control the cursor position.  Somehow, the software goes looking for the nearest point instead of the identical point and has some sort of issue with its search algorithm.  Switching from attempting to match position to copying the cursor 'index' completely cleared up the problem I was having.  In the particular application I'm working on, the four graphs have identically spaced data on the X-axis, so this solution should work fine for me.

  • 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 signal graph property node for plot groups?

    Hello!
    Is there a property node for the name of the Groups in a mixed signal graph?

    Hello
    as you can see in
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=226983&requireLogin=False
    there is no property for plot groups.
    Thanks,
    Rebecca Fox
    Applications Engineer
    National Instruments

  • Changing time scale for mixed signal graph

    I want to change time scale for mixed signal graph 1 day or  5 day of realities?

    And what exactly are you having problems with? If you want to use a property node, it's Xscale.Maximum.

  • How do I configure the mixed signal graph property node to set the plot names

    I have a mixed signal graph displaying digital and analog data in two groups.
    I would like to programmatically set the names of individual plots i.e. rather that the digital graph displaying 'Digital 0->Line 0'  I would like to set it to 'Signal 1'  in the vi.
    How do I do this?
    Probably via the property node but I cant get this to work without errors?  (i.e. i cant find the right combination of node arguments to set.)
    Also,  I can set the names of the plots of the component waveforms programmatically, but when I bundle the plots together to form the mixed signal graph, the plot names are reset to the mixed signal graph default values. Can this behaviour be turned off?

    What are you doing? You need to select the plot first and then set the name, like this:
    Attachments:
    Mixed Signal Graph_BD.png ‏1 KB

  • Mixed signal graph with mulitple plots

    Hello,
    I am using a mixed signal graph in a DAQ program to display
    the data from multiple channels after I'm done logging.  The data is in a 2-D array and I'm bundling
    it with a x0 and Δx just like a waveform graph. 
    Each row in the array has the data from each channel and I want each one
    to be displayed in a separate plot area. 
    I know I can set each plot to a different y-scale using the properties
    of the graph, or using the plot legend, but I'm using this in a sub vi and
    would like this to happen automatically when it runs.  I'll never have more than four channels so I've
    made four plot areas, but it always just sticks all the data in the first plot
    area.  So how can I set up a property
    node for the mixed signal graph to make this work?  I attached the code I'm using for the bundle and graph.
    Thanks
    Doug
    Solved!
    Go to Solution.
    Attachments:
    mixed signal graph code.png ‏5 KB

    After working at this a little longer I was able to solve the problem.  I just had to figure out which properties to control.  The active plot and the y scale index nodes set each channel to a different plot.   The picture shows how I set up the property nodes.  The blue wire is the number of channels that I was using and the strings are the channel and cursor names.  I know there's probably a better way to do this but I'm not a software engineer, and the guess and check method of programing has worked for me so far.
    Attachments:
    New Picture (5).png ‏26 KB

  • How do I size teh group area oin teh mixed signal graph to fit my signal names?

    I have a simple mixed signal graph and I have programmed my signal names and they are longer than the width of the existing group pane on the object and I want them to be visible.  How can I resize the graph panes after I write the names to the object?  I know I can customize the thing, but is there a method or property that I am missing here?
    Solved!
    Go to Solution.
    Attachments:
    Untitled 1.vi ‏12 KB

    It looks like this is a known problem. You can change the legend size using a property node for waveform graphs and charts, but not for a mixed signal graph.  A good work around would be to mouse-over the grey bar between the legend and the plot area until your cursor changes to the resize tool.  You can then size it to be large enough to show the whole legend.  This is an issue that is set to be resolved in future versions of LabVIEW.
    Applications Engineer
    National Instruments

  • How to change the size of a mixed signal graph programmaticaly and properly ?

    Hello to all
    I'm posting because I can't find a way to do the following thing :
    I want to resize a MixedSignal Graph programmatically using property node which are in read/write mode.
    For XY graph it works nicely using PlotAreaSize (? not sure of translation) (Zone de tracé : taille : hauteur;Zone de tracé : taille : largeur in french).
    For subpanel it works nicely using ContainerBounds (? not sure of translation) (Limites du conteneur : hauteur Limites du conteneur : largeur in french)
    For Mixed signal graph I use PlotAreaSize. It changes perfectly the width according to the change in size but not the height. Apparently the height of the plotArea is changing but not the height of the teminal....
    You have to pan in order to see the whole graph... 
    That is not what i'm expecting, does anybody know a way to change effectively the height of a mixed signal graph ?
    (Please avoid the answer like : "choose an other thing for plotting" thanks )
    Thanks for any help !

    Hello,
    And thank you for posting here.
    Indeed PlotAreaSize does not work as hope.
    You could take a look on this link :
     resize mixed graph
    It is one of way to do what you want.
    Regards Samuel G.
    Samuel G. | Application Engineer Team Leader
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • Again mixed signal graph and Labview 2012

    I have just experienced a weird change in labview 2012 on the mixed signal graphs. In a preliminary analysis, it seems that the most critical behavior is related to the silver mixed signal graph, although i didn't have the time to test the standard one.
    Straight to the point... the property "plot area size" not only resizes the plot area, but also the graph; this is in contrast with what happened previously in LV2011. If the graph belongs to a subpane and if the property "fit control to pane" is enabled, the area resize prevents the graph from correctly fitting the pane. 
    Any suggestion?
    cheers
    m.
    Attachments:
    MixedSignalDisaster.vi ‏13 KB

    I think that since this behavior is a regression (working properly until LabVIEW 2011 SP1) this should be fixed as soon as possible through a specific fix, without waiting for the next Service Pack.
    This regression has been blocking the development of our application.
    Could someone from the NI support give an answer, please?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Mixed signal graph refresh

    im having some problems with refreshing my mixed signal graph.  This was my first try to get this to work. It basicly does what i want after i intitialize the values in the array and press
    the run button. Ever time after it seems the initial values of the dc waves seem to be retained by the graph making its last endypoint the new start point.
    i would like the graph, or the information going to the graph to reset every time i press the run button
    Attachments:
    mixed signal 1.vi ‏401 KB

    Hi xciene,
    In order to reset/clear the graph ever time you run your VI you can use a invoke node for your graph to programmatically call the "Reinitialize to Default Values". To manually reset/clear your graph you can right click it on the front panel and select Data Operations >> Reinitialize to Default Values. However to do it programmatically follow this process:
    Locate your Mixed Signal Graph indicator on your block diagram
    Right click it and navigate to Create >> Invoke Node >> Reinitialize to Defaults (see attached screenshot)
    Place this invoke node in the sequence frame in which you want the graph to reset (if you want it to right away place it in the first frame)
    If you nagivate through these property/invoke nodes for controls and indicators you can find that alot of the items that you do manually can be automated. I hope this helps direct you down the right path. Thanks and have a great day!
    Cheers,
    Jonah
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
    Attachments:
    forum_mixed-signal_reset.JPG ‏81 KB

  • How do I change the number of plot areas in a Mixed Signal Graph

    How do I *programatically* change the number of plot areas in a Mixed  Signal Graph?  I recognize that the developer can choose to add or  remove a plot area during edit mode but I want to select between 2 or 3 visible plot areas and scale the plot areas appropriately.  Is there a property that tells me how many plot areas (or yscales) there are?  I also need a property that I can write to as to set the number of plot areas available.
    Aside from manually making too many plot areas and then hiding the unneeded plot areas how can I do this?
    Jonathan

    Hello,
    I don't think that is possible - I searched the property and invoke nodes but didn't find something to do that.  This would make a great product suggestion though, which you can submit (it goes directly to R&D) by clicking the word feedback in the bottom left corner of the Contact NI page linked below:
    Contact NI:
    http://sine.ni.com/apps/utf8/nicc.call_me
    Best Regards,
    JLS

  • LabVIEW 8.6.1 did not fix glaring Mixed Signal Graph bug :(

    I'm pretty dissapointed that NI has JUST NOW released 8.6.1 (more than 6-months after releasing the buggiest LabVIEW version, ever).  The Mixed Signal Graph bug still exists and is very annoying.  The visual bug occures when you add more than 1 plot on a mixed signal graph and then try to resize the legend.  The Y-Axis labels do not move appropriatly.  You really can't resize the legend with this bug.
    Where can I find a list of known bugs in LabVIEW and verify that this is in that list?  How can I add weight to this bug report so that NI will address it for the LabVIEW release?  How can I express to NI that I don't want LabVIEW 9 until they can fix all the problems in v8?

    LV_Pro wrote:
    One way might be to get in on the LabVIEW 2009 Beta, see if it fixes the problem, if not, report it while there may still be time to fix it.
    Not sure about the "buggiest version",  v2.5 had its share. Had to save your work every 1/2 hr. or risk loosing everything when you got the almost guaranteed "insane error" which always seemed to occure when you had done the most editing since your last save.
    Message Edited by LV_Pro on 02-10-2009 09:07 PM
    The OP obviously never had to work withLabVIEW versions prior to 5.1. 
    And while 8.6 had a few nagging bugs including visual ones it is actually quite stable and good. No comparison with 8.0 for instance or even 8.0.1
    Nickerbocker wrote:
    I'm pretty dissapointed that NI
    has JUST NOW released 8.6.1 (more than 6-months after releasing the
    buggiest LabVIEW version, ever).  The Mixed Signal Graph bug still
    exists and is very annoying.  The visual bug occures when you add more
    than 1 plot on a mixed signal graph and then try to resize the legend. 
    The Y-Axis labels do not move appropriatly.  You really can't resize
    the legend with this bug.
    Where can I find a list of
    known bugs in LabVIEW and verify that this is in that list?  How can I
    add weight to this bug report so that NI will address it for the
    LabVIEW release?  How can I express to NI that I don't want LabVIEW 9
    until they can fix all the problems in v8?
    You just did! But unless you are a site with several 1000 LabVIEW licenses you will not outweigth those other customers who do have that many licenses and do want more features as soon as possible rather than an annoying graph display bug getting fixed.
    Rolf Kalbermatter
    Message Edited by rolfk on 02-11-2009 10:02 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for