XY graph cursor legend in another VI
Hi,
I have a XY graph on my main VI. On the main VI there is little space for the cursor legend so I would like to move it into a separate frontpanel that can be popped up on demand. I managed to use the graphs reference to get all information about the cursors using the 'cursor list' property. However I would prefer to use the original cursor legend control since it already provides all the features I need. Is there a way to do this without copying all the graph data over to the second VI? I'm using LV8.21
thanks
klaus
Message Edited by KlausS on 06-13-2007 01:43 AM
I'm quite sure it's not possible to split a control over multiple front panels.
Another possibility would be to use the original cursor legend placing it in the least bad position and show/hide it by means of the Cursor Palette Visible property.
You wouldn't be allowed to move it, though.
Paolo
LV 7.0, 7.1, 8.0.1, 2011
Similar Messages
-
Qucik Graph Cursor Legend Questions
Hi all,
I have a couple of quick questions regarding my graph cursor legend:
1. Is it possible to move the position of the cursor legend during runtime? I cannot seem to drag it around the graph?
2. Can I hide/remove the cursor mover? This is not needed and is for this vi as I need to be able to manually drag the cursors only.
I am accessing the cursor legend during runtime through a right-click and selecting "visable items:.
Thanks,
JackHi please check Using Cursor Legend in this link if it is helpful
http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/customizing_graphs_and_charts/
Sorry i don't know exact answer for questions, But did you try property node of Cursor.
-To access it, right click the graph indicator in Black Diagram and go to create>>Property Node>>Cursor.
-Lot of options regarding cursor available there, you can make selected property to write or change the parameter. and check this for help on cursor properties
http://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/cursor_p/
Thanks
uday,
Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
Certified LabVIEW Associate Developer (CLAD) Using LV13 -
[XY Graph]Cursor legend difference between LV 7.1 and 2009
Hi all,
recently I am working on having software done in LV 7.1 renew with 2009.
And I have such problem, that with the old version on cursor legend there were options for cursor to be snapped to plot or free-run etc ( it was possible to do that in runtime) So that user could do that without any code added to handle that. Am I doing something wrong with graph settings ? or that functionality has been removed ? I attach a file with a area of my interests
Regards
PacHOOk
Regards,
PacHOOk
Solved!
Go to Solution.
Attachments:
LV7.1.jpg 9 KB
LV2009.JPG 11 KBI think you will be interested in reading the following thread:
http://forums.ni.com/ni/board/message?board.id=170&thread.id=458099 -
Is there a way to prevent a user from using the graph cursor legend to delete a cursor?
I would like to have 2 cursors on a graph that can't be deleted by the user.
Hi Dennis,
I'm having this problem as well, and found your post. Are you referring to the Enabled State of the entire graph? If so, this prevents the user from moving the cursor at all while the VI is running, which, of course, defeats the purpose of having a cursor at all. Ideally, I would like to show the cursor palette and disable it's run-time shortcut menu. This doesn't appear to be possible. One workaround would be to hide the palle and instead include some indicators that show the cursors' values. I'd prefer to show the palette to keep the program simpler.
Any other solutions?
Thanks,
Alan
Alan Blankman, Technical Product Marketing Manager and LabVIEW Developer
LeCroy Corporation
800-553-2769 x 4412
http://www.lecroy.com
[email protected] -
Event for a change in the cursor legend
Hi!
I need to recognize a change of the cursor properties by the user through the XY-Graph Cursor Legend! (i.e. changing cursor color)
There seems to be no event for that in my event structure (although there is a event for changing the plot properties through the plot legend).
I'm using LV2009SP1.
Greets CtheRI need the recognize any change of the cursor props made by the user. Like that:
Watching the cursor-Property for a change would be no help because there are automatic changes that I do not want to catch.
Something similar to the plot attribute change event in an event structure would be most helpful:
Greets CtheR -
Position Cursor on GRAPH either by dragging it OR entering the dsired position in the Cursor legend
I've written a VI that allows the user to import a dataset, view it on a graph, and then use cursors to "filter" the range of data that I'm interested in, by sending the cursor.index values from the first graph to an array subset function which feeds a second graph. The problem is that I'd like to provide the user the ability to position the cursors on the first graph both visually - by dragging - (for "course" control) AND by entering the desired values directly into the cursor legend (for fine control). The problem is that I cannot find a way to do this, since I have to have the Lock Ring set to “Lock to Plot” in order to capture the index information. According to the documentation, the only way to be able to position the cursors via the Cursor legend is to set the Lock Ring to “Free”, which means the index values are rendered useless, since the cursor is no longer locked to the plot. If I leave the Lock Ring in "Lock to Plot", and enter a value in the cursor legend, it does move the cursor, but not to where it should. If I enter a value an x value of 9.0 for cursor 1, the cursor goes to 10.2638. The next time I enter 9.0, it goes to 9.82794. I don't understand what the issue is. Is there a way around this?
Attachments:
ppv data filter 3.vi 366 KBYes Rudi: What I want is for the operator to place the cursors by dragging them (just eye-balling it). The, if they see that the Y cursor (horizontal) is at 10.234, and they want to make it 10, they could simply enter that value in the cursor legend, and the cursor would be placed exactly at 10. The only way to do this seems to be to select the “Free” option for the cursor. However, in order to use the first graph to set the boundaries of the second graph, I have to use the Cursor Index from the first as an input to the Array Subset that feeds the second graph. In order to use the Cursor Index, the first graph has to have its cursor Lock Rings set to “Lock to Plot”. Am I making this any more understandable, or just rambling?
-
The Captain (Norm Kirchner) told me awhile back how to obtain a reference to the Cursor Legend of a Graph so as to be able to compress it (the cursor legend is a tree control that unexplainably likes to expand at times). Norm, if you are still there or if someone else knows, please provide instructions for all to see. Much obliged as I have searched everywhere in my email and notes and cannot find the correspondence.
Thanks,
DonIf it is indeed impossible to create a reference to the cursor legend tree, then how was I able to do what I did in the attached VI?
(Expand one or both of the cursor trees in the legend and then run the VI.) See the block diagram.
Note that I don't remember how I did it either (which is why I posted this originally). I had notes on this in an email exchange with Norm Kirchner but I think during our change of email clients, it got deleted.
Don
Attachments:
cursor_tree_legend_reference.vi 14 KB -
1) XY Graph cursor shift outside range and 2) cursor strange jumping on index value
Hello,
I have XYGraph and when using cursor along the edges and trying to go “higher” (or lower, more left...) the graph moves (scales are moving). Is possible to ban this behavior to force the cursor to stay in original range?
And one more question
When filling values into cursor legend it sometimes jumps less (talking about X coordinates). Just try example: cursor is set on 89 and fill “11” it jumps on 10 (but value 11 really exists). Strange
Does anybody know solution?
Thanks
Using LV 7.1Message Edited by ceties on 02-14-2006 11:02 AM
LV 2011, Win7
Attachments:
cursor.vi 43 KBHello,
I could see the behavior you described, but cannot think of another way of resolving this other than to programmatically write the scale if it is detected to be beyond the data range. This of course is not ideal, but should work, nonetheless. What you described will make for a great product suggestion. To reach the product suggestion center go to the following link: http://sine.ni.com/apps/utf8/nicc.call_me
As for your other concern, the issue is known one, and will be fixed in a future release of LabVIEW. In the mean time, If you'll zoom in at run-time, or try to retrieve the values at edit time, you'll be able to access these without a problem.
I hope this helps,
AG -
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 -
Hi,
I am having a weird issue with cursors on XY Graph. I am unable to grab the cursor and even when I manually put the X value in the cursor legend, the cursor sometime go to go to that X value. And the issue is very intermittent. The cursors work sometimes without any issue and sometimes I just cant grab and move them.
I have attached the vi here that I am having an issue with. Could anyone take a look at it and let me know if you are also having the same issue as me. See if you are able to move the cursors, snap cursor to different plots and still able to move the cursors.
Thanks,
LVCoder
Solved!
Go to Solution.
Attachments:
XYGraphCursorIssue.vi 50 KBIt looks like you're trying to make the third cursor on the list show the delta between the second and the first, right? i.e. Delta = Cursor1 - Cursor0
If this is what you want, change the ActCrsr index value on the second property node to a value of "2". It is currently "1".
This will set the Delta cursor to the be difference values that are calculated.
What's happening right now is you're subtracting Cursor0 from Cursor1 and then assigning that difference back to Cursor1. If this is done a few times in a row, you end up just dropping Cursor1 to (0,0).
James
LabVIEW Professional 2014 -
On the graph cursor control (the 4 sectioned diamond that appears withthe cursor legend) I'm wondering what the top and bottom diamond do if anything. The left and right ones are simple enough (forward or back one sample) but the top and bottom ones don't seem to do anything from what I can tell. Are they just for decoration?
Solved!
Go to Solution.Dan,
I never noticed that before but you're right, in a multi plot graph the up/down diamonds will attach the cursor to a different plot. I never noticed before because I usually change my cursor style so as to not show the horizontal line (just shows the vertical stripe for the cursor). -
I have troubles understanding how to use cursors on a XY graph. I can create a cursor, snap it to a graph and move it around.
However, as soon as I use another Graph tool (such as zoom, etc), I can't grab the cursor again. The only work around that seems to work is delete the cursor and crete another one.
Any comments?
X.I see. I think I know what the issue is. Currently, the graph tool palette doesn't do the best job of indicating its current selection, or more to point, it doesn't let you know that you currently have no tool selected. After you select a tool, you must deselect it so that you can interact with items such as cursors. If any tool is currently selected, you can not act on a cursor. The fact that the tool palette doesn't visually indicate that no tool is selected is certainly a bug, but the workaround is to just press the same tool selection again to deselect it.
-
XY Graph Cursor Problem in Labview 7.1.1?
Hallo,
I am using Labview 7.1.1 and I am facing one problem with XY graph cursor. If I am moving cursor in one graph, I am expecting same movement in another Graph. But when I move cursor in Graph1, cursor in second graph moves but not to exact X value of Graph1.
Property of Cursor in both graphs must be "Lock to Plot"
If any body knows about this please let me know ASAP. I am attaching example VI for your reference.
Thanks,
Sashi
Attachments:
XY Graph Cursor Problem.vi 101 KBIt's a curious effect. Probably the floating point coordinate is sensitive to the exact pixel alignment (I mean that this would not happen if we had for example 1 pixel per point in the X direction).
Anyway, if you use Cursor Index instead (which is an integer) the behaviour is as expected.
Paolo
Paolo
LV 7.0, 7.1, 8.0.1, 2011 -
Update plot name in the cursor legend
Hi,
I have a XY graph with its cursor legend set as visible. The plot name changes based on the string that I sent to its property node, but I don't know how to update its cursor plot name? Cursor is snapped to the plot, but the cursor plot name did not update. Could anyone please help me?
Thank you
Solved!
Go to Solution.
Attachments:
cursor.PNG 31 KBHere's a hint: I found that if I toggle the Cursor.Cursor Mode from 0 to 1, then the cursor name changes.
"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 -
Cursor legend for waveform chart
Greetings again. Is there a method to turn on the cursor legend in a waveform chart (like in the waveform graphs)? I'd like to allow a user of my application to be able to select a portion of a chart and have the application report the value plotted.
I am acquiring data via the Analog In channels of a PCI-6036e at 1500 Hz to plot in real-time. I tried plotting my data with the waveform graph but it only shows the latest readings and does not scroll the data. I know I could build an array and rotate through it as the data comes in but that seems like a lot more effort just to be able to use the cursor controls to highlight data.
Any ideas? Am I being too brief?
Thanks-
-dennis.Cursors are only avalaible on graphs, not charts. There was a post on this subject yesterday...
See http://forums.ni.com/ni/board/message?board.id=170&message.id=102968&jump=true
CC
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Maybe you are looking for
-
How do I add my own headers to the default set of request headers without using a plug-in?
When I open HTTP Live Headers, I see that there are default request headers that go out from the browser to the server. I want to add a Pragma header with a specific value to be sent. This will help me to remove a plug-in from my arsenal and thereby
-
Not able to scroll thru text longer than text field in Safari
Though long press and drag seems to work in other apps, in Safari, I am not able to scroll within a text field (when there is more text that the field can show at a time) . E.g on google Search box (web page). Any tips?
-
We're in the process of setting up our first PWA site and subsites. We've created several new Enterprise Projects and assigned owners. The owners can navigate to the subsite but they cannot edit their projects, and the option to open the project in
-
I just can't see the point of having the same options in two places! The "Page Setup" tab from the "Print..." menu item has more options, relating to printer features, whereas the "Page Setup" dialogue box is basic and looks to me to be a little 'sho
-
How to read two more tables in smartfroms
Hi experts, I am working in smartforms, i am having sales order no, using this sales order i have get customer name. I am not familar with smart forms. How to put this logic in smartfroms . already i am having vbeln. using vbeln I have go to vbpa