LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

legend and cursors of an XY Graph

Hi! 

I used the invoke node "obttracéàPos" of the XY graph in an event structure " mouse move" but i didn't find how to make the link between the actif plot, where the mouse is positionned, and the plot name !! 

Please can you help me with a clear example of how to manage this using methods and property nodes that you suggested to me.

I searched in forum discussions and made many trials but no correct result!  please find attached my VI below in 14.0 LV version where I made some improvements

Another point please, I want to give a name to each plot, in the legend, so I used property nodes " actif plot" and "plot name" but as they are in a for loop, when running the vi, the legend still floating ( appears and disappears quickly), I didn't find how to correct this and make it stable, especially that I have many cases of  condition structures and for each case , there are specific plot names to display, please how can I handle this

thank you in advance for your help!

0 Kudos
Message 11 of 12
(336 Views)

I still only see a "cursor move" event but not any "Mouse Move" events for your XY graph.

 

The Mouse Move will return a XY position that be used with the Invoke node.

 

I am not allowed to code up examples since I do that for a living.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 12 of 12
(334 Views)