LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph cursors : programmatically see plot attached ?

Solved!
Go to solution

Hi,

 

I have a XY graph on which users can add and move cursors on it. They are single-plot cursors (attached to one plot).

To my application, I need to know for each cursors, on what specific plot it is attached. We can easily see that information on the native LabVIEW display but I cannot find a way to extract this information from properties (see screenshot). It is very frustrating, am I missing something?

 

Actually, I expected to see that in the plot property but always -1 is displayed on it in my case. In fact, -1 means that user can move cursor from one plot to another. If it is forced to a specific plot index, cursor will always move only on this plot. That means, in my case, I can see that my cursors are allowed to switch plots (-1) but I cannot know on which plot it currently is.

 

Thank for your help !

 

LoisLbs_0-1678442883663.png

 

0 Kudos
Message 1 of 2
(538 Views)
Solution
Accepted by topic author LoisLbs

Ok, I found the solution. That was simply that the indication of the plot attached is not in the "cursors list" property but on the "cursor" property (selected with active plot property).

 

 

Sorry for the inconvenience.

0 Kudos
Message 2 of 2
(523 Views)