Cursor list "snap to plot"-Cleaning

Hi!
When I snap a cursor to a plot the context-menue shows lots of plots that arent actually in the graph anymore.
How can I clean that up?
Greets CtheR

@ABC-Programs,
this looks promising!
What do you think is the best way to clear my plot-list up (programmaticaly) since I can only address the plots one by one and not as a whole?
Wiring an empty array to my xy-graph does not help. And when I remove the plot names the list looks like that:
@Gak : Hmm, this just deletes my cursor ffrom the list...

Similar Messages

  • Urgent ! help ! Pop-up panel invalidates graph cursor to snap to plot point.

    I used PlotXY in the graph control with cursor attribute of '"sanp to point" and produced a plot. Everything is OK before popup a pop-up panel. After the pop-up panel removed, the cursor can't snap to any point of the plot. I tried "SetPlotAttribute (... ATTR_PLOT_SNAPPABLE, 1)","SetPlotAttribute (..., ATTR_PLOT_ZPLANE_POSITION, 0)", they don't work.  I don't know how to solve this problem. I need your help! Thanks!

    You are using an undocumented data structure for the multiplot. (one x,  two y, e.g. as seen here).
    Each plot needs it's own x!
    If you do the following, things work just fine. (same if you use bundle, of course)
    ... and please add a wait to that while loop. It is actually not even needed. Cursors lock even back in edit mode, of course.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    XYLock.png ‏4 KB

  • How can I determine programmat​ically which plot the cursor is snapped to?

    The waveform graph cursor legend shows name of plot currently snapped to (in snap to any plot mode), even as user moves cursor to different plot.  But there is no property to read this plot name!  Active Plot and Plot Name do not update as user drags cursor to different plots.  I'll try to cast the cursor reference to something useful while I wait for a response.

    You cannot move the cursor from one plot to another unless it's single-plot (free and multiplot are the only other choices, and if it's free it doesn't snap, right?) mode AND the plot property is a "-1".  Try it.  I'm using probes and an event case in a while loop (but without a stop button and wait "statement"/primitive ).  That's how I know it's "-1", until I implemented the solution I mentioned above.
    I reproduced your test code (complete with stop button and wait) and got the same results you did, as expected.  The problem with test code is it rarely does anything useful.  Try reproducing my case by putting a case structure in your test code wired to a "free" boolean; in the false case put a "1" wired out to a Cursor.CursorMode property and a "0" wired out to a Cursor.Plot property; in the true case put a "0" wired out to the Cursor.CursorMode prop and a "-1" wired out to the Cursor.Plot prop.  With "free" = False you won't be able to snap to any other plot; with "free" = True Cursor.Plot will, of course be a "-1", no matter where it is, since it is "free".  Bear in mind that I need to give the user the ability to select a plot, click a button, then change that plot's data by clicking and dragging the cursor (the data at the cursor's x coord changes to the the value of the cursor's y coord); when the user clicks the button to change back to the "don't change data, just select a plot" mode, the cursor needs to snap to its current location, which is the last changed data point of the plot that he just changed the data of.  If you can come up with an alternative solution to mine, I'd love to hear/see it!
    But my real point, since I found a viable solution to the immediate problem, is that there is cursor information presented to the user in the cursor list box that I can't get at programmatically!  And this is info I could have used to solve my original problem!  I don't understand why NI wouldn't have made a property for it like they have for other, much less useful, bits of info.

  • How to set cursor property from "snap-to-plot" to free?

    dear all,
    is there any one know how to set a cursor property from "snap-to-plot" to "free"?
    this cursor is in a XY graphy
    i couldn't find coresponding property in the XY graph property node
    thank you
    Jack

    It looks like there are different property names depending on your labview version.
    You need to select the ActCrsr and then use the Cursor.Lockstyle property in LV7.1
    You need to select the ActCrsr and then use the Cursor.CursorMode property in LV8.2.

  • Snapped cursor jumps when new plot added

    I have an XY graph in while i have a "snap to point" cursor on. When I add a new plot to it.. the cursor moves plots.. but I would like it to stay still... if anyone knows.. why would this happen? not to mention.. how would I go about getting it to stay still. I have a attachment of what Im doing, on top is before adding a plot.. then below is when i added the plot.. (i have it set up so it changed the color of the plot when the cursor is snapped to its point, so thats what the color change is.)
    Attachments:
    xygraph19735.gif ‏52 KB

    You may also try either setting the Active Plot Property of the graph to the original plot number before and after adding new data or read the cursor's index position prior to adding the plot and simply resetting it to that position after the data is loaded.
    See the example attached.
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    Cursor.vi ‏50 KB

  • Cursor List Property - error 1077

    Hello
    I'm trying to programatically create cursors in the Waveform Graph. I want to have as many cursors as plots in the graph. See the attached VI. And now the weird thing: when I decrement number of plots, everything is OK - plots are shown, cursors are created. But when I increment them - I get "Error 1077 - Invalid property value." from the Cursor List Property Node.
    So the typical question: is it me or LabVIEW doing it wrong?
    Attachments:
    CursorList.vi ‏29 KB

    Thanks to your reply, TiTou, I've came with another workaround - if you put wait (for example 10 ms) into the sequence struct on my VI's front panel, it works. And this lead me tothe best solution yet - update graph using Value property:
    This leads to interesting conclusion regarding updating controls using terminal or property node. It seems that update through terminal is the quickest method, but it doesnt work immediately - the graph didn't know about the data update right after the cable reached the terminal! When you use Value property node, you can be sure that everything is updated when the flow leave the node.
    Any comments from NI about this?
    Attachments:
    cursors.png ‏39 KB

  • A Cursor List Control for the HomeBoyz

    I wanted a Cursor List Control for use with a Waveform Graph, but I couldn't find one anywhere in the Controls Palette. So during a busy morning of data gathering, I took about an hour to write one by hand. [Since I'm getting to be pretty good at LabVIEW, I reckon I can bill about $250/hr for this stuff, so y'all appreciate your free software.]
    Anyway, a Cursor List is an array of Cursor Property Clusters. The attached "Cursor List.vi" contains both a singleton Cursor Property Cluster and an Array of Cursor Property Clusters; the block diagram shows how to wire this array to the Waveform Graph's Cursor List property node.
    Attachments:
    Cursor_List.vi ‏40 KB

    Dennis,
    I followed your instructions..
    It works..!!!

  • XY graph - Cursor List

    Hi,
    i have a problem with the display of the cursor text. I am using the property node cursor-list to draw the lines including also the text of the cursor. Attached is a screenshot how I build this property. Unfortunately the text is invisible and I have to drag the label to the appropriate position. When I rerun the VI everything is fine and the label is drawn correctly. Now my question: Is there a special order how these properties have to be written?
    Thanks for your response.
    Best Regards,
    Joachim
    Attachments:
    cursor.png ‏6 KB

    Hi,
    the justification of the x shell be most right - the y-position is well - but when I change the x position, it has no influence. When the cursor is align most right I have to use the minus-values to bring it more left. I have attached an example of the problem again.
    Best Regards,
    Joachim
    Attachments:
    cursor_test.vi ‏22 KB

  • How to clear a cursor list without clearing the first row??

    Hi all, good to see ya ...
    I'm having this problem , that i'm using the first row ín a cursor list as a cursor in another graph. The rest of the rows are used as test sets i can add. So  when finnish with the tests if some was set, i have to delete or clear the cursorlist(but only the tests and not the first wich is the pointcursor) byy using the graphs cursor list proberty node ' Crsr.List '  and initialising it as showed in picture 1.
    Picture 2 shows the cursor list with some test and the cursor name (point cursor) and properties at  top. These properties are directly copied to another graph cursor list also at the top and there the point cursor is used as the cursor. The tests are also copied to the other graph cursor list, but when deleting the tests by 'clear button' all data are cleared also the point cursor. That is my problem.
    so the question is, how can i clear a cursor list without clearing the first raw and its proberties. any suggestions would be much help for me.
    Regards
    Zamzam 
    HFZ
    Attachments:
    Cursor Palette Front panel.JPG ‏25 KB
    cursor paletteA.JPG ‏66 KB
    Cursor paletteB.JPG ‏77 KB

    Zamzam
    The cursor list is just an array so you can delete the elements that you don't want.
    David
    Message Edited by David Crawford on 06-15-2006 12:46 PM
    Attachments:
    Delete Cursors.jpg ‏8 KB

  • XY graph cursor won't snap to plot when dragged

    I haven't used XY graphs much and have a need to have several plots on the graph and be able to find the value at points on the plot using cursors.  Everything works fine except that I can't drag the cursor along the plot.  Even though Snap to is on and drag is enabled when I drag the cursor it does not snap to the plot.  When I then use the cursor navigation keys the cursor snaps to the last point point it was on before the drag instead of snapping to the plot during the drag.  I want the user to be able to drag the cursor and have it snap to the plot it is attached to.  Any help would be appreciated.
    I've attached a simple example VI.
     

    Yes, data was an array of clusters, each cluster containing three elements*.
    I agree that it is a bug. That odd "this works" should be maybe be renamed to "this works, sort of....". I probably wouldn't use it.
    *This particular data structure for xy graphs is not documented here! So use at your own risk

  • How to retrieve the position of 2 cursors in the same plot?

    Hi, I have actually 3 different questions.
    1. I would like to know if there is a way to get the cursor positions of two cursors? I want to use these values in another part of the program. I have via the property node of the plot gotten the x-value of one of the cursors, now I need the x-value of the other cursor.
    2. I would like to be able use a control to switch between the x scale of a plot to be logarithmic or normal. Is this possible?
    3. How can build an executable that is not executed when I start the VI? I didn't have problem doing this when I was using version 7.1, but now I don't find the option not to run the VI on startup.
    Any help on any of these problems would be highly appreciated!

    (1) See image for two possible solutions. The bottom solution is useful if you have many cursors and want to get all positions:
    (2) see answer above.
    (3) There is a bug in LabVIEW 8.20 that does not allow to turn off "run when opened" for built applications.
    Message Edited by altenbach on 04-18-2007 11:24 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    GetCursorPositions.png ‏4 KB

  • Why does my cursor continually snap to a screen corner every ten seconds or so?

    My cursor is unstable. Every ten seconds or so it will snap to one of the corners of my screen. Could it be a screen refresh? But hasn't happened while making this request. However does have problem with Newspapers, MS games, Java,Google search

    Does it happen when
    * Firefox is closed, or
    * when it is started in [[safe mode]]?

  • How do I add a vertical cursor to a 2-plot xy graph?

    I have a 2-plot xy graph, and I would like to add a vertical cursor that can be dragged to any x position, and have the 2 y values displayed.  How do I do this?

    OK, my problem is deeper than reading cursor position.  My cursor disappears when the VI is first run, never to appear again.  I have the X-axis set up for absolute time, and I think that might have something to do with it. 
    Attachments:
    CC View Data Graph.zip ‏26 KB

  • Flex Mobile - Sound Effect not Playing on List snapping (code sample provided)

    Hello All,
    I'm trying to figure out how to play a Sound Effect on the trigger of the "changing" event on a List.
    So basically I have:
    <s:List id="theList" width="100%"
                itemRenderer="MyIconItemRenderer" verticalScrollPolicy="off"
                pageScrollingEnabled="true" scrollSnappingMode="center"
                caretChange="playSound(event)"> ... </List>
    So the list above snaps to the item to be centered, though I would like on every snap, for it to make a click sound. I've added the method for playing the sound as:
    private var tickChange:Sound;
    private var soundEffectURLRequest:URLRequest = new URLRequest('/assets/sound/click.mp3');
    protected function playSound(event:IndexChangeEvent):void  {      
         tickChange = new Sound(soundEffectURLRequest);
         tickChange.play();
    The Sound effect plays, though it's not playing at every Snap interval, so if I scroll fast among them, it's not playing, only on the last selection.

    I can´t believe it.. While writing the previous post, I thought on a really simple solution and compiled it to give it a try. It works perfectly!
    As simple as setting the "cacheAsBitmap" property to "true" on the Spark lists of the views!! 

  • Blue Screen with cursor on launch and after clean 10.5 install

    Hello,
    An interesting problem cropped up on my iMac G5 (Ambient Light Sensor). The machine booted normally, apple logo, spinning wheel, etc. However, when it reached the blue screen right before the desktop would normally load the machine would stall, and all that would display would be a cursor, which could be moved around the screen.
    I inserted the DiskWarrior repair CD and was able to navigate my way through the various tools. Menus, windows, all visible. Restarted the computer same problem.
    Inserted the Mac OS X 10.5 DVD, along with the C key, same problem, blue screen.
    Installed a fresh copy of 10.5 from another computer via firewire disk mode (both computers were PowerPC). That worked fine, but upon restart exact same problem except I can hear the mac os x 10.5 theme in the background and eventually a short talk about VoiceOver.
    I've read a few forms online about how the G5 iMacs can be effected by logic board or video card problems that could result in something like what I'm experiencing. However it seems strange that DiskWarrior works just fine. I've tried resetting the NVRAM (through open firmware), PRAM (command-option-p-r) and the SMU.
    Any suggestions to this mystery would be most appreciated. Is it more likely to be a Mac OS X 10.5 problem or a iMac problem?
    Best regards.

    Sorry, I meant to post this in the G5 iMac form - http://discussions.apple.com/thread.jspa?threadID=1981037&stqc=true

Maybe you are looking for

  • How to get Leopard for iPad, iPhone, or other hardware or software upgrade?

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as

  • I can't register for efax on my hp7510.

    When I try to register for efax I get the error message to check my web connectivity. I saw on another post  that the problem was that eprint was turned off.  I checked mine and it was off.  I turned it on and again tried to register.  I got the same

  • A temp table in a stored procedure , set a value to varchar(MAX)

    Hi ,, In stored procedure there is  a temp table and set a value to varchar(MAX) . What exactly is the different between setting it to varchar (MAX) instead of  varchar(n) Thank You Jeevan Vinay

  • Icon spacing problem in 10.4.5

    Can anyone help me with this? I've upgraded to 10.4.5 but I am left with a different icon distribution on my desktop. The icons are now distributed in columns twice as wide apart as they had been previously. I use my desktop as a workspace and I like

  • Lightroom and SyncToy question

    Hi, I use LR 2.2 and Synctoy 2.0 for syncing my Photo folder to external backup drive. Those that use Synctoy should know I use Echo mode = all new files are copied to backup drive, all renames in Photo folder are repeated on backup drive and all del