LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect a user action in the graph palette with an event node?

Solved!
Go to solution

Hello,

 

is it possible to detect an user action in XY-Graph "graph palette" with an event node?

 

Thanks a lot and best regards,

Michael

0 Kudos
Message 1 of 7
(4,223 Views)

Hi Michael,

 

you can detect mouseclicks in the graph palette with the event structure...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(4,209 Views)

Hello GerdW,

 

thanks a lot. I tried it, and it works for the "cursor button" and the "hand button", but not for the "zoom buttons", because here I need two clicks.

 

Do you have any idea how to detect the zoom buttons?

 

Thanks a lot and best regrads,

Michael

0 Kudos
Message 3 of 7
(4,194 Views)

Hi

 

in the event structure, you have an event for the XY graph corresponding to Range change or something (i dont have LV in english).

 

It will catch a zoom, which is basically changing the X and Y range of a graph

Giuliano Franchetto
Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
0 Kudos
Message 4 of 7
(4,185 Views)

Hi,

 

thanks a lot. In German the event is called "Änderung des Skalierungsbereichs". The problem is, that you can only detect the zoom tool, when you click inside the grpah after you have selected a tool.

 

Only the selection itself does not result in an event.

 

Here ist my compelte problem:

I have a front panel with 6 xy-graphs and I want to use the functions of the graph palette. If I choose a tool of one graph palette, I will choose them for all other graphs too. So I need to detect a user action in the graph palette to set the other 5 graph palettes to the same tool.

 

Any ideas?

 

Thanks a lot.

 

Best regards,

Michael

0 Kudos
Message 5 of 7
(4,163 Views)
Solution
Accepted by MichaGue_01

Hi Michael,

 

so you only need one tool palette for all 6 graphs? Make your own one using some (customized) buttons and you're fine...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(4,161 Views)

Hi GerdW,

 

thanks. The idea is so simple.

 

Best regards,

Michael

0 Kudos
Message 7 of 7
(4,155 Views)