LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making a cursor always visible on a x y graph

Hello,
 
I have what I'm sure is a very simple to fix problem, but I'm afraid I'm too simple my self to find the answer. I have a VI that makes an iterative calculation and then displays it on a graph. The user then uses a cursor to select an area of the graph to pick a value for further calculations.
 
This works fine but the cursor is not always visible to use for selection as it does not seem to move with the auto scaling. So if the calculation produces values that are significantly different to the previous time the cursor is lost.
 
Does anyone know how to get the cursor to change postion with the auto scale and ideally always appear in the middle of the graph?
 
Many thanks,
 
David
0 Kudos
Message 1 of 4
(2,217 Views)

You use two properties:

First, the graph's Active Cursor property selects the property you want to operate on. The cursors count from the top to bottom, starting with zero.

Second, the Cursor/Cursor Position/All Elements property lets you set the cursor's position.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,212 Views)
I worked it out myself, fixed it using property nodes. Thanks for looking
0 Kudos
Message 3 of 4
(2,210 Views)
Your way is much neater though, sorry I hadn't read your reply when I posted that!
 
0 Kudos
Message 4 of 4
(2,209 Views)